UIControl的屬性:
UIControl視圖層次管理方法:
UIButton的外表屬性關(guān)鍵字:State Config
UIButton的標(biāo)題文字:UIButton.setTitle
UIButton的標(biāo)題文字顏色:UIButton.setTitleColor
UIButton的標(biāo)題文字陰影:UIButton.setTitleShadowColor
UIButton的背景圖片:UIButton.setBackgroundImage
UIButton的高亮變暗開關(guān):UIButton.adjustsImageWhenHighlighted(Bool值)
UIButton的禁用變暗開關(guān):UIButton.adjustsImageWhenDisabled(Bool值)
UIButton的tintColor屬性默認(rèn)顏色為:藍(lán)色
UILabel的字體:UILabel.font
字體:UIFont(name:,size)
UILabel的對(duì)齊方式:UILabel.textAlignment
枚舉NSTextAlignment的對(duì)齊方式列表:
UILabel的字符串行的截取:UILabel.lineBreakMode
UILabel的行數(shù):UILabel.numberOfLines
枚舉NSLineBreakMode字符串行的截取列條:
UILabel調(diào)整字體大小以完全顯示文案:UILabel.adjustsFontSizeToFitWidth(Bool值)
UILabel縮小字間距以完全顯示文案:UILabel.allowsDefaultTighteningForTruncation(Bool值)
動(dòng)態(tài)調(diào)整UILabel的大小以完全顯示文案:getTextRectSize
UILabel的陰影顏色:UILabel.shadowColor
UILabel的陰影偏移:UILabel.shadowOffset = CGSize(width:, Height:)
UISwitch的大小設(shè)置是什么情況:大小設(shè)置是無效的,永遠(yuǎn)保持在width:51,height:31
UISwitch的開關(guān)狀態(tài):UISwitch.setOn(Bool, animated:)
UISwitch的開關(guān)圓頭顏色:UISwitch.thumbTintColor
UISwitch的開關(guān)On狀態(tài)底色:UISwitch.onTintColor
UISwitch的開關(guān)非On狀態(tài)底色:UISwitch.TintColor
UIRefreshControl刷新控件:書第176頁
UITextField的代理(class):UITextFieldDelegate(必須實(shí)現(xiàn))
UITextField的代理為self:UITextField.delegate = self
UITextField的邊框樣式:UITextField.borderStyle
UITextField的邊框樣式為無邊框:UITextBorderStyle.none
UITextField的邊框樣式為有陰影的邊框:UITextBorderStyle.bezel
UITextField的邊框樣式為直角矩形邊界線:UITextBorderStyle.line
UITextField的邊框樣式為圓角矩形邊框:UITextBorderStyle.roundedRect
UITextField的默認(rèn)文本:UITextField.placeholder
UITextField的文字自動(dòng)修復(fù)功能:UITextField.autocorrectionType
UITextField的return鍵的樣式:UITextField.returnKeyType
UITextField的return鍵的樣式列表:
UITextField的清除按鈕:UITextField.clearButtonMode
UITextField的清除按鈕重不出現(xiàn):UITextFieldViewMode.Never
UITextField的清除按鈕編輯時(shí)出現(xiàn):UITextFieldViewMode.whileEditing
UITextField的清除按鈕編輯時(shí)不出現(xiàn):UITextFieldViewMode.unlessEditing
UITextField的清除按鈕一直出現(xiàn):UITextFieldViewMode.Always
UITextField的鍵盤輸入樣式:UITextField.keyboardType
UITextField的鍵盤外觀樣式:UITextField.keyboardAppearance
UITextField的背景圖片:UITextField.background
UITextField的不啟用狀態(tài)的背景圖片:UITextField.disabledBackground
UITextField的浮動(dòng)視圖:書第181頁
UITextField的代理方法:書第183頁