• Stars
    star
    182
  • Rank 211,154 (Top 5 %)
  • Language
    Swift
  • License
    MIT License
  • Created over 2 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A library that displays tooltips in the desired view. Supports iOS and macOS.

AxisTooltip for SwiftUI

A library that displays tooltips in the desired view. Supports iOS and macOS.

Platforms iOS macOS instagram SPM MIT

Screenshot

Top/Bottom Leading/Trailing
AxisTooltip.mov

Example

https://fabulaapp.page.link/232

Usages

Text("AxisTooltip")
  .bold()
  .padding()
  .onTapGesture {
      isPresented.toggle()
  }
  .axisToolTip(isPresented: $isPresented, constant: constant, foreground: {
      Label("Contrary to popular belief, Lorem Ipsum is not simply random text.", systemImage: "heart")
          .padding()
          .frame(width: 200)
  })
  // or - Custom background settings.
  // .axisToolTip(isPresented: $isPresented, constant: constant, background: {
  //  Color.blue
  //}, foreground: {
  //    Label("Contrary to popular belief, Lorem Ipsum is not simply random text.", systemImage: "heart")
  //        .padding()
  //        .frame(width: 200)
  //})

Swift Package Manager

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

dependencies: [
    .package(url: "https://github.com/jasudev/AxisTooltip.git", .branch("main"))
]

Contact

instagram : @dev.fabula
email : [email protected]

License

AxisTooltip is available under the MIT license. See the LICENSE file for more info.

More Repositories

1

FabulaItemsProvider

You can share and communicate with developers around the world through the Fabula app.
Swift
574
star
2

AnimateText

This library for animating text. Developed with SwiftUI. This library supports iOS/macOS.
Swift
305
star
3

AxisTabView

A library that allows you to easily create various styles of tab views. Supports iOS and macOS.
Swift
229
star
4

AxisSegmentedView

A library that allows you to easily create various styles of segmented views. Supports iOS, macOS and tvOS.
Swift
179
star
5

AxisContribution

A library that expresses a github contribution calendar through an array of dates. Supports iOS and macOS.
Swift
111
star
6

LottieUI

Lottie for SwiftUI. It is a library developed to make Lottie easy to implement. It supports iOS and macOS.
Swift
105
star
7

Zoomable

It is a container that allows you to zoom in and out of an image using only SwiftUI.
Swift
100
star
8

AxisSheet

It is a library that handles the sheet view in 4 directions (.top, .bottom, .leading, .trailing) according to the axis mode. It supports iOS and macOS.
Swift
94
star
9

LETSWIFT23

Let'Swift 2023 ์ปจํผ๋Ÿฐ์Šค
Swift
71
star
10

NCDP2023

NCDP 2023 for SwiftUI
Swift
62
star
11

Scroller

You can animate in individual views based on scroll position. Developed with SwiftUI. This library supports iOS/macOS.
Swift
43
star
12

AxisRatingBar

This library is a UI control for iOS and macOS developed with SwiftUI. You can display ratings along the horizontal/vertical axis and receive ratings from users. You can use any view that conforms to the View protocol, not just the star shape.
Swift
32
star
13

UnsplashProvider

It is a package that can use the Unsplash API. It was developed as a SwiftUI.
Swift
23
star
14

fabula.io

HTML
1
star