UIButton-XibLinesText:自动转换UIButton在Xib设置Title时输入的换行符\n或\r\n

时间:2024-06-05 05:06:25
【文件属性】:

文件名称:UIButton-XibLinesText:自动转换UIButton在Xib设置Title时输入的换行符\n或\r\n

文件大小:72KB

文件格式:ZIP

更新时间:2024-06-05 05:06:25

Objective-C

UIButton-XibLinesText 自动转换UIButton在Xib设置Title时输入的换行符 Import pod 'UIButton-XibLinesText', '~> 1.0.1' Usage 若只设置了UIControlStateNormal的Title或其它State的Title与UIControlStateNormal不同直接import即可 #import "UIButton+VDXibLinesText.h" 若有其它State的Title和UIControlStateNormal相同需手动设置,因无法确定是否要为该State重新设值,若非UIControlStateNormal的值为nil默认会返回UIControlStateNormal的Title #import "UIButton+VDXibLinesText.h" self.testButton.vd_


【文件预览】:
UIButton-XibLinesText-master
----Pod()
--------Classes()
----screenshots2.png(62KB)
----UIButton-XibLinesText.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(20KB)
----UIButton-XibLinesText.podspec(1KB)
----UIButton-XibLinesTextTests()
--------UIButton_XibLinesTextTests.m(911B)
--------Info.plist(747B)
----LICENSE(1KB)
----UIButton-XibLinesText()
--------main.m(344B)
--------UIButton_XibLinesText.xcdatamodeld()
--------AppDelegate.h(648B)
--------AppDelegate.m(6KB)
--------Base.lproj()
--------ViewController.h(225B)
--------Images.xcassets()
--------Info.plist(1KB)
--------ViewController.m(877B)
----README.md(829B)
----screenshots1.png(20KB)

网友评论