Created
February 9, 2018 20:17
-
-
Save MathVasc/050650c4c898446782e639e28b3fd088 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static func setSpotLightIndexes(){ | |
let items = DAOItem.sharedInstance.fetchItems() | |
var searchableItems = [CSSearchableItem]() | |
// deletando todos os itens | |
CSSearchableIndex.default().deleteAllSearchableItems { (error) in | |
guard error == nil else { | |
print(error!.localizedDescription) | |
return | |
} | |
//. | |
//. | |
//. | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment