[已解决]swift中图片的模式:ScaleAspectFit ScaleAspectFill
crifan 9年前 (2016-03-02) 3820浏览 0评论
ScaleAspectFit ScaleAspectFill 0000_0000_0000_0010.ScaleToFill、ScaleAspectFit、ScaleAspectFill – Meadows of Heaven ̵...
crifan 9年前 (2016-03-02) 3820浏览 0评论
ScaleAspectFit ScaleAspectFill 0000_0000_0000_0010.ScaleToFill、ScaleAspectFit、ScaleAspectFill – Meadows of Heaven ̵...
crifan 9年前 (2016-03-02) 5594浏览 0评论
之前一直正常的,结果在加入一个object-C的库,然后自动添加了一个bridge header 然后后来又删除该库,包括对应的bridge header,结果再去编译,就出错了: Bridging header ‘/Users/c...
crifan 9年前 (2016-03-02) 2102浏览 0评论
【类的扩展】 GitHub – goktugyil/EZSwiftExtensions: How Swift standard types and classes were supposed to work. 太好用了。 【上架AppSt...
crifan 9年前 (2016-03-02) 2669浏览 0评论
swift GitHub – MakeZL/MLSwiftBasic: UI and animation of the basic framework of swift “7> 图片浏览器(支持横竖屏、放大缩小、淡入淡出、Push等...
crifan 9年前 (2016-02-27) 1826浏览 0评论
点击发送后,现在结果是: 发送的内容,虽然插入了一行,但是却被键盘挡住了: 只有隐藏键盘: 重新出现键盘,才能看到: 希望: 键盘仍在显示的情况下,新发送或接收消息,可以显示出来,而不被键盘挡住 swift tableview insert ...
crifan 9年前 (2016-02-26) 3928浏览 0评论
需要实现,类似于微信中发送图片后: 图片的显示 点击后,显示大图 且支持通过手势去缩放图片 swift image lib Swift – 图像控件(UIImageView)的用法 GitHub – onevcat/Kingf...
crifan 9年前 (2016-02-25) 3896浏览 0评论
[背景] 需要让一个view支持点击 [解决过程] 1.搜: swift uiview click 参考: Swift, UIView touch event in controller – Stack Overflow ios ...
crifan 9年前 (2016-02-25) 4330浏览 0评论
代码: func addGroupTopicItem(groupTopicItem:GroupItem) { if !self.existedGroupTopic(groupTopicItem.id) { ...
crifan 9年前 (2016-02-24) 3876浏览 0评论
Method with Objective-C selector conflicts with method from superclass with the same Objective-C selector 相关代码: class Con...
crifan 9年前 (2016-02-22) 3020浏览 0评论
一个登陆页面中: 点击输入框,显示键盘: 希望点击其他区域,键盘消失 [解决过程] 1.搜: swift hit hide keyboard 参考: Close iOS Keyboard by touching anywhere using Sw...