Re: Overriding custom KVC methods in Swift?
Re: Overriding custom KVC methods in Swift?
- Subject: Re: Overriding custom KVC methods in Swift?
- From: Quincey Morris <email@hidden>
- Date: Sat, 04 Jun 2016 13:11:54 -0700
- Feedback-id: 167118m:167118agrif8a:167118se7Q8nLOpz:SMTPCORP
On Jun 4, 2016, at 12:54 , Daryle Walker <email@hidden> wrote:
>
> It was the same except I mapped, based on the Swift w/ Cocoa & Obj-C guide, the “id *” in the KVC guide to a “UnsafeMutablePointer<AnyObject>”. Anyone know why it’s different?
It’s not unusual that the property being bound to can take a nil value, so I guess you need to allow for that case in the validation routine.
_______________________________________________
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