Loading external code
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.