• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Overriding custom KVC methods in Swift?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Overriding custom KVC methods in Swift? (From: Daryle Walker <email@hidden>)
 >Re: Overriding custom KVC methods in Swift? (From: Quincey Morris <email@hidden>)
 >Re: Overriding custom KVC methods in Swift? (From: Daryle Walker <email@hidden>)

  • Prev by Date: Re: Overriding custom KVC methods in Swift?
  • Next by Date: Re: Sorry to ask again, but maybe I'm asking the question incorrectly. Remote Notifications outside app delegate.
  • Previous by thread: Re: Overriding custom KVC methods in Swift?
  • Next by thread: How to implement a control/view that maps to a "String?" (in Swift)
  • Index(es):
    • Date
    • Thread