• 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: Can we pass pointer of a class to a function?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Can we pass pointer of a class to a function? (From: Agha Khan <email@hidden>)

  • Prev by Date: Re: Movable Document Modal Dialogs
  • Next by Date: Re: Sorting an editable tableView of managed object
  • Previous by thread: Can we pass pointer of a class to a function?
  • Next by thread: Yet another memory management question
  • Index(es):
    • Date
    • Thread