프로젝트
GitHub에서 보기 

maustinstar/shiny
소개
Shiny는 자이로스코프를 사용해 색상에 조명과 움직임 효과를 시뮬레이션합니다. 거의 모든 SwiftUI 뷰에서 작동합니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- +1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalShiny

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] -
관련 프로젝트 살펴보기
불러오는 중…