{"id":13340142,"url":"https://github.com/bullinnyc/MagicText","last_synced_at":"2025-03-11T16:32:30.985Z","repository":{"id":154464496,"uuid":"631928860","full_name":"bullinnyc/MagicText","owner":"bullinnyc","description":"MagicText is the perfect solution when you need to show a small amount of information in a pretty wrapper.","archived":false,"fork":false,"pushed_at":"2024-06-17T08:58:06.000Z","size":1903,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-24T04:27:14.724Z","etag":null,"topics":["animation","animation-text","ios","macos","magic-text","swift","swiftui","text","tvos","visionos","watchos"],"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/bullinnyc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-24T11:04:56.000Z","updated_at":"2024-10-17T04:25:05.000Z","dependencies_parsed_at":"2024-10-24T00:11:17.992Z","dependency_job_id":"e9e27cbf-14dc-4d59-a9c2-608e0615353b","html_url":"https://github.com/bullinnyc/MagicText","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bullinnyc%2FMagicText","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bullinnyc%2FMagicText/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bullinnyc%2FMagicText/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bullinnyc%2FMagicText/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bullinnyc","download_url":"https://codeload.github.com/bullinnyc/MagicText/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243070499,"owners_count":20231464,"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","animation-text","ios","macos","magic-text","swift","swiftui","text","tvos","visionos","watchos"],"created_at":"2024-07-29T19:22:08.115Z","updated_at":"2025-03-11T16:32:25.974Z","avatar_url":"https://github.com/bullinnyc.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MagicText\n\n[![Swift Package Manager compatible](https://img.shields.io/badge/SPM-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager)\n\nMagicText is the perfect solution when you need to show a small amount of information in a pretty wrapper.\n\n## Gifs\n\n![](./charmed.gif) ![](./charmed-color.gif) ![](./bubble.gif) ![](./fantasy.gif) ![](./charmed-letter.gif) ![](./art-letter.gif)\n\n## Installation\n\n### [Swift Package Manager](https://swift.org/package-manager/)\n\nGoing to Xcode `File` \u003e `Add Packages...` and add the repository by giving the URL  \n`https://github.com/bullinnyc/MagicText`  \nEnjoy!\n\n## Usage\n\n```swift\nimport MagicText\n```\n\n```swift\nlet singleLineExampleText = \"Life is like a box of chocolates, you never know what you’re gonna get.\"\n\nlet multiLineExampleText = \"\"\"\nLife is like a box\nof chocolates, you never\nknow what you’re\ngonna get.\n\"\"\"\n\n// Charmed magic text (default).\nMagicTextView(\n    text: singleLineExampleText,\n    fontSize: 28\n) {\n    print(\"Animation finished.\")\n}\n\n// Fantasy magic text.\nMagicTextView(\n    text: multiLineExampleText,\n    textColors: [.black.opacity(0.8)],\n    fontSize: 28,\n    magicType: .fantasy\n) {\n    print(\"Animation finished.\")\n}\n```\n\n### Set the type of MagicText\n\n**Note:** Default `magicType` is set to `charmed`.  \nYou can try other types.\n\n```swift\n.charmed\n.artLetter\n.bubble\n.fantasy\n.charmedLetter(backgroundColor:)\n```\n\n## Requirements\n\n- iOS 14.0 + / macOS 11.0 + / tvOS 14.0 + / watchOS 7.0 + / visionOS 1.0 +\n- Xcode 15.0 +\n- [SwiftUI](https://developer.apple.com/xcode/swiftui/)\n\n## License\n\n- MagicText is distributed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbullinnyc%2FMagicText","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbullinnyc%2FMagicText","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbullinnyc%2FMagicText/lists"}