Hi ! ^ ^
Is there any way to where 'deprecated code' is coded in project?
I want to fix deprecated method, so I want to know how many deprecated methosd are used in the project.
But manually finding out it dose take a time.
Any easy way plz ?
😉
Hi ! ^ ^
Is there any way to where 'deprecated code' is coded in project?
I want to fix deprecated method, so I want to know how many deprecated methosd are used in the project.
But manually finding out it dose take a time.
Any easy way plz ?
😉
Deprecations will generally be marked with a yellow triangle containing an !
The only way to know how many there are is to go through your code and
fix each method one by one. The warning count will include actual warnings
about code issues as well as deprecation issues so it can't be used to determine
the count.
Deprecations will generally be marked with a yellow triangle containing an !
The only way to know how many there are is to go through your code and
fix each method one by one. The warning count will include actual warnings
about code issues as well as deprecation issues so it can't be used to determine
the count.
Deprecation warnings only show up if the deployment target is higher than the version in which the API was deprecated. So you could set your deployment target temporarily to the latest & greatest iOS version, and all deprecations to date should show up as compiler warnings. You can then set it back to some earlier version if you like after you have verified that you're handling all the deprecations the best way you can.