偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

Swift 寫的分享按鈕

移動(dòng)開發(fā)
Swift 寫的分享按鈕,簡單好用

 源碼簡介:Swift 寫的分享按鈕,簡單好用

測試環(huán)境:Xcode 6.2,iOS 7.0以上

源碼效果:

Alt text Alt text

源碼片段:

  1. let deformationBtn = DeformationButton(frame: CGRectMake(10010014036), color: getColor("e13536")) 
  2. self.view.addSubview(deformationBtn) 
  3.  
  4. deformationBtn.forDisplayButton.setTitle("微博注冊", forState: UIControlState.Normal) 
  5. deformationBtn.forDisplayButton.titleLabel?.font = UIFont.systemFontOfSize(15); 
  6. deformationBtn.forDisplayButton.setTitleColor(UIColor.whiteColor(), forState: UIControlState.Normal) 
  7. deformationBtn.forDisplayButton.titleEdgeInsets = UIEdgeInsetsMake(0600
  8. deformationBtn.forDisplayButton.setImage(UIImage(named:"微博logo.png"), forState: UIControlState.Normal) 
  9.  
  10. deformationBtn.addTarget(self, action: "btnEvent", forControlEvents: UIControlEvents.TouchUpInside) 

下載地址:http://down.51cto.com/data/2070216

責(zé)任編輯:倪明
相關(guān)推薦

2015-07-28 16:35:27

Swift猜拳

2015-08-03 11:42:27

Swift漢堡式過度動(dòng)畫

2012-03-31 10:05:51

WEBCSS

2015-03-19 15:17:11

2013-04-10 15:35:28

微信公眾平臺(tái)技巧

2015-09-29 10:18:22

2021-06-07 10:00:56

yml文件開發(fā)

2015-04-17 16:07:11

swiftOC

2015-03-16 10:33:14

Swift指針

2015-07-01 13:50:29

Swift開源思考

2015-07-08 16:43:02

Configurati

2015-11-23 10:07:19

Swift模式匹配

2015-07-30 10:42:38

SwiftUIButton

2016-06-07 14:42:18

Swift設(shè)計(jì)

2015-01-21 16:25:29

Swift指針

2015-10-28 10:31:47

2014-03-12 10:42:10

equeue分布式消息隊(duì)列

2022-03-31 09:01:10

Swift類型擦除類型安全性

2022-05-11 09:01:54

Swift類型系統(tǒng)幻象類型

2022-07-04 08:54:39

Swift處理器項(xiàng)目
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)