• 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: Thu, 19 Jan 2006 00:08:50 +0000

OK, my apologies guys, I've cracked it.

Basically, both my NSDocument and my NSWindowController had method's of the same name (setEventKind). Yes, I know this is stupid! The one in the window controller was left over from earlier programming work where I wasn't so sure on some of the rules one is supposed to use in Cocoa.

The real issue seemed to come in because the method in the NSDocument took an integer as it's argument, whilst the window controller version used an id (it was an IBAction).

So once, again, sorry!
Mike.

On 18 Jan 2006, at 20:23, Andy Armstrong wrote:

On 18 Jan 2006, at 20:20, Mike Abdullah wrote:
So have I misunderstood things? Can you only use actual objects/ classes as arguments in a function called between classes?

No - there's definitely no such limitation.

--
Andy Armstrong, hexten.net


_______________________________________________ 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
References: 
 >(hopefully) simple newb question (From: Mike Abdullah <email@hidden>)
 >Re: (hopefully) simple newb question (From: Daniel Jalkut <email@hidden>)
 >Re: (hopefully) simple newb question (From: Mike Abdullah <email@hidden>)
 >Re: (hopefully) simple newb question (From: Andy Armstrong <email@hidden>)

  • Prev by Date: how to generate a map from gis data
  • Next by Date: Re: Stuck in basic bindings
  • Previous by thread: Re: (hopefully) simple newb question
  • Next by thread: Re: (hopefully) simple newb question
  • Index(es):
    • Date
    • Thread