• 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
Nullability Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nullability Question


  • Subject: Nullability Question
  • From: Dave <email@hidden>
  • Date: Mon, 11 Jan 2016 16:04:48 +0000

Hi,

I’ve noticed there are two forms to specify nullability on properties, is one preferred syntax over the other?

@property (nonatomic,copy)          NSString* _Nullable			propA;

@property(readonly,nullable) NSString*					propB;

Thanks
Dave


_______________________________________________

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: Nullability Question
      • From: Seth Willits <email@hidden>
  • Prev by Date: Re: Subclassing/Override question
  • Next by Date: Re: Panes vs. Separate Windows
  • Previous by thread: Re: enum as String
  • Next by thread: Re: Nullability Question
  • Index(es):
    • Date
    • Thread