All Projects β†’ youjinp β†’ SwiftUIKit

youjinp / SwiftUIKit

Licence: MIT License
A collection of missing SwiftUI components

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to SwiftUIKit

NetworkAgent
This package is meant to make http request of an easy way inspiren in the architecture of Moya package. This package is 100% free of dependencies and works with Combine api + Codable
Stars: ✭ 16 (-91.92%)
Mutual labels:  spm, swiftui
column-text-view-ui
πŸ“„ Column Text View is an adaptive UI component that renders text in columns, horizontally [iOS 12, UIKit, TextKit, SwiftUI].
Stars: ✭ 11 (-94.44%)
Mutual labels:  spm, swiftui
SwiftUIKit
πŸ“± UIKit code that is fun to write
Stars: ✭ 71 (-64.14%)
Mutual labels:  spm, swiftui
TagField
🏷 Simple Tag Field for SwiftUI 🏷
Stars: ✭ 19 (-90.4%)
Mutual labels:  spm, swiftui
SwiftDown
πŸ“¦ A themable markdown editor component for your SwiftUI apps.
Stars: ✭ 203 (+2.53%)
Mutual labels:  spm, swiftui
OMJoystick
This is the JoyStick UI library for SwiftUI.
Stars: ✭ 15 (-92.42%)
Mutual labels:  spm, swiftui
Columbus
A feature-rich country picker for iOS, tvOS and watchOS.
Stars: ✭ 23 (-88.38%)
Mutual labels:  spm, swiftui
aws-serverless-fullstack-swift-apple-carplay-example
This application demonstrates a full-stack Apple CarPlay app that uses Swift for both the UI and the backend services in AWS. The app accesses Lambda functions written in Swift and deployed from Docker images. The app accesses Amazon Location Service and a 3rd party weather api to display information in the vicinity of the user.
Stars: ✭ 84 (-57.58%)
Mutual labels:  swiftui
BDUIKnit
A Swift Package Manager packed with SwiftUI custom reusable UI components and extensions.
Stars: ✭ 21 (-89.39%)
Mutual labels:  swiftui
ImageFilterSwiftUICompleted
Completed Project for Cross Platform Image Filter SwiftUI macOS & iOS App
Stars: ✭ 67 (-66.16%)
Mutual labels:  swiftui
Colorful
CSS colors for use with SwiftUI
Stars: ✭ 23 (-88.38%)
Mutual labels:  swiftui
HNReaderApp
Hacker News client for macOS
Stars: ✭ 169 (-14.65%)
Mutual labels:  swiftui
SwiftUIRedux
πŸš€Comprehensive Redux library for SwiftUI, ensures State consistency across Stores with type-safe pub/sub pattern.
Stars: ✭ 18 (-90.91%)
Mutual labels:  swiftui
Helm
A graph-based SwiftUI router
Stars: ✭ 64 (-67.68%)
Mutual labels:  swiftui
tapit-app
App which lets two people share their social media details by simply putting one phone on top of the other ("tapping"). Currently in development by Nikita Mounier.
Stars: ✭ 18 (-90.91%)
Mutual labels:  swiftui
SwiftUI-Fractals
The Sierpinski carpet, triangle, and a fractal tree using SwiftUI
Stars: ✭ 22 (-88.89%)
Mutual labels:  swiftui
SwiftyIllustrator
A tool for quickly converting Adobe Illustrator shapes into SwiftUI code.
Stars: ✭ 26 (-86.87%)
Mutual labels:  swiftui
KakaoSDK-SwiftPM
wrapping KakaoSDK source to Swift Package
Stars: ✭ 17 (-91.41%)
Mutual labels:  spm
PathBuilder
SwiftUI result builder for Path
Stars: ✭ 48 (-75.76%)
Mutual labels:  swiftui
IndieApps
A platform to showcase your side projects/apps
Stars: ✭ 23 (-88.38%)
Mutual labels:  swiftui

SwiftUIKit

A collection of components that will simplify and accelerate your iOS development.

Components

  1. CurrencyTextField
  2. AdaptToKeyboard (not needed for iOS 14 beta 6+)
  3. ContactPicker

Demo

There is an example app at SwiftUIKitExampleApp which can be built and run. Just clone this repo and run it.

1. CurrencyTextField

Demo

Description

Real time formatting of users input into currency format.

Usage

import SwiftUIKit

struct ContentView: View {
    @State private var value = 0.0

    var body: some View {
        //Minimal configuration
        CurrencyTextField("Amount", value: self.$value)
        
        //All configurations
        CurrencyTextField("Amount", value: self.$value, alwaysShowFractions: false, numberOfDecimalPlaces: 2, currencySymbol: "US$")
            .font(.largeTitle)
            .multilineTextAlignment(TextAlignment.center)
    }
}

2. AdaptToKeyboard

Demo

Description

Animate view's position when keyboard is shown / hidden

Usage

import SwiftUIKit

struct ContentView: View {
    var body: some View {
        VStack {
            Spacer()
            Button(action: {}) {
              Text("Hi")
                  .adaptToKeyboard()
            }
        }
    }
}

3. ContactPicker

Demo

Description

SwiftUI doesn't work well with CNContactPickerViewController if you just put it inside a UIViewControllerRepresentable. See this stackoverflow post. With ContactPicker here its just a one liner.

To enable multiple selection use onSelectContacts instead.

Usage

import SwiftUIKit

struct ContentView: View {
    @State var showPicker = false

    var body: some View {
        ZStack {
            // This is just a dummy view to present the contact picker,
            // it won't display anything, so place this anywhere.
            // Here I have created a ZStack and placed it beneath the main view.
            ContactPicker(
                showPicker: $showPicker,
                onSelectContact: {c in
                    self.contact = c
                }
            )
            VStack {
                Button(action: {
                    self.showPicker.toggle()
                }) {
                    Text("Pick a contact")
                }
            }
        }
    }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].