Work in progress gallery of controls available to Catalyst apps using Optimized for Mac

Overview

Catalyst Controls Gallery

Very simple work-in-progress demonstration of many common controls available to Mac Catalyst as of macOS 11. Provided moreso as a jumping off point for advanced developers than sample code intended for beginners, as it mixes and matches UIKit & SwiftUI where necessary. This is also designed with macOS in mind, and may not be expected to work as-is on iOS or iPadOS.

Screenshots

You might also like...
A custom reusable circular / progress slider control for iOS application.
A custom reusable circular / progress slider control for iOS application.

HGCircularSlider Example To run the example project, clone the repo, and run pod install from the Example directory first. You also may like HGPlaceho

πŸ’ˆ Retro looking progress bar straight from the 90s
πŸ’ˆ Retro looking progress bar straight from the 90s

Description Do you miss the 90s? We know you do. Dial-up internet, flickering screens, brightly colored websites and, of course, this annoyingly slow

Step-by-step progress view with labels and shapes. A good replacement for UIActivityIndicatorView and UIProgressView.
Step-by-step progress view with labels and shapes. A good replacement for UIActivityIndicatorView and UIProgressView.

StepProgressView Step-by-step progress view with labels and shapes. A good replacement for UIActivityIndicatorView and UIProgressView. Usage let progr

Snapchat / Instagram Stories like progress indicator
Snapchat / Instagram Stories like progress indicator

SegmentedProgressBar A simple little control that animates segments like Snapchat or Instagram Stories. Requirements iOS 8.0+ Xcode 8 Installation Dra

Measuring the progress with annotations πŸ”±
Measuring the progress with annotations πŸ”±

Description Displaying the progress in a meter control. ProgressMeter lets you create your custom annotations that display either on top or bottom of

A dynamically flowing progress bar.
A dynamically flowing progress bar.

WWProgressView A dynamically flowing progress bar. δΈ€ε€‹ε‹•ζ…‹ζ΅ε‹•ηš„ι€²εΊ¦ζ’. Installation with Swift Package Manager dependencies: [ .package(url: "https://gith

A simple, customizable view for efficiently collecting country information in iOS apps.
A simple, customizable view for efficiently collecting country information in iOS apps.

CountryPickerView CountryPickerView is a simple, customizable view for selecting countries in iOS apps. You can clone/download the repository and run

Beautiful flag icons for usage in apps and on the web.
Beautiful flag icons for usage in apps and on the web.

FlagKit Beautiful flag icons for usage in apps and on the web. All flags are provided as stand-alone PNG and SVG files. FlagKit also provides an Asset

Custom emojis are a fun way to bring more life and customizability to your apps.
Custom emojis are a fun way to bring more life and customizability to your apps.

Custom emojis are a fun way to bring more life and customizability to your apps. They're available in some of the most popular apps, such as Slack, Di

Comments
  • Improvements to the project files

    Improvements to the project files

    PR #​1 of several. This PR:

    • overrides user indentation settings to force the use of tabs instead of spaces
    • ignores xcuserdata (including breakpoints and scheme settings)
    • fixes a major usability issue on iOS by only setting the background to clear on Mac
    • Reorganize the views into groups/folders based on the tab they appear in
    opened by j-f1 1
  • Updates to  UIViewRepresentable views

    Updates to UIViewRepresentable views

    This PR:

    • removes the redundant View conformance
    • converts var properties to let to communicate the single-use immutable nature of representable struct instances
    • update views that use actions to clean up the action before re-adding it
    • avoid re-creating the UIView on each update
    • for Binding-bound views, update the value of the view when the value changes to ensure custom binding behavior is preserved
    opened by j-f1 0
  • Replace UIViewRepresentable with native SwiftUI where possible

    Replace UIViewRepresentable with native SwiftUI where possible

    See commit messages for details.

    This PR does not remove HIActivityIndicatorView because there is currently no way to produce a non-spinning activity indicator from SwiftUI. I’m not sure this is a good UI practice so perhaps that part of the gallery should be removed entirely?

    wontfix 
    opened by j-f1 3
Owner
Steven Troughton-Smith
Steven Troughton-Smith
πŸ“ The next in the generations of 'growing textviews' optimized for iOS 8 and above.

NextGrowingTextView The next in the generations of 'growing textviews' optimized for iOS 8 and above. As a successor to HPGrowingTextView, NextGrowing

Muukii 1.7k Jan 7, 2023
Catalyst example using an AppKit-provided NSVisualEffectView to provide a translucent blurred window

CatalystEffectViewChrome This project demonstrates how to insert an NSVisualEffe

Steven Troughton-Smith 68 Aug 11, 2022
Redesigned video player controls for iOS

Atlas Minimal stock video player replacement demo video Compiling Clone the repo, and make sure you have cephei and all that then just make clean pack

Chr1s 15 Feb 19, 2022
Progress and Activity Indicators for iOS apps

Progress Indicators and Activity Views for iOS Apps Features Storyboard compatible, configure apprearance with the property inspector. fully animated,

Alexander Kasimir 101 Nov 13, 2022
Example Catalyst app that is shown in a UIKit popover underneath an NSStatusItem

CatalystStatusItemPopoverExample Example Catalyst app that is shown in a UIKit popover underneath an NSStatusItem. References How to use macOS Specifi

Tom Irving 9 Sep 8, 2022
Make ComposableArchitecture work with UIKit

ComposableUIKit The ComposableArchitecture (TCA) library provides a way of structuring Swift code with the Redux-pattern. It is highly optimized for S

Manuel Maly 11 Nov 5, 2022
Newly is a drop in solution to add Twitter/Facebook/Linkedin style, new updates/tweets/posts available button

Newly is a drop in solution to add Twitter/Facebook/Linkedin style, new updates/tweets/posts available button. It can be used to notify user about new content availability and can other actions can be triggers using its delegate method.

Dhiraj Rajendra Jadhao 197 Sep 22, 2022
Circular progress indicator for your macOS app

CircularProgress Circular progress indicator for your macOS app This package is used in production by apps like Gifski and HEIC Converter. Requirement

Sindre Sorhus 520 Jan 3, 2023
Show progress in your app's Dock icon

DockProgress Show progress in your app's Dock icon This package is used in production by the Gifski app. You might also like some of my other apps. Re

Sindre Sorhus 958 Jan 2, 2023
πŸ“Š A customizable gradient progress bar (UIProgressView).

GradientProgressBar A customizable gradient progress bar (UIProgressView). Inspired by iOS 7 Progress Bar from Codepen. Example To run the example pro

Felix M. 490 Dec 16, 2022