mattconnolly / ZipArchive

zip archive processing for Cocoa - iPhone and OS X
http://code.google.com/p/ziparchive/
MIT License
840 stars 260 forks source link

NSCalendar Error iOS 7-8 #56

Closed ghost closed 3 years ago

ghost commented 9 years ago

There's a problem with the library on iOS 8 as some new values and interfaces were introduced like:

iOS 7: NSCalendarIdentifierGregorian iOS 8: NSGregorianCalendar

As I see from this commit, you were using the iOS 8 one and now it's the iOS 7 value https://github.com/mattconnolly/ZipArchive/commit/d9736bd01a50761f2265f9e1a600c17ea37a7cd2

I guess you should use something like this http://stackoverflow.com/questions/25626823/how-to-support-nscalendar-with-both-ios-7-and-8