Objective-C
NSTextField * textField;
textField.stringValue = [NSString stringWithFormat: @"%ld", 100];
Swift
let textField: NSTextField!
textField.stringValue = NSString( format: "%ld", 100 ) as String
Go to list of users who liked
More than 5 years have passed since last update.
Objective-C
NSTextField * textField;
textField.stringValue = [NSString stringWithFormat: @"%ld", 100];
Swift
let textField: NSTextField!
textField.stringValue = NSString( format: "%ld", 100 ) as String
Register as a new user and use Qiita more conveniently
Go to list of users who liked