Re: How to converting a Carbon nib to Cocoa?
Re: How to converting a Carbon nib to Cocoa?
- Subject: Re: How to converting a Carbon nib to Cocoa?
- From: "Gary L. Wade" <email@hidden>
- Date: Thu, 03 Jul 2008 14:17:25 -0400
Apparently you haven't perused the XML used by Carbon NIBs. There's lots of linkages across the format so that any particular object is not as completely self-contained as you believe.
>
>On 3 jul 2008, at 14.54, Kyle Sluder wrote:
>
>> On Thu, Jul 3, 2008 at 8:27 AM, Tommy Nordgren <email@hidden
>> > wrote:
>>> So it is a matter of writing and applying a suitable xsl stylesheet
>>> file.
>>
>> The transformations required to obtain a meaningful Cocoa XIB from a
>> Carbon NIB are impossible to express in XSL. Or any language for that
>> matter. It requires human thought, because Carbon NIBs and Cocoa XIBs
>> do not express the same concept. Even if you could transform a
>> particular Carbon NIB to a Cocoa XIB (certainly a challenge,
>> considering the spec is not documented and warned to be very fragile)
>> it would be a very bad idea to do so, particularly because they would
>> not be semantically equivalent.
>>
>> --Kyle Sluder
> Not correct. Of course connections can't be created this way, but it
>is certainly possible
>to replace carbon objects with the equivalent Cocoa objects.
> Niltargeted actions for the standard menu items can also be set up
>this way.
>----------------------------------
>Skinheads are so tired of immigration, that they are going to move to
>a country that don't accept immigrants!
>Tommy Nordgren
>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