Giter Site home page Giter Site logo

Comments (9)

roberthein avatar roberthein commented on May 10, 2024 4

I also agree and started a re-write! šŸ¤˜

from tinyconstraints.

XOneto9 avatar XOneto9 commented on May 10, 2024 2

@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.

XOneto9 avatar XOneto9 commented on May 10, 2024 1

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.

roberthein avatar roberthein commented on May 10, 2024 1

That's great input @mdaslamansari2008, Thank you. šŸ™

from tinyconstraints.

mattmassicotte avatar mattmassicotte commented on May 10, 2024 1

@XOneto9 Oh, really don't worry about it! Mystery solved :)

from tinyconstraints.

mdaslamansari2008 avatar mdaslamansari2008 commented on May 10, 2024

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.

mattmassicotte avatar mattmassicotte commented on May 10, 2024

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.

tonemcd avatar tonemcd commented on May 10, 2024

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.

rebeloper avatar rebeloper commented on May 10, 2024

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)

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.