• 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
nonatomic vs atomic assign/retain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nonatomic vs atomic assign/retain


  • Subject: nonatomic vs atomic assign/retain
  • From: Torsten Curdt <email@hidden>
  • Date: Tue, 06 Sep 2011 17:30:51 +0200

On iOS properties are usually (unless required otherwise) defined as nonatomic

 @property (nonatomic, assign)

On the Mac I have seen quite often just an "assign" or "retain" which
AFAIK defaults to "atomic"

 @property (assign)

So what should one use e.g. for normal IBOutlets with AppKit?
I would think "nonatomic" should be good enough on Mac, too. No?

cheers,
Torsten
_______________________________________________

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

  • Follow-Ups:
    • Re: nonatomic vs atomic assign/retain
      • From: Richard Somers <email@hidden>
    • Re: nonatomic vs atomic assign/retain
      • From: Thomas Davie <email@hidden>
  • Prev by Date: Re: Long delay of NSPopUpButton first click
  • Next by Date: Re: nonatomic vs atomic assign/retain
  • Previous by thread: NSDatePickerCell in TableView/OutlineView
  • Next by thread: Re: nonatomic vs atomic assign/retain
  • Index(es):
    • Date
    • Thread