• 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: Getting resource for key (Swift)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting resource for key (Swift)


  • Subject: Re: Getting resource for key (Swift)
  • From: "Jan E. Schotsman" <email@hidden>
  • Date: Tue, 21 Jul 2015 19:46:36 +0200


On Jul 21, 2015, at 6:07 PM, Jens Alfke wrote:

On Jul 21, 2015, at 1:48 AM, Jan E. Schotsman <email@hidden> wrote:

So I just needed to replace "Bool?" by "AnyObject?"

Yes. If you look at the method’s declaration, the parameter type is “id*” in Obj-C, so it’s pretty clear you need to pass a pointer to an object. If you’d tried to pass a BOOL* in Objective-C you would have gotten a similar error.

That's what I meant with my remark about punctuation.
I didn't ask a question, I made a statement.
(I was afraid to add an exclamation mark after "statement"  ;-)

Jan E.
_______________________________________________

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: 
 >Getting resource for key (Swift) (From: "Jan E. Schotsman" <email@hidden>)
 >Re: Getting resource for key (Swift) (From: Charles Srstka <email@hidden>)
 >Re: Getting resource for key (Swift) (From: "Jan E. Schotsman" <email@hidden>)
 >Re: Getting resource for key (Swift) (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: I am reluctant to file any more bugs until those already reported are fixed
  • Next by Date: MODERATOR: End of Thread (was Re: I am reluctant to file any more bugs until those already reported are fixed)
  • Previous by thread: Re: Getting resource for key (Swift)
  • Next by thread: Auto Layout and Resizable NSViews
  • Index(es):
    • Date
    • Thread