Documentation for NSString sizeWithFont: forWidth: lineBreakMode: method (in iPhone SDK)?

I can't find any documentation for the NSString method sizeWithFont: forWidth: lineBreakMode: method (see Kevin Ballard for the answer to Defining UILabel (in iPhone SDK) to match? ") In the NSString class reference in the iPhone SDK developer documentation. Where should I look?

Update . I didn't subscribe to the iPhone OS Library Document Set, so my search didn't work.

+1


source to share


2 answers


In Xcode, search for sizeWithFont:forWidth:lineBreakMode:

. Make sure you have iPhone docset selected / available.



It's also here if you're signed in with your developer account.

+5


source


This has been answered and accepted, but one more comment:

The sizeWithFont: * methods are not strictly part of the NSString. These are NSString categories added by UIKit.



This is probably why your search didn't work before you subscribed to the iPhone OS docs set.

+5


source







All Articles