Comments (9)
I also agree and started a re-write! š¤
from tinyconstraints.
@mattmassicotte
OMG.. Iām so sorry it is mistake to refers you,
I think it is mistype on the writing my opinion :(
Raaaaally soorrrrrry about that;;
from tinyconstraints.
I agree with @mdaslamansari2008.
just to get the sample on the 'read me', very difficult to understand when and what I use the components.
from tinyconstraints.
That's great input @mdaslamansari2008, Thank you. š
from tinyconstraints.
@XOneto9 Oh, really don't worry about it! Mystery solved :)
from tinyconstraints.
Thank you. I found this solution better than other. And I see huge potential in this. So please write in details. Try to cover most of the scenarios and also what are the common errors expected and what sort solution can fix it. That will be great to make most out of it. Thanks once again.š
from tinyconstraints.
Hello @XOneto9 - I'm embarrassed to say I'm not sure what I did that you agree with :) Could you point me at whatever it is you are referencing so I can refresh my memory?
from tinyconstraints.
Just some thoughts on what could be useful as documentation. I've come from SnapKit (too cumbersome) via Stevia (too many APIs - not easy to know which one to use) to TinyConstraints, and I managed to convert my simple App (3 ViewControllers, about 6 or so views in each) to using TinyConstraints in just over an hour, so I'm very impressed! The Example App is excellent and shows what can be done. I must admit though, it's a bit over my head at the moment.
The docs at the moment give a good overview of what is possible. I think what would be very helpful is recipes, here's two for example;
- How to align two (or more) views by their bottom edge or baseline (or any other edge). Is it possible to have an array of views all aligned by the same edge? If it can only be done by viewA.top == viewB.top, viewB.top == viewC.top, that's fine. It's just not obvious at the moment (the ==, or equation based API comes from Stevia, which is very good, but it has three API's: visual layout, chainable and equation-based and it's not clear when to use each one).
- How to evenly space out some views (eg 4 buttons on the vertical/horizontal axis).
Thanks for a great framework, whilst writing this out, I realised that something I was wracking my brain with (collection of a image-label-button view into its own subclass of UIView to allow it to be used repeatedly) could be done using the 'stack' method, and so I implemented that - works very well! (I couldn't find it being used in the Example App though).
Hope this feedback is constructive to you.
from tinyconstraints.
If you're looking for an in depth video documentation here it is: https://www.youtube.com/watch?v=ucbaEkEJKrc&list=PL_csAAO9PQ8ZHY2VzOi7LJ80CtfAgCgHP
from tinyconstraints.
Related Issues (20)
- TinyConstraints cannot run in x86_64 simulator on Xcode 12/13 due to VALID_ARCHS built setting
- Fails to build for simulator running an Apple Silicon-based Mac HOT 2
- TinyConstraintsExample.app/Frameworks/SnapKit.framework/Info.plist: No such file or directory
- Center Multiplier HOT 1
- YouTube video tutorials HOT 1
- TinyConstraints cannot run on simulator HOT 2
- edges(to:) works incorrectly HOT 1
- Video Documentation: New YouTube Playlist
- top()/bottom()/left()/right() lacks multiplier on offset amount HOT 1
- Naming suggestion HOT 1
- Distribution in stack HOT 2
- Nested Stack View HOT 1
- Allow setting `isActive` default value.
- View declaration conflicts with SwiftUI's View
- Please add support for margins HOT 1
- Aspect Ratio Constraint for UIImageView? HOT 1
- Stack function changes translatesAutoresizingMaskIntoConstraints of superview
- Implementations of `trailingToSuperview` and `leadingToSuperview` only work correct only for Left-to-Right languages / layout. HOT 2
- M1 MacBook Air - Not able to locate the module
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyconstraints.