piemonte / Twinkle
Licence: mit
✨ Twinkle iOS/tvOS app elements in Swift
Stars: ✭ 569
Programming Languages
swift
15916 projects
Projects that are alternatives of or similar to Twinkle
SPConfetti
Show the confetti only when the user is having fun, and if not having fun, don't show it.
Stars: ✭ 187 (-67.14%)
Mutual labels: tvos, particles
Userdefaultsstore
Why not use UserDefaults to store Codable objects 😉
Stars: ✭ 416 (-26.89%)
Mutual labels: tvos
Corexlsx
Excel spreadsheet (XLSX) format parser written in pure Swift
Stars: ✭ 481 (-15.47%)
Mutual labels: tvos
Weatherview
WeatherView is an Android Library let you make cool weather animations for your app
Stars: ✭ 426 (-25.13%)
Mutual labels: particles
Swiftyutils
All the reusable code that we need in each project
Stars: ✭ 490 (-13.88%)
Mutual labels: tvos
Xcake
🍰 Describe Xcode projects in a human readable format and (re)generate one on demand.
Stars: ✭ 549 (-3.51%)
Mutual labels: tvos
Googlereporter
Easily integrate with Google Analytics in your iOS app
Stars: ✭ 479 (-15.82%)
Mutual labels: tvos
Formvalidator Swift
A framework to validate inputs of text fields and text views in a convenient way.
Stars: ✭ 495 (-13.01%)
Mutual labels: tvos
Swiftframeworktemplate
A template for new Swift iOS / macOS / tvOS / watchOS Framework project ready with travis-ci, cocoapods, Carthage, SwiftPM and a Readme file
Stars: ✭ 527 (-7.38%)
Mutual labels: tvos
Waterwheel.swift
The Waterwheel Swift SDK provides classes to natively connect iOS, macOS, tvOS, and watchOS applications to Drupal 7 and 8.
Stars: ✭ 415 (-27.07%)
Mutual labels: tvos
Provenance
iOS & tvOS multi-emulator frontend, supporting various Atari, Bandai, NEC, Nintendo, Sega, SNK and Sony console systems… Get Started: https://wiki.provenance-emu.com |
Stars: ✭ 4,732 (+731.63%)
Mutual labels: tvos
Sablurimageview
You can use blur effect and it's animation easily to call only two methods.
Stars: ✭ 538 (-5.45%)
Mutual labels: tvos
Twinkle ✨
Twinkle
is a Swift and easy way to make any UIView in your iOS or tvOS app twinkle.
This library creates several CAEmitterLayers and animates them generating a sparkle effect.
A version of Twinkle is also available for Android.
If you like Twinkle, you may also like Burst.
Need a different version of Swift?
-
5.0
- Target your Podfile to the latest release or master -
4.2
- Target your Podfile to theswift4.2
branch
Quick Start
Twinkle
is available and recommended for installation using the Cocoa dependency manager CocoaPods. You can also simply copy the Twinkle.swift
file into your Xcode project.
# CocoaPods
pod "Twinkle", "~> 0.5.0"
# Carthage
github "piemonte/Twinkle" ~> 0.5.0
# SwiftPM
let package = Package(
dependencies: [
.Package(url: "https://github.com/piemonte/Twinkle", majorVersion: 0)
]
)
Usage
The sample project provides an example of how to integrate Twinkle
, otherwise you can follow this example.
import Twinkle
// using the UIView extension
let view: UIView = UIView(frame: CGRect(x: 0, y: 0, width: 150, height: 50))
self.view.addSubview(view)
view.twinkle()
// using the class func
Twinkle.twinkle(myView)
Community
- Found a bug? Open an issue.
- Feature idea? Open an issue.
- Want to contribute? Submit a pull request.
Resources
- Core Animation Reference Collection
- Swift Evolution
- CAEmitterLayer – NSHipster
- Twinkle for Android
- Burst
- Shimmer
- Blurry
License
Twinkle is available under the MIT license, see the LICENSE file for more information.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].