Re: [swift-evolution] Two-for-Tuesday: Resettable Properties

2016-03-15 Thread Patterson, Jason via swift-evolution
15, 2016 at 12:01 PM, Félix Cloutier wrote: > Resettable properties are one of the use cases for property behaviors There > was still dissent the last time it was brought to review, so a new version > is expected in the Swift 3 window. > > Félix > > Le 15 mars 2016 à 09:49:21

[swift-evolution] Two-for-Tuesday: Resettable Properties

2016-03-15 Thread Patterson, Jason via swift-evolution
Hi all, Recently I noticed how `null_resettable` Objective-C properties were imported into Swift. To recap, a `null_resettable` property in Objective-C indicates that the getter returns a nonnull value, while the setter is nullable: > @property (nonatomic, nonnull, null_resettable) NSString *name