NSFont

Other topics

Creating an NSFont object

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];

Contributors

Topic Id: 8881

Example Ids: 27661

This site is not affiliated with any of the contributors.