purelyswift / facebook_messenger

Walkthrough for building Facebook Messenger
2 stars 3 forks source link

Generic parameter 'ResultType' could not be inferred (Swift 3) #1

Open Casuallynoted opened 8 years ago

Casuallynoted commented 8 years ago

Hello!

I'm attempting to open the project in Swift 3, but it is giving me a number of the same errors, along with "Nil cannot initialize specified type 'NSFetchedResultsController?'

Is there any way I can get this running in Swift 3 or should I stick with 2.2?

purelyswift commented 8 years ago

You should stick with Swift 2.2 for the time being. Swift 3 comes out probably September/October, and even then it will be compatible with Swift 2.3 for a while. Otherwise you should just downcast whatever variables you need.