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, 06:44 AM   #5 (permalink)
superstec
Registered Member
 
Join Date: Jan 2010
Posts: 11
superstec is on a distinguished road
Default

Hey guys, Thanks a million for the quick replies. I was clearly bleary eyed at 4am last night.
Thanks for pointing out those 2 mistakes. One of those things the longer you look at it the less you notice!

One warning appears when i run it now, saying that the stringWithContentsOfFile is deprecated

I know it refers to
Code:
	NSString *fileContents = [NSString stringWithContentsOfFile:quotesFile];
I have tried to fix it as recomended by the following line from other users.
Code:
[NSString stringWithContentsOfFile:fullpath encoding:NSUTF8StringEncoding error:nil];
This however then doesn't actually fill the array with the data.

Can i just run the program with the warning without a problem or is there a bigger picture?
On a side not can you submit your app to apple with this or any warnings?

Again Help is greatly appreciated
superstec is offline   Reply With Quote
 

» Advertisements
» Online Users: 427
12 members and 415 guests
chemistry, David-T, Duncan C, ElensYang47, Free App Monster, Hassasin, iconomania, jimmyon122, LooN3y, n00b, Objective Zero, Punkjumper
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,436
Threads: 94,026
Posts: 402,590
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:21 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.