Closed rromanchuk closed 9 years ago
@michaelarmstrong SuperRecord doesn't compile with SDK 8.2.
Swift 1.2 will be released with SDK 8.3 so I think you should revert master and support Swift 1.2 in another branch.
Sorry, bad pull request, i meant to merge this into a topic branch for swift 1.2 as @PGLongo mentioned
ah crap... PGLongo, you're now contributor. Please could you go ahead and revert (i'm at work now).
mind you, looking at the code, it looks very backwards compatible, as its just some casts and explicitness. Does it not work in todays Xcode?
@rromanchuk I have reverted the master. Can you make another PR to this branch feature/Swift1.2 ?
@michaelarmstrong Failable casts (as!
operator) is a Swift 1.2 only thing. For better compatibility, we can use (result as? NSManagedObject)!
pattern.
Compiles, and confirmed tests are passing