Re: Syntax of int Array in Message (OT: Objective-C Forum)
Re: Syntax of int Array in Message (OT: Objective-C Forum)
- Subject: Re: Syntax of int Array in Message (OT: Objective-C Forum)
- From: Jon Hendry <email@hidden>
- Date: Tue, 16 Jan 2007 09:24:32 -0800
On Tuesday, January 16, 2007, at 11:34AM, "Jason Barker" <email@hidden> wrote:
>
>The problem I am having is when I pass an int array in the init
>message, I get the following warning: passing argument 1 of
>'initWithArray:' from incompatible pointer type
>
>However, when I pass the int array to the object with the
>'resetWithArray:' message, it does not have this warning. Can someone
>explain what the difference is and how I could correct this so that
>there is no warning for using the 'initWithArray:' message? It seems
>to work both ways but I get the warning when I pass the array in the
>init message and it bothers me.
In the code where you call initWithArray:, do you #import the matrix class?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden