• 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: (hopefully) simple newb question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (hopefully) simple newb question


  • Subject: Re: (hopefully) simple newb question
  • From: Mike Abdullah <email@hidden>
  • Date: Wed, 18 Jan 2006 20:20:48 +0000

As an experiment, I've just tried replacing the int argument with NSNumber and using numberWithInt and intValue to get between the two. This works quite happily!

So have I misunderstood things? Can you only use actual objects/ classes as arguments in a function called between classes?

Mike.

On 18 Jan 2006, at 18:32, Daniel Jalkut wrote:

Does the window controller have access to a prototype for the method in question? E.g. does it include "MyDocument.h", or wherever the interface is declared?

Daniel

On Jan 18, 2006, at 9:56 AM, Mike Abdullah wrote:

"passing argument 1 of setEventKind: makes pointer from integer without a cast"

Why is this a problem from the window controller, but not from the NSDocument?


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: (hopefully) simple newb question
      • From: Andy Armstrong <email@hidden>
References: 
 >(hopefully) simple newb question (From: Mike Abdullah <email@hidden>)
 >Re: (hopefully) simple newb question (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Re: New titanium interface available to Cocoa developers?
  • Next by Date: Re: (hopefully) simple newb question
  • Previous by thread: Re: (hopefully) simple newb question
  • Next by thread: Re: (hopefully) simple newb question
  • Index(es):
    • Date
    • Thread