• 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
Which thing should be an IBOutlet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Which thing should be an IBOutlet?


  • Subject: Which thing should be an IBOutlet?
  • From: Steve Mills <email@hidden>
  • Date: Tue, 11 Dec 2012 15:44:16 -0600

Which should be the IBOutlet for connecting a control in a nib to its owner class? The instance variable:

@interface Blah
{
	IBOutlet Thing* thing;
}

@property (assign) Thing* thing;
@end

Or the property:

@interface Blah
{
	Thing* thing;
}

@property (assign) IBOutlet Thing* thing;
@end

Or both:

@interface Blah
{
	IBOutlet Thing* thing;
}

@property (assign) IBOutlet Thing* thing;
@end

I've seen examples of the first two.

--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Which thing should be an IBOutlet?
      • From: Chris Hanson <email@hidden>
    • Re: Which thing should be an IBOutlet?
      • From: Geoffrey Goutallier <email@hidden>
    • Re: Which thing should be an IBOutlet?
      • From: Tom Davie <email@hidden>
    • Re: Which thing should be an IBOutlet?
      • From: Christiaan Hofman <email@hidden>
  • Prev by Date: Re: Link Fails
  • Next by Date: Symbols Hidden by Default
  • Previous by thread: Re: Link Fails
  • Next by thread: Re: Which thing should be an IBOutlet?
  • Index(es):
    • Date
    • Thread