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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Draw This
($0.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-20-2009, 08:34 AM   #251 (permalink)
jdandrea
Registered Member
 
Join Date: May 2009
Posts: 78
jdandrea is on a distinguished road
Default

Quote:
Originally Posted by bigbad View Post
Now this is a stupid question no-doubt, but what is the advantage of having the IBOutlet (with the @property instead)?
Not stupid at all!

Apple now recommends placing the IBOutlet tag on the property declaration vs. the instance variable (ivar).

The Objective-C 2.0 Programming Language: Declared Properties

As I understand it, once we get to 64-bit land, variable storage is created at run-time vs. being set up at compile-time. That means those ivars can eventually go bye-bye! Apple may be advocating IBOutlet on property declarations now in anticipation of that. (Intrepid readers: Please confirm if I'm on the right track here!)
jdandrea is offline   Reply With Quote
 

» Advertisements
» Online Users: 590
16 members and 574 guests
alainewy75, Bryan1, Domele, Dump3, fgreg2692han, Hamad, HowEver, iamwayne5, iAppDev, mavisww22, nguyenhieu129, nt.hai, Rudy, Rynow, ThistleCoast, wildvlad
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 174,549
Threads: 93,727
Posts: 401,266
Top Poster: BrianSlick (7,954)
Welcome to our newest member, fgreg2692han
Powered by vBadvanced CMPS v3.1.0

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