• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using Properties at Outlets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Properties at Outlets


  • Subject: Re: Using Properties at Outlets
  • From: Randall Meadows <email@hidden>
  • Date: Mon, 14 Apr 2008 09:39:58 -0600

On Apr 13, 2008, at 10:46 PM, Steve Sheets wrote:
Has anyone had any problems with creating Properties with Objective- C 2.0 that are also Outlets?

I been using this inside my code, and I want to be sure there is no problems with this. I create fairly standard (readonly) and (readwrite, copy) properties using ivars, @property and @synthesize. I place IBOutlet in front of the ivar like thus:

[snip]

The documentation does not explicitly say you can do this. I just want to know if anyone has seen an issue?

I just completed a rewrite of a program for a client, and made copious use of properties as IBOutlets. I did not see any problems at all.


Well, except for that method I wrote that looked *exactly* like a setter, but wasn't; but that was a PEBCAK...and a doozy to debug.

randy
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Using Properties at Outlets (From: Steve Sheets <email@hidden>)

  • Prev by Date: Re: "hooking" into another app
  • Next by Date: Re: EXC_BAD_ACCESS when calling CGContextDrawLayerInRect
  • Previous by thread: Re: Using Properties at Outlets
  • Next by thread: Re: Using Properties at Outlets
  • Index(es):
    • Date
    • Thread