Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with passing variables




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.