On 3 jul 2008, at 06.47, Steve Christensen wrote:

This question was asked recently on the carbon-dev list and the answer was that there is no way to automate the process, nor even a method to get you part-way. Unfortunately this is likely to be one of those painful transitions for you...


        it is probably possible to do, with significant  difficulties.
Carbon nibs are bundles, with the real payload saved as an xml file
IB [version bundled with xcode 2.x] can also save nibs in a format where the principal file is
XML-encoded.
With the latest IB, they can also be converted to xib, a flat file xml format. So it is a matter of writing and applying a suitable xsl stylesheet file.
Writing such a stylesheet is however, far from trivial.
On Jul 2, 2008, at 8:31 PM, Fosse wrote:

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 ([email protected])

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/tommy.nordgren%40comhem.se

This email sent to [EMAIL PROTECTED]

----------------------------------
Skinheads are so tired of immigration, that they are going to move to a country that don't accept immigrants!
Tommy Nordgren
[EMAIL PROTECTED]



_______________________________________________

Cocoa-dev mailing list ([email protected])

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