iOS Core SpotLight in iOS Core-Spotlight

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

Objective-C

  1. Create a new iOS project and add CoreSpotlight and MobileCoreServices framework to your project. enter image description here

  2. Create the actual CSSearchableItem and associating the uniqueIdentifier, domainIdentifier and the attributeSet. Finally index the CSSearchableItem using [[CSSearchableIndex defaultSearchableIndex]...] as show below. enter image description here

  3. OK!Test the index!
    enter image description here



Got any iOS Question?