GithubHelp home page GithubHelp logo

gizemturker / simple-swiftui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twostraws/simple-swiftui

0.0 0.0 0.0 3.04 MB

A collection of small SwiftUI sample projects.

License: MIT License

Swift 100.00%

simple-swiftui's Introduction

Simple SwiftUI logo

Twitter: @twostraws

Simple SwiftUI is a small but growing collection of projects designed to provide small sample projects for SwiftUI learners to read, learn from, modify, and even use as a basis for their projects in the future.

What’s available

Each project in Simple SwiftUI is designed to stand alone as an example solution to a common starter project. This means they don’t have special frills, weird hacks, “clever code”, or similar – they are designed to get one specific job done, rather than demonstrate every possible SwiftUI view and modifier in a single project.

Right now there are just four projects available, but more will be added in time:

The goal is to build up a collection of SwiftUI projects that do one job and do it well, all updated for the latest versions of Swift and SwiftUI so they make for ideal projects for folks to read through and find high-quality code they can learn from.

Tip: All projects here are configured to use SwiftLint as part of their build process, which helps to enforce standard coding style and conventions. SwiftLint is free to install here, and is highly recommended.

Learn how they were made

I produced these projects on livestreams as part of Hacking with Swift+ – there are videos there along with transcriptions, so you can see exactly how the apps are put together, and why I made certain choices.

Contributing

I’ll be adding more projects here in the future, but there are lots of things anyone can help with:

  • Identifying and fixing any bugs.
  • Identifying and implementing opportunities to simplify the code.
  • Identifying and improving any accessibility problems.
  • Adding tests – unit tests, UI tests, and performance tests are welcome.
  • Writing comments and other documentation designed to make the projects more easily understood.
  • Updating any old Swift or SwiftUI code, so that the projects all target the latest stable version of iOS and Xcode.
  • Ensuring all files build without warnings, including warnings issued by SwiftLint.

If you would like to contribute, please keep these things in mind:

  • The goal isn’t to pack each app with features, in fact the more code we remove the better. This means we don’t need to make every list searchable, for example – there will be a project just for that topic.
  • If there is no option but to use a workaround, e.g. for something SwiftUI doesn’t support yet, then go for it! These are real-world projects, and these projects need to reflect that.
  • If you modify code, please make sure it is thoroughly documented so that someone reading the project can understand it. This is doubly important for any workarounds.
  • If you contribute code or other assets, please make sure it’s something you wrote yourself, and that you are happy to license it under the MIT license so that others can use it freely.

Above all, please keep your code as simple as possible – if you can avoid more advanced features like generics and protocol extensions, please do.

Credits

Simple SwiftUI was made by Paul Hudson, who writes free Swift tutorials over at Hacking with Swift. All code here is released under the MIT license, which permits commercial use, modification, distribution, and private use.

simple-swiftui's People

Contributors

twostraws avatar abizern avatar atrinh0 avatar mpschulze avatar basthomas avatar cedricbahirwe avatar chamomiles avatar hmseo avatar nigelgee avatar rastreus avatar sergiob-dev avatar thurss4 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.