michaelarmstrong / SuperRecord

A small set of utilities to make working with CoreData and Swift a bit easier.
MIT License
366 stars 27 forks source link

Swift 1.2 #34

Closed adamwaite closed 9 years ago

adamwaite commented 9 years ago

SuperRecord doesn't want to compile with the changes in Swift 1.2.

The major issue is the introduction of the failable cast as! over as, and there are some minor issues with optionality in CoreData and UIKit, and a few type checking issues too. I have to ship something before weekend, so I'll be working on this. Have you started any work on it yet? Or shall I just get stuck into it?

Thanks

screen shot 2015-04-15 at 09 12 48

michaelarmstrong commented 9 years ago

SuperRecord 1.3 (released on the day of Swift 1.2 launch) should work with Swift 1.2, i'm using it in a project myself. Can you confirm you're on the latest version?

PGLongo commented 9 years ago

@adamwaite try to clean you DerivedData folder and then build the project again.

PGLongo commented 9 years ago

@adamwaite I have just updated the version on CocoaPods, can you try again with the new version?

Thanks

adamwaite commented 9 years ago

New Cocoapods version works fine. Thanks!

PGLongo commented 9 years ago

Perfect! Thanks to you