• 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: j o a r <email@hidden>
  • Date: Tue, 28 Feb 2006 21:45:40 +0100


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


Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

  • Prev by Date: Re: Trouble with passing variables
  • Next by Date: Re: Trouble with passing variables
  • Previous by thread: Re: Trouble with passing variables
  • Next by thread: Re: Trouble with passing variables
  • Index(es):
    • Date
    • Thread