site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com On Aug 15, 2008, at 2:32 PM, David Yamnitsky wrote: _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... I'm trying load a .nib file for custom parameter UI, but the simple call, [NSBundle loadNibNamed:@"TheNibFile" owner:self]; fails (where self is effect). I've tried building the ScrollingRichText example, and custom UI for it doesn't load in Motion but does in FCP. In my testing, in both hosts +[NSBundle bundleForClass:[self class]] returns the main bundle! What's going on here?? I use the following, which works just fine for me. This is called from the class set to be the nib file's owner. if ([[NSBundle bundleForClass:[self class]] loadNibFile:@"MyNib" externalNameTable:[NSDictionary dictionaryWithObject:self forKey:NSNibOwner] withZone:nil]) { } This email sent to site_archiver@lists.apple.com
participants (1)
-
Steve Christensen