{"id":17084310,"url":"https://github.com/piemonte/twinkle","last_synced_at":"2025-04-04T18:09:42.306Z","repository":{"id":27810906,"uuid":"31300362","full_name":"piemonte/Twinkle","owner":"piemonte","description":":sparkles: Twinkle interface elements in Swift","archived":false,"fork":false,"pushed_at":"2021-03-03T06:41:49.000Z","size":466,"stargazers_count":614,"open_issues_count":5,"forks_count":70,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-03-28T17:11:13.210Z","etag":null,"topics":["animation","caemitterlayer","ios","particles","sparkle","sparkles","swift","tvos","twinkle"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/piemonte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-25T06:24:58.000Z","updated_at":"2025-02-15T14:23:10.000Z","dependencies_parsed_at":"2022-08-21T05:20:50.581Z","dependency_job_id":null,"html_url":"https://github.com/piemonte/Twinkle","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piemonte%2FTwinkle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piemonte%2FTwinkle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piemonte%2FTwinkle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piemonte%2FTwinkle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piemonte","download_url":"https://codeload.github.com/piemonte/Twinkle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226215,"owners_count":20904465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","caemitterlayer","ios","particles","sparkle","sparkles","swift","tvos","twinkle"],"created_at":"2024-10-14T13:06:38.927Z","updated_at":"2025-04-04T18:09:42.290Z","avatar_url":"https://github.com/piemonte.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Twinkle](https://raw.github.com/piemonte/twinkle/master/twinkle.gif)\n\n## Twinkle :sparkles:\n\n`Twinkle` is a [Swift](https://developer.apple.com/swift/) and easy way to make any UIView in your iOS or tvOS app twinkle.\n\nThis library creates several CAEmitterLayers and animates them generating a sparkle effect.\n\nA version of Twinkle is also [available for Android](https://github.com/dev-labs-bg/twinkle).\n\nIf you like Twinkle, you may also like [Burst](https://github.com/piemonte/Burst).\n\n[![Build Status](https://travis-ci.com/piemonte/Twinkle.svg?branch=master)](https://travis-ci.com/piemonte/Twinkle) [![Pod Version](https://img.shields.io/cocoapods/v/Twinkle.svg?style=flat)](http://cocoadocs.org/docsets/Twinkle/) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Swift Version](https://img.shields.io/badge/language-swift%205.0-brightgreen.svg)](https://developer.apple.com/swift) [![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://github.com/piemonte/Twinkle/blob/master/LICENSE)\n\nNeed a different version of Swift?\n* `5.0` - Target your Podfile to the latest release or master\n* `4.2` - Target your Podfile to the `swift4.2` branch\n\n# Quick Start\n\n`Twinkle` is available and recommended for installation using the Cocoa dependency manager [CocoaPods](http://cocoapods.org/). You can also simply copy the `Twinkle.swift` file into your Xcode project.\n\n```ruby\n# CocoaPods\npod \"Twinkle\", \"~\u003e 0.5.0\"\n\n# Carthage\ngithub \"piemonte/Twinkle\" ~\u003e 0.5.0\n\n# SwiftPM\nlet package = Package(\n    dependencies: [\n        .Package(url: \"https://github.com/piemonte/Twinkle\", majorVersion: 0)\n    ]\n)\n```\n\n## Usage\n\nThe sample project provides an example of how to integrate `Twinkle`, otherwise you can follow this example.\n\n``` Swift\n   import Twinkle\n```\n\n``` Swift\n\n   // using the UIView extension\n   let view: UIView = UIView(frame: CGRect(x: 0, y: 0, width: 150, height: 50))\n   self.view.addSubview(view)\n   view.twinkle()\n\n   // using the class func\n   Twinkle.twinkle(myView)\n```\n\n## Community\n\n- Found a bug? Open an [issue](https://github.com/piemonte/twinkle/issues).\n- Feature idea? Open an [issue](https://github.com/piemonte/twinkle/issues).\n- Want to contribute? Submit a [pull request](https://github.com/piemonte/twinkle/pulls).\n\n## Resources\n\n* [Core Animation Reference Collection](https://developer.apple.com/library/ios/documentation/Cocoa/Reference/CoreAnimation_framework/index.html)\n* [Swift Evolution](https://github.com/apple/swift-evolution)\n* [CAEmitterLayer – NSHipster](https://nshipster.com/caemitterlayer/)\n* [Twinkle for Android](https://github.com/dev-labs-bg/twinkle)\n* [Burst](https://github.com/piemonte/Burst)\n* [Shimmer](https://github.com/facebook/shimmer)\n* [Blurry](https://github.com/piemonte/Blurry)\n\n## License\n\nTwinkle is available under the MIT license, see the [LICENSE](https://github.com/piemonte/twinkle/blob/master/LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiemonte%2Ftwinkle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiemonte%2Ftwinkle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiemonte%2Ftwinkle/lists"}