May 2008
Intermediate to advanced
464 pages
8h 13m
English
The next step is to get the string to appear in our view. At the end of the chapter, your application will look like Figure 20.1. The character being displayed will change as you type.

Figure 20.1. Completed Application
Overall, the class NSFont has basically only two types of methods:
Class methods for getting the font you want
Methods for getting metrics on the font, such as letter height
The following are commonly used methods in NSFont.
+ (NSFont *)fontWithName:(NSString *)fontName size:(float)fontSizeThis method returns a font object.
fontNameis a family-face name, such as HelveticaBoldOblique or Times-Roman. ...