{"id":20664725,"url":"https://github.com/jasudev/axistooltip","last_synced_at":"2025-03-17T16:13:15.791Z","repository":{"id":38889033,"uuid":"464927619","full_name":"jasudev/AxisTooltip","owner":"jasudev","description":"A library that displays tooltips in the desired view. Supports iOS and macOS.","archived":false,"fork":false,"pushed_at":"2023-10-12T11:33:34.000Z","size":928,"stargazers_count":204,"open_issues_count":6,"forks_count":22,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T02:20:05.523Z","etag":null,"topics":["alert","ios","macos","macos-tooltip","overlay","popup","swift","swiftui","swiftui-tooltip","swiftui-tooltips","tooltip","tooltip-library","tooltip-swiftui","tooltips"],"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/jasudev.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":"2022-03-01T14:31:41.000Z","updated_at":"2025-03-06T09:45:39.000Z","dependencies_parsed_at":"2024-11-16T21:15:32.149Z","dependency_job_id":null,"html_url":"https://github.com/jasudev/AxisTooltip","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasudev%2FAxisTooltip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasudev%2FAxisTooltip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasudev%2FAxisTooltip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasudev%2FAxisTooltip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasudev","download_url":"https://codeload.github.com/jasudev/AxisTooltip/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244066189,"owners_count":20392406,"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":["alert","ios","macos","macos-tooltip","overlay","popup","swift","swiftui","swiftui-tooltip","swiftui-tooltips","tooltip","tooltip-library","tooltip-swiftui","tooltips"],"created_at":"2024-11-16T19:25:55.060Z","updated_at":"2025-03-17T16:13:15.769Z","avatar_url":"https://github.com/jasudev.png","language":"Swift","readme":"# **AxisTooltip for SwiftUI**\nA library that displays tooltips in the desired view. Supports iOS and macOS.\n\n[![Platforms](https://img.shields.io/badge/Platforms-iOS%20%7C%20macOS-blue?style=flat-square)](https://developer.apple.com/macOS)\n[![iOS](https://img.shields.io/badge/iOS-14.0-blue.svg)](https://developer.apple.com/iOS)\n[![macOS](https://img.shields.io/badge/macOS-11.0-blue.svg)](https://developer.apple.com/macOS)\n[![instagram](https://img.shields.io/badge/instagram-@dev.fabula-orange.svg?style=flat-square)](https://www.instagram.com/dev.fabula)\n[![SPM](https://img.shields.io/badge/SPM-compatible-red?style=flat-square)](https://developer.apple.com/documentation/swift_packages/package/)\n[![MIT](https://img.shields.io/badge/licenses-MIT-red.svg)](https://opensource.org/licenses/MIT)  \n\n## Screenshot\n|Top/Bottom|Leading/Trailing|\n|:---:|:---:|\n|\u003cimg src=\"Markdown/Top.png\"\u003e|\u003cimg src=\"Markdown/Leading.png\"\u003e|\n|\u003cimg src=\"Markdown/Bottom.png\"\u003e|\u003cimg src=\"Markdown/Trailing.png\"\u003e|\n\nhttps://user-images.githubusercontent.com/1617304/156180887-8f9f5ece-c4d6-4218-ac9b-275ac76fa071.mov\n\n## Example\n[https://fabulaapp.page.link/232](https://fabulaapp.page.link/232)\n\n## Usages\n```swift\nText(\"AxisTooltip\")\n  .bold()\n  .padding()\n  .onTapGesture {\n      isPresented.toggle()\n  }\n  .axisToolTip(isPresented: $isPresented, constant: constant, foreground: {\n      Label(\"Contrary to popular belief, Lorem Ipsum is not simply random text.\", systemImage: \"heart\")\n          .padding()\n          .frame(width: 200)\n  })\n  // or - Custom background settings.\n  // .axisToolTip(isPresented: $isPresented, constant: constant, background: {\n  //  Color.blue\n  //}, foreground: {\n  //    Label(\"Contrary to popular belief, Lorem Ipsum is not simply random text.\", systemImage: \"heart\")\n  //        .padding()\n  //        .frame(width: 200)\n  //})\n```\n  \n## Swift Package Manager\nThe Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. Once you have your Swift package set up, adding AxisTooltip as a dependency is as easy as adding it to the dependencies value of your Package.swift.\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/jasudev/AxisTooltip.git\", .branch(\"main\"))\n]\n```\n\n## Contact\ninstagram : [@dev.fabula](https://www.instagram.com/dev.fabula)  \nemail : [dev.fabula@gmail.com](mailto:dev.fabula@gmail.com)\n\n## License\nAxisTooltip is available under the MIT license. See the [LICENSE](LICENSE) file for more info.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasudev%2Faxistooltip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasudev%2Faxistooltip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasudev%2Faxistooltip/lists"}