Tutorial by Examples

The preferred and most common way of making an NSFont object is the following: Objective-C // Name is PostScript name of font; size is in points. NSFont *essayFont = [NSFont fontWithName:@"Times New Roman" size:12.0];

Page 1 of 1