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: Cannot see any PICT resource into dialogs using the new Interface Builder 3



I'm a bit confused because the nature
of the port (plain C++) forbid me to use Cocoa,

You can use C++ with Cocoa if you use Objective-C++, although you'd have to get information for that from someone else because I haven't done it myself.

With a good model (C++) <-> controller (Objective-C++) <-> view (Cocoa) factoring it is not really hard to create a great UI on top of the C++ core. Problems begin when in the code to port no such separation exists. Especially as the C++ / Objective-C exception models don't mix well.


Did you have an hint/suggestion on how I can put into a dialog
other file formats (eg.:png?) and how to have a wysiwyg preview in IB?

Not really. I load my images in code at runtime. It pretty easy to get the images from PNG files and such into the dialog, but I don't think you can get IB to display them. If someone else on the list knows he's welcome to jump in.

I'd run, not walk, to get rid if PICT resource based UI's. They are the single most time-consuming PITA when working on a proprietary platform that even for Leopard still demands PICT and ICON/sicn resource based dialogs.


_______________________________________________
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: Cannot see any PICT resource into dialogs using the new Interface Builder 3 (From: Laurence Harris <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.