easy solution for deprecated code

Discussion in 'iOS Programming' started by jo0, Feb 24, 2010.

  1. jo0 macrumors regular

    Nov 25, 2009
    Seattle, WA
    starting to run across deprecated strings in some of my projects. they are only showing as warnings now but in prep for needing to rewrite them does anyone have any experience or tips/resources that could help me make it a smooth ride?

    i only recently started my dev stuff and only have one app in the app store currently, but i have more projects in the works.


  2. skunkworker macrumors regular

    Sep 9, 2007
    Well post some code, as we have no idea what you are referring to right now. Normally you should try to avoid using deprecated methods wherever possible, except for the times where you are compiling for multiple versions of the OS.
  3. Troglodyte macrumors member

    Jul 2, 2009
    Most deprecated methods have replacements but if you need to support earlier OS versions you usually can't use them. If that's the case ignore the messages, otherwise update the code to use the newer methods.

Share This Page