• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to converting a Carbon nib to Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to converting a Carbon nib to Cocoa?


  • Subject: Re: How to converting a Carbon nib to Cocoa?
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Thu, 3 Jul 2008 09:44:52 +0200

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@hidden> 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@hidden)

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:
This email sent to email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


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

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >Re: How to converting a Carbon nib to Cocoa? (From: Fosse <email@hidden>)

  • Prev by Date: NSProgressIndicator thread safe?
  • Next by Date: Re: Core data transformer direction
  • Previous by thread: Re: How to converting a Carbon nib to Cocoa?
  • Next by thread: Re: How to converting a Carbon nib to Cocoa?
  • Index(es):
    • Date
    • Thread