Re: [swift-evolution] [Accepted] SE-0064: Referencing the Objective-C selector of property getters and setters

2016-04-18 Thread Douglas Gregor via swift-evolution
Sent from my iPhone On Apr 18, 2016, at 4:11 PM, Robert Schwalbe via swift-evolution wrote: >> Hello Robert, >> >> My comment below: >> >>> Per my reading of SE-0022, would SE-0064 institute the first exception to >>> the #selector expression where the

Re: [swift-evolution] [Accepted] SE-0064: Referencing the Objective-C selector of property getters and setters

2016-04-18 Thread Robert Schwalbe via swift-evolution
> Hello Robert, > > My comment below: > >> Per my reading of SE-0022, would SE-0064 institute the first exception to >> the #selector expression where the expression is not a reference to a method? > > Indeed. But I don’t see the issue. It still generates a selector for an > Objective-C

Re: [swift-evolution] [Accepted] SE-0064: Referencing the Objective-C selector of property getters and setters

2016-04-15 Thread Jacob Bandes-Storch via swift-evolution
http://apple.github.io/swift-internals/api-design-guidelines/ It's a matter of interpretation, but: "Prefer method and function names that make use sites form grammatical English phrases." Maybe I'm missing something, but I can't figure out how to read #selector(setter: Person.name). My

Re: [swift-evolution] [Accepted] SE-0064: Referencing the Objective-C selector of property getters and setters

2016-04-15 Thread David Hart via swift-evolution
Why? What guideline are you referencing? > On 15 Apr 2016, at 09:53, Jacob Bandes-Storch via swift-evolution > wrote: > > Was the syntax fully bikeshedded by the core team before acceptance? Perusing > the API guidelines, one could also imagine: > >

Re: [swift-evolution] [Accepted] SE-0064: Referencing the Objective-C selector of property getters and setters

2016-04-15 Thread Jacob Bandes-Storch via swift-evolution
Was the syntax fully bikeshedded by the core team before acceptance? Perusing the API guidelines, one could also imagine: #selector(setting: Person.name) #selector(forSetting: Person.name) On Thu, Apr 14, 2016 at 3:58 PM, Douglas Gregor via swift-evolution < swift-evolution@swift.org>

[swift-evolution] [Accepted] SE-0064: Referencing the Objective-C selector of property getters and setters

2016-04-14 Thread Douglas Gregor via swift-evolution
Proposal link: https://github.com/apple/swift-evolution/blob/master/proposals/0064-property-selectors.md Hello Swift Community, The review of SE-0064 "Referencing the Objective-C selector of property getters and setters” ran from April 7...12, 2016. The proposal is accepted. Feedback was