Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANN] Nano 1.4



On 2007-06-19, at 14:27:29, Chris Hanson wrote:

• I'm saying I generate the nib bundle and its XML files dynamically. And then load and run them (since 2003).

What does this get you that generating the object graph that represents the user interface itself won't? Persistence? Or something else?

What that gets me is an homogeneous continuity where the specification travels through a unix script level thru it's interface (which I do mostly in C++) thru CoreFoundation types thru OSA to a Carbon venue handled by my code (and to a certain extant back the way it came). Since I use Tcl to coordinate, namespace conventions are happily exactly the same as in C++.


Objective-C is bereft of namespaces.

The choice of languages for the implementation of this product (an OSA component suite supporting about 7 languages) was based on what seemed most expedient for the situation. Cocoa is used in a few places that are suitable, including a minimal web browser helper app. What's not suitable for this project is an Objective-C/Cocoa approach throughout. Otherwise, like I heard the guy who did the grunt work on PyObjC, I'd be spending 10 years on it.


Using Cocoa you absolutely can generate a view hierarchy at runtime, connect it to code, and use it. NSResponder (the immediate superclass of NSView) also implements the NSCoding protocol, so you can archive a view hierarchy for later unarchiving and reconnection.

Ok. But that doesn't make it useful for my situation.


Philip Aker email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: [ANN] Nano 1.4 (From: "Jan Barnholt" <email@hidden>)
 >Re: [ANN] Nano 1.4 (From: Laurence Harris <email@hidden>)
 >Re: [ANN] Nano 1.4 (From: Bryan Prusha <email@hidden>)
 >Re: [ANN] Nano 1.4 (From: Philip Aker <email@hidden>)
 >Re: [ANN] Nano 1.4 (From: Bryan Prusha <email@hidden>)
 >Re: [ANN] Nano 1.4 (From: Philip Aker <email@hidden>)
 >Re: [ANN] Nano 1.4 (From: Chris Hanson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.