Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24717] iOS: Resolve iOS 8 deprecations for NSDayCalendarUnit

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-06-26T12:57:15.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.2.0
ComponentsiOS
Labelsqe-6.2.0
ReporterVijay Singh
AssigneeVijay Singh
Created2017-05-23T05:05:03.000+0000
Updated2017-06-26T15:02:31.000+0000

Description

In SDK 6.0.0, we updated the default minimum iOS target to 8.0 as a result of the Xcode 8.x version that is now supported. Doing that, our iOS SDK core shows some deprecation-warnings regarding API's that should be replaced in iOS 8 and later. Replace NSDayCalendarUnit with NSCalendarUnitDay etc. (search and replace, easy ones) This is subset of ticket TIMOB-24335.

Comments

  1. Vijay Singh 2017-05-23

    PR: https://github.com/appcelerator/titanium_mobile/pull/9075
  2. Harry Bryant 2017-06-26

    Verified as fixed, ran test cases provided by documentation against Ti SDK 6.1.0.GA & Master, against iOS 8/9/10. Tested On: iPhone 7 10.3.2 Device & Simulator iPhone 6S 9.3 / 8.1 Simulators Mac OS Sierra (10.12.5) Ti SDK: 6.2.0.v20170626070527 Appc NPM: 4.2.9 App CLI: 6.2.2 Xcode 8.3.3 Node v4.6.0 *Closing ticket.*

JSON Source