Anyway, it does note make sense, as upgrading the view without rewriting all the logic using Cocoa paradigms is probably not a good idea. Unlike Carbon nib, Cocoa nib are not just a set of interface object with some property and flags, they also contains lots of information about action, target, bidings, outlets, and a bunch of controller objects (nib owner, Object Controllers, …)

And The "layout manager" is very different too.



Le 3 juil. 08 à 05:31, Fosse a écrit :

It would be a nightmare to recreate them by hand... , especially for the big
project which needs to move to Cocoa..

No better method?


On Mon, Jun 30, 2008 at 3:37 AM, Christopher Pavicich <[EMAIL PROTECTED]> wrote:

Hi:

 There is no way to automatically convert a Carbon Interface Builder
Document into a Cocoa Interface Builder Document.
You are going to need to recreate all of your Carbon dialogues in Cocoa.
By hand.

--Chris


On Jun 29, 2008, at 1:59 AM, Fosse wrote:

My Carbon nib contains a lot of dialogs. I want to make it be used by
another cocoa application and don't want to create all those dialogs and econstruct the entire control hierarchy manually in the Interface Builder.
I
don't care about connections, I'll wire them up myself. I'm just hoping to
avoid repeating the layout work.

The Cocoa nib uses binary file objects.nib which is different with the xml file used byCarbon nib . I can't find any way to convert it with either
Interface Builder or nibtool.

Does anyone know of an automated method for doing the conversion? Or
method
to create Cocoa NIB without using Interface Builder?

I found two related questions here but no more answers..
http://lists.apple.com/archives/cocoa-dev/2001/Jul/msg00243.html
http://lists.apple.com/archives/carbon-development/2003/Aug/msg00161.html

Thanks a lot!
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/cmp%40apple.com

This email sent to [EMAIL PROTECTED]



_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/devlists%40shadowlab.org

This email sent to [EMAIL PROTECTED]


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to