[TIMOB-4907] Deprecate redundant functions in iOS Ti.Network
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-12-09T13:41:46.000+0000 |
Affected Version/s | Release 1.7.2 |
Fix Version/s | Sprint 2011-36, Release 1.8.0 |
Components | iOS |
Labels | deprecated-1.8.0, events, network, parity |
Reporter | Stephen Tramer |
Assignee | Stephen Tramer |
Created | 2011-08-05T13:29:33.000+0000 |
Updated | 2011-12-09T13:41:46.000+0000 |
Description
We need to deprecate the following functions on Ti.Network:
- addConnectivityListener
- removeConnectivityListener
These are aliases for add/removeEventListener('change',...)
Deprecation should probably be done via a DEPRECATE(in,removed) macro, where 'in' is a string representing a version number the function is deprecated in, and 'removed' indicating the version in which it will be removed. This function will log a warning of some type, although we may want to take other action as well.
Resolved. Tested On: Mac OSX Lion TiMob: 1.8.0.v20110906155354 TiStud: 1.0.5.201109091616 Devices Used: iPhone Simulator 4.3 iPhone4 version 4.2.10 iPod3 version 4.0.2
Reopened to modify labels for deprecation/remove tbs