Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CGMakePoint does not exist on iOS

  • Loading branch information...
commit bb26ffdff0476e92b55f744ccc2b399313ad408c 1 parent 1670ecc
Laurent Sansonetti authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/runtime/index.txt
View
4 guides/runtime/index.txt
@@ -295,10 +295,10 @@ Functions
C functions are available as methods of the +Object+ class. Inline functions, which are implemented in the framework header files are also supported.
-As an example, the +CGMakePoint+ function can be used in Ruby to create a +CGRect+ structure.
+As an example, the +CGPointMake+ function can be used in Ruby to create a +CGRect+ structure.
----
-pt = CGMakePoint(100, 200)
+pt = CGPointMake(100, 200)
'Hello'.drawAtPoint(pt, withFont: font)
----
Please sign in to comment.
Something went wrong with that request. Please try again.