• 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
Loading external code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Loading external code


  • Subject: Loading external code
  • From: Thilo Ettelt <email@hidden>
  • Date: Tue, 28 May 2002 17:49:56 +0200

Hi! I'm trying to create an app that load bundles and displays their view in a localview. Somehow it doesn't work, so here's the code:

aBundle = [NSBundle bundleWithPath:absoluteBundlePath];
[anArray addObject:[[[[aBundle classNamed: bundleExecutableFileName] alloc] init] autorelease]];
[localView addSubview:[[anArray objectAtIndex:i] view]];

Is this code right? And what should I look after in the (creation of) bundles?

Thank you in advance.


Cheers, Thilo
_______________________________________________
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: NSTableView
  • Next by Date: About the NSTableView Corner View...
  • Previous by thread: Re: Handling a mouse event
  • Next by thread: Re: Loading external code
  • Index(es):
    • Date
    • Thread