Project: titanium
Issue TIMOB-20015: iOS: Improve deprecation macros
The macros for deprecating an API are misleading and need to be unified: {code} #define DEPRECATED_REPLACED(api,in,newapi) \ DebugLog(@"[WARN] Ti%@.%@ DEPRECATED in %@, in favor of %@.",@"tanium",api,in,newapi); {code} This macro expects {{DEPRECATED_REPLACED(@"Calendar.requestAuthorization", @"5.1.0", @"Titanium.Calendar.requestContactsPermissions");}} Note, that the Titanium prefix is added by the macro in the deprecated API, but needs to be added manually in the replaced API. The approach is to clean this up and unify all usages, so that we call {{DEPRECATED_REPLACED(@"Calendar.requestAuthorization", @"5.1.0", @"Titanium.Calendar.requestContactsPermissions");}} which generated a proper Ti-prefixed warning for all API's.
Story points: 5