Coder Social home page Coder Social logo

rafunderscore / layers Goto Github PK

View Code? Open in Web Editor NEW
197.0 5.0 5.0 842 KB

A powerful SwiftUI library designed for creating layered user interfaces, enhancing your app's user experience with smooth and performant animations between modal views.

Home Page: https://twitter.com/raphaelsalaja

License: MIT License

Swift 100.00%
ios ios17 package swift swiftui

layers's People

Contributors

huntertdiamond avatar rafunderscore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

layers's Issues

Add examples to readme

Feature Description

Adding some examples to the root readme could helpspeed up implementation of the lib by others.

Turn layers into a view extension

Feature Description

Turning Layer into a view extension will allow for faster implementation. You will need to add a boolean for checking whether or not the view is presented as well.

Add layer custom styling

Feature Request

It would be nice if there was a way for the user to input their own variables into the layer instead of using a predefined view.

Add option for custom footer

Feature Description

Instead of setting the footer to be just a button, it would be better if there was an option to allow the user to add their own custom view in place of it.

Clean project architecture

Feature Request

The overall flow of the system needs finer tuning to be more optimised and cleaner. Needs better plumbing!

Fix button animations

Problem

The button text fades in incorrectly, as well as this, when switching from a button without an icon to an icon, the whole text fades in, instead of adding the icon.

Steps To Reproduce

Click on the button within the layer.

Expected Behaviour

The button text should have an opacity transition rather than what is there at the moment.

Fix light and dark theming

Problem

There is an issue regarding some UI elements not having their respective dark and light mode variants. This appears due to two reasons.

1. Lack of Defined Colour

Text(title).font(.title3).fontDesign(.rounded).fontWeight(.bold)

2. Explicit Colours

.background(Color(.white))

Additional Context

Can be prevented by defining a base theme, or by colours with in-built variants.

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.