Proyek
Lihat di GitHub
joekndy/MarqueeText
Tentang
Efek marquee atau “teks bergulir” di SwiftUI.
Proyek lainnyaPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliMarqueeText
A SwiftUI Marquee or "scrolling text" effect found in Apple native apps. For when one line isn't enough, but two is just too much 😉

Usage
Add this repository as a Swift Package Dependency to your project. You find the option in Xcode unter "File > Swift Packages > Add Package Dependency...". Paste the link to this project in and voila!
import SwiftUI
import MarqueeText
struct ContentView: View {
var body: some View {
MarqueeText(
text: "A subtitle that is way too long, but it scrolls homie",
font: UIFont.preferredFont(forTextStyle: .subheadline),
leftFade: 16,
rightFade: 16,
startDelay: 3
)
}
}
License
You can use this software under the terms and conditions of the MIT License.
Joe Kennedy © 2020
Jelajahi proyek terkait
Memuat…