Permalink
Browse files

CGMakePoint does not exist on iOS

  • Loading branch information...
1 parent 1670ecc commit bb26ffdff0476e92b55f744ccc2b399313ad408c @lrz lrz committed Jul 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/runtime/index.txt
View
@@ -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)
----

0 comments on commit bb26ffd

Please sign in to comment.