Re: [F-Script-talk] Updated to 1.2.7 and can't load old nibs
Brought to you by:
pmougin
From: Philippe M. <phi...@wa...> - 2004-10-25 23:07:52
|
As John wrote, you are hit by a know bug in F-Script 1.2.7. To solve the problem without having to rebuild your nib from scratch you can do the following: 1) Get IB to open your nib. To do that, you can revert to F-Script 1.2.6 (removing the F-Script palette from the list of default palette that IB loads at startup will probably work also). 2) Configure IB to use XML when archiving objects in nibs. 3) Save the nib file. 4) open the nib package (your nib file is actually a directory containing other files, you can open the nib package with the Finder using the "show package content" (or something equivalent) menu item. 4) In the package you shall see among other things a file named "keyedobjects.nib" or something like that. 5) Open this file with a text editor. At this point you should see some XML. Replace all occurrences of "FSContext" by "NSObject". You nib file should now work fine with F-Script 1.2.7 Best, Philippe Mougin > Message du 25/10/04 20:56 > De : "John Anderson" <jan...@wi...> > A : f-s...@li... > Copie à : > Objet : Re: [F-Script-talk] Updated to 1.2.7 and can't load old nibs > > This appears to be exactly the same problem affecting FSA (see archive > for more details). Apparently, the FSContext class not longer exists. > The solution was to rebuild the NIBs from scratch in FSA case. You > might want to first try removing the reference to FSContext from your > NIB directly. Unfortunately, I do not know how FSContext was actually > referenced in NIBs. > > On Oct 25, 2004, at 2:23 AM, Jay Lieske wrote: > > > F-Scripters-- > > > > I had built an application in Xcode that linked to FScript.framework > > version 1.2.6 and had a nib using FSInterpreterView. Now when I run > > the app, I get this log error: > > > > class error for 'FSContext': class not loaded > > > > I get the same error message when I try to open my nib in Interface > > Builder. IB won't open my nib at all now. > > > > Is the archive format for F-Script 1.2.7 incompatible with nibs > > created in 1.2.6? (I read in the release notes that the Block archive > > format for 1.2.7 wasn't readable in earlier versions; my problem seems > > to be the reverse.) > > > > Should I revert to FScript.framework 1.2.6 momentarily to take the > > FSInterpreterView out of my nib? > > > > Thanks, > > --jay > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on > > ITManagersJournal > > Use IT products in your business? Tell us what you think of them. Give > > us > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > > more > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > F-Script-talk mailing list > > F-S...@li... > > https://lists.sourceforge.net/lists/listinfo/f-script-talk > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > F-Script-talk mailing list > F-S...@li... > https://lists.sourceforge.net/lists/listinfo/f-script-talk > |