Re: Best way to have KVC-compliant enum property in Swift 2?
Re: Best way to have KVC-compliant enum property in Swift 2?
- Subject: Re: Best way to have KVC-compliant enum property in Swift 2?
- From: Charles Srstka <email@hidden>
- Date: Tue, 28 Jul 2015 21:02:24 -0500
> On Jul 28, 2015, at 8:57 PM, Charles Srstka <email@hidden> wrote:
>
> func valueForKey(key: String) -> AnyObject? {
>
> func setValue(value: AnyObject?, forKey key: String) {
D’oh — I forgot to put “override” in front of these. Old Objective-C habits die hard. Sorry about that.
Charles
_______________________________________________
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