typedstreamθ„@„„„Action„„NSObject…„i’„„„NSString”„+Create openable nib†’„–—ΛSome nib files in system applications are not openable by Interface Builder. This script shows a little bit complex example to workaround this. For the curious: 'nib' comes from 'NeXT interface builder'†’„„„NSMutableArray„„NSArray”•’„„„ AtomicProlog„„Atomic”„ic’„–— Input Check†’’•„iiii’„–—nib†’„–—'ilht'†’„–—'MACS'††’„„„AtomicRunScriptœ’„–— Shell Script†’’„icccc’„–— #!/bin/tcsh†’„„„NSMutableString–—b# create name for corrected nib in %tempdir set newnib="%tempdir/$1:t" set classes="$newnib/classes.nib" set info="$newnib/info.nib" cp -r "$1" %tempdir # if neccessary create minimal classes.nib file if (! -e $classes) then echo "{" >> $classes echo "IBClasses = ({CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; });" >> $classes echo "IBVersion = 1;" >> $classes echo "}" >> $classes endif # if neccessary create minimal info.nib file if (! -e $info) then echo '' >> $info echo '<\!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">' >> $info echo '' >> $info echo "" >> $info echo "" >> $info echo "" >> $info endif # put $newnib onto filewell #%tt $newnib # or open it from here: open $newnib††’„„„AtomicOpenWithœ’„–—Open With Application†’’•’„–—-/Developer/Applications/Interface Builder.app†’„–—Interface Builder†††’„„„NSMutableDictionary„„ NSDictionary”•’„–—EMail†’„–—robert@tinb.de†††