Hello, and excuse this novice question. I really googled around, and even re-briefed Cocoa Binding docs and so on - but something eludes here -
I want something very simple, yet all the methods I can think of are quite cumbersome and indirect. I simply want an NSTextField (Label) in one of my windows, to display the “short version string” which is in the App Bundle’s info-plist, at the “CFShortVersionString”. I hoped to do this via binding in my .xib - directly against the Application object, or any other always-available controller. Now this is NOT in the userDefaults, so I can’t bind to NSUserDefaultsController. This is also not in the NSAppliction or its delegate. I only know to retrieve this value using the NSBundle API - [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName”] but that’s hardly bind-able, and NSBundle isn’t a controller per se. I must be missing something very simple and stupid. Hint anyone? Motti Shneor. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com