Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
November 23, 2017, 03:25:21 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register Chat  
Pages: [1]   Go Down
  Print  
Author Topic: May 25  (Read 1339 times)
skochan
Administrator
Hero Member
*****
Posts: 3114



« on: May 27, 2011, 10:37:26 AM »

  • Read Chapters 9-10
  • Take the quizzes for these 2 chapters  
  • Add this initializer to your Rectangle class:

    -(id) initWithWidth: (int) w Height: (int) h andOrigin: (XYPoint *) pt;


    Be sure to have init and initWithWidth:andHeight: use this method (hint: think about handling the passing of the value nil as the andOrigin: argument from the other initilalizers into your designated initializer.)

    Also, look at this thread: http://classroomm.com/objective-c/index.php?topic=688.msg1996#msg1996.  Be sure to read the threads referenced by this thread as well.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents ゥ 2009 classroomM.com. All rights reserved.