Re: Can we pass pointer of a class to a function?
Re: Can we pass pointer of a class to a function?
- Subject: Re: Can we pass pointer of a class to a function?
- From: Kyle Sluder <email@hidden>
- Date: Sat, 4 Jul 2009 15:47:14 -0700
On Jul 4, 2009, at 2:53 PM, Agha Khan <email@hidden> wrote:
I am passing a valid data pointer to a function and I am getting
exception. Before I go further I just like to know if it is possible?
Short answer, yes. Classes are objects too.
But classes aren't always appropriate arguments to a method. You need
to post your code.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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