Objective-C
NSTextField * textField;
textField.stringValue = [NSString stringWithFormat: @"%ld", 100];
Swift
let textField: NSTextField!
textField.stringValue = NSString( format: "%ld", 100 ) as String
Objective-C
NSTextField * textField;
textField.stringValue = [NSString stringWithFormat: @"%ld", 100];
Swift
let textField: NSTextField!
textField.stringValue = NSString( format: "%ld", 100 ) as String
本文标题:Objc to Swift:[NSString stringWi
本文链接:https://www.haomeiwen.com/subject/hghgsttx.html
网友评论