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 03-06-2009, 11:25 PM   #14 (permalink)
speasley
New Member
 
Join Date: Mar 2009
Location: Calgary, Alberta, Canada
Posts: 24
speasley is on a distinguished road
Default

It's actually not in the middle of my code. I was showing the error message with the relevant lines of code. I should have formatted it better.

Error: syntax error before ']' token:
Code:
UIAccelerometer *accel = [[UIAccelerometer sharedAccelerometer]];
accel.delegate = self;
accel.updateInterval = 1.0f/60.0f;
Error: 'didReceiveMemoryWarning' undeclared (first use in this function)
Code:
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning]; // Releases the view if it doesn't have a superview
    // Release anything that's not essential, such as cached data
}
Error: syntax error before '{' token:
Code:
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning]; // Releases the view if it doesn't have a superview
    // Release anything that's not essential, such as cached data
}
I'm starting to think this thread isn't a good tutorial for me right now. The posted code contains typos and being a noob, I'm getting thrown off by it pretty easily.
speasley is offline   Reply With Quote
 

» Advertisements
» Online Users: 436
19 members and 417 guests
7twenty7, baja_yu, buggen, Byfone, ChrisYates, foany, haisergeant, hussain1982, jbro, mer10, mraalex, n00b, PavelMik, QuantumDoja, rraagg, ryantcb, sadevb61, TheStalker, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,635
Threads: 94,096
Posts: 402,802
Top Poster: BrianSlick (7,990)
Welcome to our newest member, sadevb61
Powered by vBadvanced CMPS v3.1.0

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