All Projects → piemonte → Twinkle

piemonte / Twinkle

Licence: mit
✨ Twinkle iOS/tvOS app elements in Swift

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
Anim
Swift animation library for iOS, tvOS and macOS.
Stars: ✭ 520 (-8.61%)
Mutual labels:  tvos
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
Fiber2d
Cross-platform 2D Game Engine in pure Swift
Stars: ✭ 415 (-27.07%)
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
Tvwidget
tv常用效果控件,包括焦点、边框处理等。
Stars: ✭ 519 (-8.79%)
Mutual labels:  tvos
Googlereporter
Easily integrate with Google Analytics in your iOS app
Stars: ✭ 479 (-15.82%)
Mutual labels:  tvos
Gridstack
A flexible grid layout view for SwiftUI
Stars: ✭ 474 (-16.7%)
Mutual labels:  tvos
Swiftuipager
Native Pager in SwiftUI
Stars: ✭ 430 (-24.43%)
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
Mtlpp
C++ Metal wrapper
Stars: ✭ 425 (-25.31%)
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
Telegraph
Secure Web Server for iOS, tvOS and macOS
Stars: ✭ 474 (-16.7%)
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
Pixi Particles
A particle system for PixiJS
Stars: ✭ 555 (-2.46%)
Mutual labels:  particles
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 ✨

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.

Build Status Pod Version Carthage compatible Swift Version GitHub license

Need a different version of Swift?

  • 5.0 - Target your Podfile to the latest release or master
  • 4.2 - Target your Podfile to the swift4.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

Resources

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].