1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
<svg width="300" height="169" viewBox="0 0 300 169" xmlns="http://www.w3.org/2000/svg">
<style>
text { fill: white; font-family: "HelveticaNeue", Helvetica, Arial, sans-serif; font-size: 9px; }
text.code { font-family: "Menlo", monospace; font-size: 8px; }
text.heading { font-size: 15px; }
text.param { font-family: "Menlo", monospace; font-weight: bold; font-size: 8.5px; }
text.lang { fill: #0066ff; font-weight: 600; }
rect { height: 10px; rx: 2px; ry: 2px; fill: #404040; }
rect.code { fill: #5a5a5a; }
rect.add { fill: rgba(30,255,30,0.33); height: 11px; }
</style>
<text class="heading lang" x="295" y="17.3" text-anchor="end">Objective-C</text>
<text class="heading" x="5" y="17.3">Parameters</text>
<text class="param" x="13.5" y="35.92">someValue</text>
<rect x="22.5" y="41.92" width="142.37"/>
<rect class="add" x="12.5" y="62.7" width="27.7" style="height: 9px"/>
<rect class="add" x="20.2" y="76.17" width="250.23"/>
<rect class="add" x="20.2" y="89.42" width="268.75"/>
<rect class="add" x="20.2" y="102.17" width="211.23"/>
<text class="param" x="13.5" y="69.67">error</text>
<text x="22" y="84.72">On output, a pointer to an error object that describes why the </text>
<text x="22" y="97.4">method failed, or </text>
<text class="code" x="92.69" y="97.4">nil</text>
<text x="109.73" y="97.4" > if no error occurred. If you are not interested </text>
<text x="22" y="110.65">in the error information, pass </text>
<text class="code" x="140.03" y="110.65">nil</text>
<text x="157.07" y="110.65"> for this parameter.</text>
<rect class="add" x="4" y="130.2" width="88.3" style="height: 14.5px"/>
<rect class="add" x="4" y="155" width="180.17"/>
<text class="heading" x="5" y="142.85">Return Value</text>
<text class="code" x="5" y="163.32">YES</text>
<text x="22.05" y="163.32"> if the method succeeded, otherwise </text>
<text class="code" x="169.58" y="163.32">NO</text>
<text x="179.61" y="163.32">.</text>
</svg>
|