码迷,mamicode.com
首页 >  
搜索关键字:viewcontroller    ( 2658个结果
Swift - UIDatePicker
```swift import UIKit class ViewController: UIViewController{ override func viewDidLoad() { super.viewDidLoad() //创建DatePicker let datePicker = UIDate... ...
分类:编程语言   时间:2019-01-07 01:27:58    阅读次数:219
Swift - UISlider
```swift import UIKit var imageView:UIImageView! class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() //创建Slider... ...
分类:编程语言   时间:2019-01-06 13:34:52    阅读次数:217
Swift - UIProgressView
```swift import UIKit var imageView:UIImageView! class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() //创建Progre... ...
分类:编程语言   时间:2019-01-06 12:01:42    阅读次数:183
Swift - UIImageView
```swift import UIKit var imageView:UIImageView! class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() //创建ImageV... ...
分类:编程语言   时间:2019-01-06 12:00:53    阅读次数:154
Swift - UITextView
```swift import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() //创建UITextView let textView = UITextV... ...
分类:编程语言   时间:2019-01-06 12:00:03    阅读次数:170
Swift - UISegmentedControl
```swift import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let items = ["optionA","optionB","opt... ...
分类:编程语言   时间:2019-01-06 11:56:18    阅读次数:235
Swift - UISwitch
```swift import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() //创建UISWitch(Switch无需设置大小) let uiSwit... ...
分类:编程语言   时间:2019-01-06 11:54:18    阅读次数:217
Swift - UIButton
```swift mport UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() //创建Button类型:system,custom,contactAdd,... ...
分类:编程语言   时间:2019-01-06 11:20:10    阅读次数:225
iOS - UILabel
```swift import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() //创建Label并设置位置 let label = UILabel(fr... ...
分类:移动开发   时间:2019-01-06 11:18:00    阅读次数:209
Swift - UITextField
```swift import UIKit class ViewController: UIViewController,UITextFieldDelegate { var textField:UITextField!//声明一个UItextField类型变量 override func viewD... ...
分类:编程语言   时间:2019-01-06 11:17:08    阅读次数:235
2658条   上一页 1 ... 3 4 5 6 7 ... 266 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!