Amazon.com Widgets Why use Categories in example 11.1?
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2013, 12:27:37 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
| |-+  Program Examples
| | |-+  Chapter 11
| | | |-+  Why use Categories in example 11.1?
Pages: [1]   Go Down
Print
Author Topic: Why use Categories in example 11.1?  (Read 754 times)
Semaj
Newbie
*
Posts: 8






« on: March 20, 2011, 12:12:31 PM »

Chapter 11 begins with a list of scenarios of when someone might use a Category, but I don't get why someone would use it in example 11.1. What is the benefit of taking the methods out of the Fraction class and adding them to a Category?  Why not leave it in the Fraction class?  
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.