المشاريع

حول
يستخدم Shiny الجيروسكوب لمحاكاة تأثيرات الإضاءة والحركة على الألوان. ويعمل مع كل عناصر SwiftUI View تقريبًا.
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- +١
- خلال شهر
- +١
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلShiny

Add motion-based texture to your SwiftUI views
Draw attention to important interface elements with .shiny(). Shiny uses your gyroscope to simulate lighting and motion effects on colors. It works on almost every native SwiftUI View. Try it on Text, Toggle, or a VStack. Just add .shiny() to get started!
💳 Inspired by the Apple Cash Card
Contents
Package
For Xcode Projects
File > Swift Packages > Add Package Dependency: https://github.com/maustinstar/shiny
For Swift Packages
Add a dependency in your your Package.swift
.package(url: "https://github.com/maustinstar/shiny.git", from: "0.0.1"),
Basic Usage
Just import Shiny and modify your view with .shiny() to get started.
import Shiny
...
Text("Hello, shiny world! ✨").shiny()
See the full Reference Guide.
Example
Rainbow text on silver card

Text("shiny")
.font(.largeTitle)
.fontWeight(.bold).shiny()
.background(
RoundedRectangle(cornerRadius: 14.0)
.frame(width: 200.0, height: 70.0)
.shiny(.hyperGlossy(UIColor.systemGray5)))
See more Examples.
More
🚀 Looking for more fun SwiftUI Packages?
Credits
- Michael Verges - Initial work - [email protected] -
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…