{"id":2594,"url":"https://github.com/jogendra/JSLabel","last_synced_at":"2025-08-03T00:32:05.337Z","repository":{"id":56916488,"uuid":"97015826","full_name":"jogendra/JSLabel","owner":"jogendra","description":"A simple designable subclass on UILabel with extra IBDesignable and Blinking features.","archived":false,"fork":false,"pushed_at":"2018-04-10T15:02:25.000Z","size":153,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-05T06:33:45.669Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://konfire.com","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/jogendra.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":"2017-07-12T14:13:03.000Z","updated_at":"2022-05-09T13:11:41.000Z","dependencies_parsed_at":"2022-08-20T21:20:17.752Z","dependency_job_id":null,"html_url":"https://github.com/jogendra/JSLabel","commit_stats":null,"previous_names":["imjog/jslabel"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jogendra%2FJSLabel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jogendra%2FJSLabel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jogendra%2FJSLabel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jogendra%2FJSLabel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jogendra","download_url":"https://codeload.github.com/jogendra/JSLabel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228510736,"owners_count":17931759,"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":[],"created_at":"2024-01-05T20:16:17.879Z","updated_at":"2024-12-06T18:30:36.441Z","avatar_url":"https://github.com/jogendra.png","language":"Swift","funding_links":[],"categories":["UI"],"sub_categories":["Label"],"readme":"# JSLabel\n[![Version](https://img.shields.io/cocoapods/v/JSLabel.svg?style=flat)](http://cocoapods.org/pods/JSLabel)\n[![License](https://img.shields.io/cocoapods/l/JSLabel.svg?style=flat)](http://cocoapods.org/pods/JSLabel)\n[![Platform](https://img.shields.io/cocoapods/p/JSLabel.svg?style=flat)](http://cocoapods.org/pods/JSLabel)\n![Language](https://img.shields.io/badge/language-Swift%203-orange.svg)\n[![Twitter](https://img.shields.io/badge/twitter-@imjog24-blue.svg?style=flat)](https://twitter.com/imjog24)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n\u003cimg src=\"https://github.com/imjog/JSLabel/blob/master/Example/JSLabel/screen.png\" width=\"300\"\u003e \u003cimg src=\"https://github.com/imjog/JSLabel/blob/master/Example/JSLabel/blinkscreen.png\" width=\"300\"\u003e\n\n## Demo\n\n```bash\npod try JSLabel\n```\n\n...or clone this repo and build and run/test the `JSLabel` project in Xcode to see `JSLabel` in action. If you don't have [CocoaPods](http://cocoapods.org) installed, grab it with `[sudo] gem install cocoapods`.\n\n```bash\n$ cd Example\n```\n```\n$ pod install\n```\n```\n$ open JSLabel.xcworkspace\n```\n\n## Requirements\n- iOS 8.3+\n- Xcode 7+\n- Swift 3\n\n## Installation\n\nJSLabel is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"JSLabel\"\n```\n### Manual Installation\n\nJust drag the `JSLabel.swift` files into your project.\n\n### IBDesignable\n\n`JSLabel` includes `IBInspectable` annotations to enable configuring the label inside Interface Builder. However, if you see these warnings when building...\n\n```\nIB Designables: Failed to update auto layout status: Failed to load designables from path (null)\nIB Designables: Failed to render instance of JSLabel: Failed to load designables from path (null)\n```\n\n...then you are likely using `JSLabel` as a static library, which does not support IB annotations. Some workarounds include:\n\n- Install `JSLabel` as a dynamic framework using CocoaPods with `use_frameworks!` in your `Podfile`, or with Carthage\n- Install `JSLabel` by dragging its source files to your project\n\n## Usage\n### Use Blinking feature\n\n```Swift\nimport JSLabel\n\nlet BlinkLabel = JSLabel()\nBlinkLabel.startBlinking()\nBlinkLabel.stopBlinking()\n\n```\n![](https://github.com/obuseme/BlinkingLabel/blob/master/blinkinglabel.gif)\n### Creating a view from the storyboard\n\n- If you already have a Label where you want to use then set it's `class` to `JSLabel` in identity inspector.\n\n- Or drag a **Label** from object library and then change it's `class` to `JSLabel` in identity inspector.\n\n- Set the `module` property to `JSLabel`.\n\n\u003cimg\nsrc='https://github.com/imjog/JSLabel/blob/master/Example/JSLabel/setclass.png' width='260' alt='Add JsLabel to storyboard'\u003e\n\n- Customize the view properties in the attributes inspector.\n\n\u003cimg\nsrc='https://github.com/imjog/JSLabel/blob/master/Example/JSLabel/inspactable.png' width='360' alt='Attributes inspector'\u003e\n\n## Author\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n     \u003cimg src=\"https://avatars2.githubusercontent.com/u/20956124?s=400\u0026u=01fab3fc9bb3d2ee799e314d3fe23c54d1deeb07\u0026v=4\" width=\"180\"/\u003e\n     \n     Jogendra Singh\n\n\u003cp align=\"center\"\u003e\n\u003ca href = \"https://github.com/imjog\"\u003e\u003cimg src = \"http://www.iconninja.com/files/241/825/211/round-collaboration-social-github-code-circle-network-icon.svg\" width=\"36\" height = \"36\"/\u003e\u003c/a\u003e\n\u003ca href = \"https://twitter.com/imjog24\"\u003e\u003cimg src = \"https://www.shareicon.net/download/2016/07/06/107115_media.svg\" width=\"36\" height=\"36\"/\u003e\u003c/a\u003e\n\u003ca href = \"https://www.linkedin.com/in/jogendrasingh24/\"\u003e\u003cimg src = \"http://www.iconninja.com/files/863/607/751/network-linkedin-social-connection-circular-circle-media-icon.svg\" width=\"36\" height=\"36\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003c/td\u003e\n\u003c/tr\u003e \n  \u003c/table\u003e\n\n## What's next\n\n- Any suggestions?\n\n## Contribution\n\n- If you found a **bug**, open an **issue**\n- If you have a **feature request**, open an **issue**\n- If you want to **contribute**, submit a **pull request**\n- If you have any issue or want **help**, please drop me a mail on jogendra.singh.jog@gmail.com\n\n## License\n\nJSLabel is available under the MIT license. See the [LICENSE](LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjogendra%2FJSLabel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjogendra%2FJSLabel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjogendra%2FJSLabel/lists"}