Objective-C Programming: The Big Nerd Ranch Guide (2nd Edition) (Big Nerd Ranch Guides) by Aaron Hillegass

Objective-C Programming: The Big Nerd Ranch Guide (2nd Edition) (Big Nerd Ranch Guides) by Aaron Hillegass

Author:Aaron Hillegass [Hillegass, Aaron]
Language: eng
Format: mobi
Tags: Objective-C Programming, Big Nerd Ranch Guides, COM051370
ISBN: 9780321942067
Publisher: Pearson Education
Published: 2013-11-19T16:00:00+00:00


Challenge: sorted holdings

Add another method to BNRPortfolio that returns an NSArray of all of its stock holdings, sorted alphabetically by symbol. Test this method in main() as well.

25

Constants

We have spent a lot of time discussing variables, which, as the name indicates, change their values as the program runs. There are, however, pieces of information that do not change value. For example, the mathematical constant π never changes. We call these things constants, and there are two common ways that Objective-C programmers define them: #define and global variables.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.