Amazon.com Widgets May 25
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 27, 2014, 07:55:23 PM
Home Help Search chat Login Register 
News: Read this please.The Great Kangaroo Escape Looking for reviews of the 4th ed on Amazon!   Twitter:  @skochan
                     

+ Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
|-+ Old Stuff
| |-+ Parts 1 and 2
| | |-+ Assignments
| | | |-+ May 25
Pages: [1] Go Down
Print
Author Topic: May 25 (Read 779 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:



Login with username, password and session length

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 (c) 2009 classroomM.com. All rights reserved.