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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 12-23-2008, 02:06 PM   #3 (permalink)
PhoneyDeveloper
New Member
 
Join Date: Sep 2008
Posts: 1,431
Default

Jeff,

Outlets are retained by default. If you have retain properties for outlets then they are retained and must be released. If you don't have any properties for outlets then they are retained and must be released. If you have assign properties for outlets then they are not retained.

There is a secondary issue related to memory warnings that makes this all more complicated. In short outlets should be released when a memory warning is received, but this is somewhat complicated due to deficiencies in the UIViewController implementation.

See this thread:

Cocoabuilder - Outlets / IBOutlet declarations (was Re: Interface Builder & Wiring Objects)
PhoneyDeveloper is offline   Reply With Quote
 

» Advertisements
» Online Users: 719
21 members and 698 guests
annchavez78, at0m87, biskwit, chiataytuday, Domele, gurumoorthy, HerbertMIbarra, Ideleteduplicatesini, ilmman, kaileymo123, Macaret, manojb, mapiko, MozyMac, MSJJ, nidie, nik's, ratheesh, s kumar, sacha1996, saqibjaan
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,817
Threads: 89,206
Posts: 380,632
Top Poster: BrianSlick (7,129)
Welcome to our newest member, Ideleteduplicatesini
Powered by vBadvanced CMPS v3.1.0

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