Amazon.com Widgets Clarification on exercise 7.2
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 20, 2013, 03:11:08 AM
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
| |-+  Answers to Exercises
| | |-+  Chapter 7
| | | |-+  Clarification on exercise 7.2
Pages: [1]   Go Down
Print
Author Topic: Clarification on exercise 7.2  (Read 913 times)
MarkReid
Full Member
***
Posts: 173






« on: March 18, 2010, 05:25:37 PM »

Can I just clarify something on exercise 7.2? What does it mean by optional BOOL?

If I make a print method that takes an argument does that mean I also need to make a print method that doesn't take any?

Thanks
Logged
skochan
Administrator
Hero Member
*****
Posts: 3109







« Reply #1 on: March 19, 2010, 10:13:55 AM »

You can just have a single print method that take a BOOL argument and if that argument is YES it reduces the fraction.

Cheers,


Steve Kochan
« Last Edit: March 19, 2010, 10:28:41 AM by skochan » Logged
MarkReid
Full Member
***
Posts: 173






« Reply #2 on: March 19, 2010, 10:16:40 AM »

Thanks Steve.
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.