• 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: converting resources, icons, and dialogs to interface builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: converting resources, icons, and dialogs to interface builder


  • Subject: Re: converting resources, icons, and dialogs to interface builder
  • From: Chris Hanson <email@hidden>
  • Date: Tue, 04 May 2010 13:10:10 -0700

On May 4, 2010, at 12:51 PM, Jens Alfke <email@hidden> wrote:

> On May 4, 2010, at 7:34 AM, Bill Appleton wrote:
>
>> i am converting many rsrc dialogs from carbon to cocoa (DITL, DLOG)
>> is there any automatic tool for converting a dialog to interface builder?
>
> I would ask on carbon-dev, since many Carbon developers probably dealt with this a while ago when switching over to Carbon nibs.

This won't be very useful, as Carbon nib files are not the same thing as Cocoa nib files. Cocoa nibs are archived object graphs.

There are no automated tools to do this that I know of.

> So it might not actually save you that much time to convert automatically, compared to just recreating them from scratch. Building a simple dialog in IB is incredibly fast; you just drag controls out of the palettes and snap them into place using the automatic guides.

Furthermore, native Mac OS X applications use different interface paradigms than classic Mac applications.  For one example, there should be very, very few "dialogs" in a native Mac OS X application.  These should be either document-modal sheets or regular windows/panels, or nonexistent. (You'll note that there's an NSPanel class but no NSDialog, I don't think it's just a matter of naming differences.)

Moving your codebase to Cocoa is a great point to clean up these sorts of things.

  -- Chris

_______________________________________________

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: 
 >converting resources, icons, and dialogs to interface builder (From: Bill Appleton <email@hidden>)
 >Re: converting resources, icons, and dialogs to interface builder (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: converting resources, icons, and dialogs to interface builder
  • Next by Date: Re: Strange NSView/NSWindow behavior
  • Previous by thread: Re: converting resources, icons, and dialogs to interface builder
  • Next by thread: Prevent plug-ins from having framework conflicts.
  • Index(es):
    • Date
    • Thread