Comments (3)
你可以试着降低帧数,改一下 _displayFrameTick 这个方法。
另外,理论上,使用 SpriteKit 效率会更高,CPU 占用也更低。
from ltmorphinglabel.
确实改了帧数就好了一些,谢谢,但是确实有点占用CPU,但是真的非常喜欢这种效果,初入开发,就能够接触到这么牛的效果,我是OC和Swift混编的,应该没有什么影响吧
from ltmorphinglabel.
如果你用了那几个粒子动画效果的话,可以适当减少喷发量,或者降低素材分辨率,也能提高性能。
用 Swift 的话最终项目会多一个运行时,包会大一点,其它没什么影响。
不过上面提到的这些问题会随着硬件更新换代自动解决,我觉得可能不需要花时间解决,请原谅。
from ltmorphinglabel.
Related Issues (20)
- +6000 stars - two lines of instructions HOT 1
- Is there any way to use this in Objective-C?
- Swift Compile Error while adding the lib manually HOT 1
- numberLines modify is invalid? HOT 1
- Float to Int conversion error in LTMorphingLabel.swift HOT 1
- Lags in the animation HOT 7
- how can i use it in flutter HOT 1
- Incomplete display HOT 1
- morphingEffect cannot be found in version 0.0.7 HOT 1
- Wrong System font on iOS 13 beta
- How to export video or LTMorphingLabel insert to a video? HOT 2
- Times New Roman Font on iOS-13 (Xcode-11) HOT 2
- Help!!! Why I got this? Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem. HOT 1
- Weird spacing before starting animation HOT 2
- How to insert the LTMorphongLabel animation in AVComposition HOT 1
- delegate method morphingDidStart is not being called HOT 2
- Build fails with Carthage and Xcode 12 GM HOT 7
- Xcode12.0 error HOT 2
- Dependency "LTMorphingLabel" has no shared framework schemes
- SwiftUI Label Width
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ltmorphinglabel.