Giter Club home page Giter Club logo

swiftuicatalog's Introduction

SwiftUI Catalog

An open source catalog, under MIT License, containing components, controls, effects, styles, layouts, containers, modifiers and accessibility elements you can use to develop SwiftUI Interfaces in iOS and iPadOS.

We'd like to promote this as a collaborative initiative developed over time, you're very welcomed to join the catalog with your contributions or to make use of the code which has been already created and shared.

Screen Shot 2022-04-10 at 6 39 21 PM

Screen Shot 2022-04-10 at 6 39 48 PM

Screen Shot 2022-04-10 at 6 40 04 PM

Goal

There's plenty of documentation and examples showing how to use SwiftUI, but apart from the official documentation I could not find one source of code where all the possible elements of SwiftUI are showcased clearly together.

For example all the possible containers (like form, group, groupBox, controlGroup), all the hierarchical views (such as tabs view, outline views, diclosure views).

This catalog will allow developers who already know the theoretical aspects of data / state handling and SwiftUI App Structure and Behaviour to discover and reused easily UI elements to compose SwiftUI Interfaces.

You can use this catalog for:

  • Discovering SwiftUI controls, layouts, containers, gestures (for iPadOS and iOS)
  • Copy and paste the code you need into your (also commercial) projects (that's why I have chosen MIT License so the source code here can be freely shared, as long as an attribution is displayed)
  • Contributing to some of the sections and share your code with others (see below "How to contribute?"
  • Quickly launch the example app and see the components in real time
  • Being able to share with your designers or product owners the possibilities with SwiftUI with the demo App.

Do not use this catalog for:

  • Learning SwiftUI, you need to have already an understanding of how it works, since there is no theory included in this project.
  • Seeing how data handling works, since the catalog focuses on UI, not in data states.

How to contribute?

  • Select a VIEW you want to develop (example "toggles" or "sliders")
  • Check if it is free to take (no other PR is made)
  • Create a branch named like the VIEW you want to contribute to (the name is the one you see when you run the demo App, example "toggles")
  • Replace this section "{ YOUR NAME HERE ๐Ÿ† }" with your name. Commit it.
  • Inmediately create a DRAFT Pull Request (So other can see it's taken)
  • Develop
  • Convert the DRAFT to an OPEN Pull Request
  • I'll review and merge your PR

If you have any other suggestion or wish regarding this catalog please open an ISSUE and we can discuss it there.


We want to make the project available not only for developers, but also for non-technical persons in your teams. That's why we plan to publish the SwiftUI Catalog in the App Store. Publishing in the App Store requires being a member of the Apple Developer Program, which costs 99 USD / year, costs that we plan to afford by ourselves at the moment, additionally to the time and energy we dedicate to building the catalog.

We'd very grateful if you decide to support us to afford the membership. We also decided that a 1% of your contribution will go fund research in new carbon extraction technologies, through Stripe (our payment processor).

"Buy Me A Coffee"

swiftuicatalog's People

Contributors

barbaramartina avatar alighayeni avatar freddy1h avatar yashmishra12 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.