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 07-01-2009, 12:26 PM   #9 (permalink)
Kalimba
Pro. Game Developer
iPhone Dev SDK Supporter
 
Join Date: Feb 2009
Location: żLa Islas Hermosas?
Posts: 2,176
Kalimba is on a distinguished road
Default

Quote:
Originally Posted by farhadf View Post
What would happen in the second case? Would it get a retain count of 2 upon assignment, then get stuck with a count of 1 afterward the dealloc?
Quote:
Originally Posted by RLScott View Post
You've got it exactly right!
Quote:
Originally Posted by jsd View Post
No he doesn't. Back to Cocoa memory management school for both of you!
Hmm... I believe the "second case" is the one quoted below, so unless I'm missing something, I think the "you've got it exactly right" assessment is indeed correct.

Quote:
Originally Posted by farhadf View Post
Code:
self.navigationController = [[UINavigationController alloc] initWithRootViewController:rootViewController];
__________________
~~ Word Flurry ~~ App Store / Website / Facebook
Kalimba is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,639
Threads: 94,102
Posts: 402,830
Top Poster: BrianSlick (7,990)
Welcome to our newest member, sCarlRodriguezj
Powered by vBadvanced CMPS v3.1.0

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