Re: Swift enums and NSNotificationCenter
Re: Swift enums and NSNotificationCenter
- Subject: Re: Swift enums and NSNotificationCenter
- From: Marco S Hyman <email@hidden>
- Date: Thu, 06 Aug 2015 10:57:48 -0700
> On Aug 6, 2015, at 10:38 AM, Rick Mann <email@hidden> wrote:
>
> I guess. But we need some kind of extensible way of defining a set of valid selectors, ideally with optional string conformance and raw values (but not required to be strings).
Maybe. Sounds like you want to use all of the familiar Objective-C patterns in Swift. Not all patterns translate to a strongly typed language. That may be a good thing.
If you are thinking in terms of selectors you might not be thinking in Swift. Try searching for the term selector in “The Swift Programming Language” :)
_______________________________________________
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