polymorphism: better names for .binaryValue and .booleanValue are .asInteger and...
[supercollider.git] / Help / OSX / Cocoa.html
blobaec28281a86c9679dc97fdca6249c1cce3addbca
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <title></title>
7 <meta name="Generator" content="Cocoa HTML Writer">
8 <meta name="CocoaVersion" content="824.42">
9 <style type="text/css">
10 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Helvetica}
11 p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; min-height: 12.0px}
12 p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; color: #0000ff}
13 p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}
14 p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}
15 p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #a71e12}
16 p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco}
17 p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #606060; min-height: 12.0px}
18 p.p9 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #606060}
19 p.p10 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #a71e12; min-height: 12.0px}
20 span.s1 {color: #000000}
21 span.s2 {color: #0019b7}
22 span.s3 {color: #606060}
23 span.Apple-tab-span {white-space:pre}
24 </style>
25 </head>
26 <body>
27 <p class="p1"><b>Cocoa</b></p>
28 <p class="p2"><br></p>
29 <p class="p3"><span class="s1">see also: <a href="CocoaDialog.html">CocoaDialog</a></span></p>
30 <p class="p2"><br></p>
31 <p class="p4"><br></p>
32 <p class="p5"><b>Cocoa.getPathsInDirectory(path)</b></p>
33 <p class="p4"><br></p>
34 <p class="p2"><br></p>
35 <p class="p6">// example:</p>
36 <p class="p7"><span class="s2">Cocoa</span>.getPathsInDirectory(<span class="s3">"plugins"</span>)</p>
37 <p class="p2"><br></p>
38 <p class="p2"><br></p>
39 <p class="p6">// note: it is better to now use pathMatch (unix compatible). Wild cards like * can be used.</p>
40 <p class="p8"><br></p>
41 <p class="p7"><span class="s3">"plugins/*"</span>.pathMatch;</p>
42 <p class="p9">"plugins/D*".pathMatch;</span></p>
43 <p class="p9">"plugins/[D,T]*".pathMatch;</span></p>
44 <p class="p2"><br></p>
45 <p class="p2"><br></p>
46 <p class="p6">/*</p>
47 <p class="p10"><br></p>
48 <p class="p6"><span class="Apple-tab-span"> </span>This is a temporary implementation before I (felix) gets around to doing the proper</p>
49 <p class="p6"><span class="Apple-tab-span"> </span>Directory implementation.</p>
50 <p class="p6"><span class="Apple-tab-span"> </span>It gets all paths in that directory and subdirectories.</p>
51 <p class="p6"><span class="Apple-tab-span"> </span>maxItems is the size of the array to use, and should be larger than the number of items</p>
52 <p class="p6"><span class="Apple-tab-span"> </span>you might return, else a primitive index error.</p>
53 <p class="p10"><span class="Apple-tab-span"> </span></p>
54 <p class="p10"><br></p>
55 <p class="p6"><span class="Apple-tab-span"> </span>all paths are standardized</p>
56 <p class="p10"><span class="Apple-tab-span"> </span></p>
57 <p class="p6">*/</p>
58 <p class="p2"><span class="Apple-tab-span"> </span></p>
59 <p class="p2"><span class="Apple-tab-span"> </span></p>
60 </body>
61 </html>