• 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: Trouble with passing variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with passing variables


  • Subject: Re: Trouble with passing variables
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 28 Feb 2006 16:14:31 -0500


D'oh! Hasty read and hasty answer! My apologies!

--
I.S.


On Feb 28, 2006, at 3:45 PM, j o a r wrote:


On 28 feb 2006, at 21.39, I. Savant wrote:

The problem is that you're treating primitive types as objects and vice-versa.

In what way?

Anyway, this works:

-(BOOL)numberAdded:(int*)number
{
	*number = (*number + 1);
	return YES;
}

j o a r



_______________________________________________ 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: 
 >Trouble with passing variables (From: Mark Williams <email@hidden>)
 >Re: Trouble with passing variables (From: "I. Savant" <email@hidden>)
 >Re: Trouble with passing variables (From: j o a r <email@hidden>)

  • Prev by Date: Re: line spacing differences between NSTextView and NSAttributedString
  • Next by Date: Re: line spacing differences between NSTextView and NSAttributedString
  • Previous by thread: Re: Trouble with passing variables
  • Next by thread: Re: Trouble with passing variables
  • Index(es):
    • Date
    • Thread