• 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
ObjC data structure for C++/ObjC++ objects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ObjC data structure for C++/ObjC++ objects?


  • Subject: ObjC data structure for C++/ObjC++ objects?
  • From: "Jonathan Bailey" <email@hidden>
  • Date: Fri, 7 Nov 2008 20:41:38 -0500

Hi all -

I am trying to find a way to create a dynamically-growable objective C
data structure within objective C++ code, such as a
NSMutableDictionary, that can store values that are pointers to an
objective C++ or straight-up C++ object.

NSMutableDictionary seems to only accept pointers to objective C
objects, however, and not to arbitrary objects. This seems like a
simple thing to do but I am a bit stumped. Does anyone know of a way
to do this?

FWIW, I need to support 10.4 in my project.

Thanks in advance, JB
_______________________________________________

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

  • Follow-Ups:
    • Re: ObjC data structure for C++/ObjC++ objects?
      • From: Thomas Engelmeier <email@hidden>
    • Re: ObjC data structure for C++/ObjC++ objects?
      • From: Luke the Hiesterman <email@hidden>
    • Re: ObjC data structure for C++/ObjC++ objects?
      • From: "Michael Ash" <email@hidden>
  • Prev by Date: Thinking of a new CocoaHeads Meeting Place in Dorset UK
  • Next by Date: Re: Skinny NSPanel titlebar for NSWindow?
  • Previous by thread: Thinking of a new CocoaHeads Meeting Place in Dorset UK
  • Next by thread: Re: ObjC data structure for C++/ObjC++ objects?
  • Index(es):
    • Date
    • Thread