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 > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 05-02-2011, 02:15 PM   #1 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 76
ae262 is on a distinguished road
Default asynchronous programming

I am working on a fairly simple game app in which I need to change views sometimes based on user input and sometime based on time (NSTimer or NSRunLoop to delay certain events). The logic part for each of these works great separately but I am having trouble in figuring out how to integrate these.

I am a newbie to objective C and game development so don't know whats the best way to handle this - after searching on internet, I came across threading or NSOperations and these may help me.

Are there an easy examples out there that explain these concepts?

Thanks.
ae262 is offline   Reply With Quote
Old 05-03-2011, 04:18 AM   #2 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
dany_dev is on a distinguished road
Default

NSTimer looks good, what's the problem using that.

And moreover, if you are a newbie (infact your question doesn't look so.....smart), why you posted in "Advanced Discussions"?
__________________
dany_dev is offline   Reply With Quote
Old 10-20-2011, 10:35 PM   #3 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 113
jonusx is on a distinguished road
Default

I'm not sure exactly what you're trying to do but if you're thinking of doing any asynchronous tasks, read up on grand central dispatch and blocks
__________________
What do you have to share? Share and view pics Oneshare

Play Magic: The Gathering? Try The Sylvan Archives!

Warhammer 40k your thing? W40k Manager is your thing.

Like karaoke? Try iSing Karaoke Locator
jonusx is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 377
17 members and 360 guests
AyClass, baja_yu, checkright, dre, epaga, fvisticot, givensur, jPuzzle, Meoz, momolgtm, Newbie123, Punkjumper, revg, sacha1996, skrew88, tomtom100
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,642
Threads: 94,110
Posts: 402,858
Top Poster: BrianSlick (7,990)
Welcome to our newest member, pinacate
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:35 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0