Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 01-23-2010, 10:39 AM   #6 (permalink)
BrianSlick
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,978
BrianSlick has a spectacular aura about
Default

Whenever you are informed of a deprecated method, search the documentation for that method and see what it tells you. In this particular case, I didn't find the deprecated notice for this one, but did find these methods:

stringWithContentsOfFile:encoding:error:
stringWithContentsOfFile:usedEncoding:error:

For the first one, the documentation states: If the file can’t be opened or there is an encoding error, returns nil.


There is nothing about a warning that will automatically stop you from submitting to the store. HOWEVER, there are a variety of reasons that you should address all warnings and errors before submitting your app, including:
1) Warning indicates that you are using a private method, which these days is a cause for rejection
2) Warning indicates an incorrect method name, which will crash if that portion of code is run
3) Deprecated warning should work right now, but may stop working at some point in the future. We don't yet know how aggressive Apple will be with removing stuff from the iPhone OS.

There are a variety of harmless warnings, too, but in general, fix them all.
__________________
BriTer Ideas LLC - Code review, consulting, development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
 

» Advertisements
» Online Users: 466
16 members and 450 guests
chemistry, David-T, Duncan C, Free App Monster, G-Power, Hassasin, iconomania, jimmyon122, LooN3y, mediaspree, n00b, Objective Zero, Punkjumper, raheel, stanny, yomo710
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,436
Threads: 94,026
Posts: 402,591
Top Poster: BrianSlick (7,978)
Welcome to our newest member, ElensYang47
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:25 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.