Changes

Jump to: navigation, search

Working with Variables and Constants in Objective-C

60 bytes added, 18:40, 24 November 2009
no edit summary
<hr>
<google>BUY_OBJC</google>
In the previous chapter we looked at the basic data types supported by Objective-C. Perhaps the second most basic aspect of programming involves the use of variables and constants. Even the most advanced and impressive programs, from high end video games to enterprise commerce applications, use variables in one form or another. In this chapter of [[Objective-C 2.0 Essentials]] we will cover everything that an Objective-C programmer needs to know about variables.
It is important to note that type casting only changes the way the value is read from the variable on that one occasion. It does not change the variable type or the value stored in any way. After the type cast, ''balance'' is still a ''double'' and still contains the value 100.54.
 
<google>BUY_OBJC_BOTTOM</google>
<hr>

Navigation menu