]> gitweb.factorcode.org Git - factor.git/blob - extra/cocoa/nibs/nibs-docs.factor
Merge branch 'master' of git://factorcode.org/git/factor
[factor.git] / extra / cocoa / nibs / nibs-docs.factor
1 USING: help.markup help.syntax strings ;
2 IN: cocoa.nibs
3
4 HELP: load-nib
5 { $values { "name" string } }
6 { $description "Loads an Interface Builder " { $snippet ".nib" } " file with the given name." } ;
7
8 HELP: nib-named
9 { $values { "nib-name" string } { "anNSNib" "an instance of NSNib" } }
10 { $description "Looks up the " { $snippet ".nib" } " in the main bundle with the given name, instantiating an autoreleased NSNib object.  Useful when combined with the " { $link nib-objects } " word. " { $snippet "f" } " is returned in case of error." } 
11 { $see-also nib-objects } ;
12
13 HELP: nib-objects
14 { $values { "anNSNib" "an instance of NSNib" } { "objects/f" "a sequence" } }
15 { $description "Instantiates the top-level objects of the " { $snippet ".nib" } " file loaded by anNSNib.  First create an NSNib instance using " { $link nib-named } "." } 
16 { $see-also nib-named } ;