The Apple App store rejected my first binary. Their reason: “We were unable to locate some of the features described in your marketing materials or release notes. Specifically: Search.”
As you can see from the screen shot in the previous post, the Favorite section of my app did have a Search bar, but the Feed section didn’t.
I added the missing search bar to another section as it was described in AppCoda’s book “Beginning iOS 8 Programming with Swift“. The book explains how to filter Core Data. Since Feed table loads iCloud data, I modified the filterContentForSearchText function:
func filterContentForSearchText(searchText: String) { let resultPredicate = NSPredicate(format: "name contains[cd] %@", searchText) searchResults = restaurants.filter { resultPredicate.evaluateWithObject($0)} }
I also added sharing via Facebook, Twitter, e-mail and MMS, that I learned from AppCoda’s second book “Intermediate iOS Programming with Swift.
The new version 1.1 has been submitted on June 30th.