• 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
Adding my own Properties for Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding my own Properties for Objects


  • Subject: Adding my own Properties for Objects
  • From: Mark Munz <email@hidden>
  • Date: Wed, 14 Jan 2004 19:36:24 -0700

To anyone that can help:

Is there a way to store a collection of Objects (in a Dictionary) in any NSView or maybe an NSToolbarItem w/o having to subclass the object specifically?

I'm looking for something similar to Properties under Carbon that can be attached to Controls or Windows. Any control or Window can have "properties" attached to them, making it easy to store additional data without special handling.

Is this something that's already possible in Cocoa and I'm missing it? Or am I asking for new functionality?

Thanks in advance.

Mark Munz
_______________________________________________
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.

  • Follow-Ups:
    • Re: Adding my own Properties for Objects
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: Re: HTTP POST
  • Next by Date: xcode/gdb automation
  • Previous by thread: Re: Horizontal scrollbar is not activated in TableView
  • Next by thread: Re: Adding my own Properties for Objects
  • Index(es):
    • Date
    • Thread