Nice code that you have there :-) As for the new XIB format (thank you for pointing this out!), up to now we had to adopt to every new format Apple came up with. But in this specific case, I am not sure. This time they don't use a key-coding format, rather it is similar to the Renaissance format GNUstep has had for many years. If we want to support this format, we will have to write specific code for each and ever class that needs to be decoded. This may become worthwhile when this format gets adopted everywhere, but for now it seems easier to compile it to NIB and load from there.
Fred On 20.08.2013 10:47, Vincent R. wrote: > Le 19.08.2013 23:39, Gregory Casamento a écrit : >> Yes, I will be working on support for it. >> >> Right now GNUsteps libraries support XIB files, but Gorm itself >> doesnt. I am working on XIB support for the current version of the >> format. The XML you showed doesnt seem significantly different, >> though I need more information to determine if we can support it > > Don't understand why you say Gorm presently doesn't support XIB because > because it's possible > to open one xib file and see what it looks like. Last time I tried Gorm > what was missing was > the possibility to save a xib. > > While I am talking about xib please find a small video showing what I > was able to do by translating > GNUstep implementation into c# : > www.smartmobili.com/downloads/XibBuilder.mkv. > The video shows a xib viewer that allow to load xib file (AppKit only) > and display them. > The UI rendering is done in WPF but the business logic behind and the > object creation is using GNUstep > implementation. The GNUStep translation in c# is available here : > https://github.com/smartmobili/CocoaBuilder/tree/master/XibParser > > This project was at the beginning a "just for fun" project but now it > could be consider as a proof of concept of > a "managed" GNUstep. If I still have time it would be interesting to go > further and to also implement the UI rendering > but to do it I would need to change the way I have done the translation > and it implies a lot of work. > > I am also working on an objc rewriter using clang that would allow to > translate GNUstep files (objc) into c# but I have some hard time > with the translation of message calls. _______________________________________________ Gnustep-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnustep-dev
