• 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
Quick Simple Bundles Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quick Simple Bundles Questions


  • Subject: Quick Simple Bundles Questions
  • From: G Douglas Davidson <email@hidden>
  • Date: Mon, 21 Oct 2002 11:32:30 -0400

Is there a preferred way to have a bundle access a class from the main application? If I use the class name, even if I define it via "@class ClassName", I end up having link problems with the bundle.

Something like this works:

myClass = NSClassFromString(@"MyClass");

or I could set up some sort of a main callback routing class when I initialize the bundle.

Just wondering what a nice way to do this is.


--
G. Douglas Davidson | CityNet, Inc.
email@hidden | Pittsburgh, PA
voice: 412.481.5406 | fax: 412.431.1315
_______________________________________________
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: Quick Simple Bundles Questions
      • From: Ondra Cada <email@hidden>
  • Prev by Date: [Q] Using fonts in NSTextView
  • Next by Date: Re: [OT?] FileMerge
  • Previous by thread: [Q] Using fonts in NSTextView
  • Next by thread: Re: Quick Simple Bundles Questions
  • Index(es):
    • Date
    • Thread