Use full method signatures in docs

This commit is contained in:
Michael Helmbrecht
2014-10-26 14:57:18 -07:00
parent bd30f975ab
commit 89a6f04800

View File

@@ -154,10 +154,11 @@ drawing API diverges substantially from UIView's. Instead of implementing
`-drawParametersForAsyncLayer:`. This method will always be called on the
main thread.
3. Implement either `+drawRect::::` or `+displayWithParameters::`. Note that
these are *class* methods that will not have access to your node's state
— only the draw parameters object. They can be called on any thread
and must be thread-safe.
3. Implement either `+drawRect:withParameters:isCancelled:isRasterizing:` or
`+displayWithParameters:isCancelled:`. Note that these are *class* methods
that will not have access to your node's state — only the draw
parameters object. They can be called on any thread and must be
thread-safe.
For example, this node will draw a rainbow: