LTMorphingLabel:用 Swift 编写的 UILabel 的动画变形效果-开源

上传者: 42118011 | 上传时间: 2021-08-09 18:03:33 | 文件大小: 140KB | 文件类型: ZIP
一个用 Swift 编写的变形 UILabel 子类。 .Scale 效果模仿了 WWDC 2014 的 iOS 8 的 Apple QuickType 动画。新的变形效果可用作 Swift 扩展。 XCFramework 是 Xcode 11 中引入的新选项。您可以从 Releases 页面手动下载预编译的 LTMorphingLabel.xcframework.zip。 然后将其拖放到您的项目中。 将标签的类从 UILabel 更改为 LTMorpingLabel。 以编程方式将新字符串设置为其 text 属性。 要交互使用,请在更改 .text 属性后调用 .pause(),并使用 updateProgress(progress: Float) 交互更新进度。 尽管该库已在 App Store 上的一些产品中使用,但它仍然是一个实验项目。

文件下载

资源详情

[{"title":"( 53 个子文件 140KB ) LTMorphingLabel:用 Swift 编写的 UILabel 的动画变形效果-开源","children":[{"title":"lexrus-LTMorphingLabel-cbde73b","children":[{"title":".gitignore <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"Package.swift <span style='color:#111;'> 886B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 5.98KB </span>","children":null,"spread":false},{"title":"LTMorphingLabelDemo","children":[{"title":"AppDelegate.swift <span style='color:#111;'> 586B </span>","children":null,"spread":false},{"title":"LTDemoViewController.swift <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"Launch Screen.storyboard <span style='color:#111;'> 4.58KB </span>","children":null,"spread":false},{"title":"Images.xcassets","children":[{"title":"Contents.json <span style='color:#111;'> 62B </span>","children":null,"spread":false},{"title":"AppIcon.appiconset","children":[{"title":"Icon-83.5@2x.png <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"Icon-60@2x.png <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"Contents.json <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"Icon-60@3x.png <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"Icon-76@2x.png <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"Icon-76.png <span style='color:#111;'> 662B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Info.plist <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"LTMorphingLabelDemo.storyboard <span style='color:#111;'> 17.59KB </span>","children":null,"spread":false}],"spread":true},{"title":".swiftlint.yml <span style='color:#111;'> 268B </span>","children":null,"spread":false},{"title":"LTMorphingLabel","children":[{"title":"LTMorphingLabel+Sparkle.swift <span style='color:#111;'> 5.95KB </span>","children":null,"spread":false},{"title":"LTEasing.swift <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"LTMorphingEffect.swift <span style='color:#111;'> 2.68KB </span>","children":null,"spread":false},{"title":"LTMorphingLabel.swift <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false},{"title":"LTMorphingLabel+Burn.swift <span style='color:#111;'> 7.88KB </span>","children":null,"spread":false},{"title":"LTMorphingLabel+Evaporate.swift <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"LTMorphingLabel+Fall.swift <span style='color:#111;'> 5.60KB </span>","children":null,"spread":false},{"title":"LTMorphingLabel+Pixelate.swift <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 806B </span>","children":null,"spread":false},{"title":"LTStringDiffResult.swift <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"LTCharacterLimbo.swift <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"tvOS-Info.plist <span style='color:#111;'> 806B </span>","children":null,"spread":false},{"title":"LTEmitterView.swift <span style='color:#111;'> 4.77KB </span>","children":null,"spread":false},{"title":"LTCharacterDiffResult.swift <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"LTMorphingLabel.h <span style='color:#111;'> 534B </span>","children":null,"spread":false},{"title":"SwiftUI","children":[{"title":"MorphingText.swift <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"Particles","children":[{"title":"Fragment.png <span style='color:#111;'> 107B </span>","children":null,"spread":false},{"title":"Sparkle.png <span style='color:#111;'> 597B </span>","children":null,"spread":false},{"title":"Smoke.png <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"Fire.png <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false}],"spread":false},{"title":"LTMorphingLabel+Anvil.swift <span style='color:#111;'> 10.98KB </span>","children":null,"spread":false}],"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"LTMorphingLabelTests","children":[{"title":"LTMorphingLabelTests.swift <span style='color:#111;'> 3.14KB </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 733B </span>","children":null,"spread":false}],"spread":true},{"title":"LTMorphingLabel.podspec <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"LTMorphingLabelUITests","children":[{"title":"Info.plist <span style='color:#111;'> 680B </span>","children":null,"spread":false},{"title":"LTMorphingLabelUITests.swift <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"build_xcframework.sh <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"LTMorphingLabelDemo.xcodeproj","children":[{"title":"project.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 195B </span>","children":null,"spread":false},{"title":"xcshareddata","children":[{"title":"IDEWorkspaceChecks.plist <span style='color:#111;'> 238B </span>","children":null,"spread":false},{"title":"LTMorphingLabelDemo.xccheckout <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false}],"spread":false},{"title":"xcuserdata","children":[{"title":"lex.xcuserdatad","children":[{"title":"UserInterfaceState.xcuserstate <span style='color:#111;'> 137.29KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"project.pbxproj <span style='color:#111;'> 52.64KB </span>","children":null,"spread":false},{"title":"xcshareddata","children":[{"title":"xcschemes","children":[{"title":"MorphingLabel.xcscheme <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"LTMorphingLabelDemo.xcscheme <span style='color:#111;'> 4.12KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"xcuserdata","children":[{"title":"lex.xcuserdatad","children":[{"title":"xcschemes","children":[{"title":"xcschememanagement.plist <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":".travis.yml <span style='color:#111;'> 266B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明