• 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
object_getInstanceVariable() and non atomic var types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

object_getInstanceVariable() and non atomic var types


  • Subject: object_getInstanceVariable() and non atomic var types
  • From: Michael Monscheuer <email@hidden>
  • Date: Sat, 03 Jan 2004 16:04:02 +0100

To create an outline view showing a debugging view of a document model I am using object_getInstanceVariable() to read out the instance variables of objects.
This works quite well if instance variable is of an atomic type (e.g. floats, ints, longs). But if an instance variable is some kind of stucture (e.g. NSRect, NSPoint) object_getInstanceVariable() returns just nothing.

Any idea how to convert Rects etc. from an Ivar based instance var description back to a c type variable like object_getInstanceVariable() does correctly for atomic typed vars?

MiMo
--
=======================================================
And refashioning the fashioned
lest it stiffen into iron
is work of endless vital activity.
[Goethe]

mailto:email@hidden
mailto:email@hidden

All about CALAMUS DTP suite:
http://www.calamus.net

=======================================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: NSText sizeToFit doesn't
  • Next by Date: Re: Writing to a MySQL database server
  • Previous by thread: Re: NSText sizeToFit doesn't
  • Next by thread: Download from url and parse?
  • Index(es):
    • Date
    • Thread