测试已测试 | ✗ |
语语言 | SwiftSwift |
许可协议 | MIT |
发布最新发布 | 2016年12月 |
SwiftSwift 版本 | 3.0 |
SPM支持 SPM | ✗ |
由Or Elmaliah维护。
Swift 3.0
https://www.dropbox.com/s/1sxiwg1ogqdcqpd/demo.mov?dl=0
self.floatingSpeedWidgetManager = FloatingSpeedWidgetManager(withTargetViewController: self, anchorPoint: CGPoint(x: 30, y: UIScreen.main.bounds.height - 100), andWidgetSize: 70)
floatingWidgetManager.floatingWidgetView.speedNumberFont = UIFont(name: "customFont", size: 24)
floatingWidgetManager.floatingWidgetView.speedUnitFont = UIFont(name: "customFont", size: 15)
self.floatingWidgetManager = floatingWidgetManager // Important keep a strong reference to the manager
FloatingSpeedWidgetManager *floatingWidgetManager = [[FloatingSpeedWidgetManager alloc] initWithTargetViewController:self
anchorPoint:CGPointMake(30, 100)
andWidgetSize:70];
floatingWidgetManager.floatingWidgetView.speedNumberFont = [UIFont yourCustomFontOfSize:25];
floatingWidgetManager.floatingWidgetView.speedUnitFont = [UIFont yourCustomFontOfSize:14];
self.floatingWidgetManager = floatingWidgetManager; // Important keep a strong reference to the manager
FloatingSpeedWidget是由Or Elmaliah所有并维护的。您可以在Twitter上关注我 @OrElm。
版权所有© 2016 Or Elmaliah
以下是对任何获得此软件及其相关文档(“软件”)副本的个人,免费授权,可以在不受限制的情况下处理软件,包括但不限于使用、复制、修改、合并、发布、分发、再许可和/或出售软件副本,并允许向获得软件的个人提供做上述事项的权利,前提是满足以下条件
上述版权声明和本许可声明应包含在软件的副本或主要部分中。
软件“按原样”提供,没有任何形式的保证,无论是明示的还是暗示的,包括但不限于对适销性、特定用途适用性和非侵权的保证。在任何情况下,作者或版权所有者均不对任何索赔、损害或其他责任负责,无论是在合同、侵权或其他情况下,均不承担责任,无论是由软件或其使用或其他方式引起的。