Hi Pavel,

Le 28/10/2017 à 22:29, Pavel Krivanek a écrit :
Hi Thierry,

your repository mentions the MIT license but the original license of the Cassowary package was LGPL. Is is a different code?

I ported the original, public domain smalltalk implementation of Cassowary.

Regards,

Thierry

Cheers,
-- Pavel

2017-10-28 21:43 GMT+02:00 Thierry Goubier <[email protected] <mailto:[email protected]>>:

    Le 28/10/2017 à 16:26, Stephane Ducasse a écrit :

        I was reading ...
        I will see if I can load cassowary in Pharo.


    https://github.com/ThierryGoubier/Cassowary
    <https://github.com/ThierryGoubier/Cassowary>

    Done two years ago.

    Thierry



        On Sat, Oct 28, 2017 at 4:21 PM, Stephane Ducasse
        <[email protected] <mailto:[email protected]>> wrote:

            Ok then may be we should give a try to use. Tx for the links.

            Stef

            On Sat, Oct 28, 2017 at 4:18 PM, Ben Coman
            <[email protected] <mailto:[email protected]>> wrote:

                    2017-10-27 19:13 GMT+02:00 Stephane Ducasse
                    <[email protected]
                    <mailto:[email protected]>>:


                        I was wondering if there is a layout that we can
                        use to propose
                        alternate placing layout for widgets in spec?

                        Like...
                        attached to  the left 10pixels rubber band box
                        or fixed size box
                        10pixels attached to the right.



                    On Oct 27, 2017, at 12:59 PM, Pavel Krivanek
                    <[email protected]
                    <mailto:[email protected]>>
                    wrote:

                    Maybe we should check cassowary

                    
https://croisant.net/blog/2016-02-24-ui-layout-constraints-part-1/#ui-constraints
                    
<https://croisant.net/blog/2016-02-24-ui-layout-constraints-part-1/#ui-constraints>



                On Sat, Oct 28, 2017 at 4:48 PM, Stephane Ducasse
                <[email protected] <mailto:[email protected]>>
                wrote:


                    Pavel I do not think that cassowary is good for us.



                Do you mean Cassowary in particular, or constraint based
                UI in general?

                My naive first impression is, if Cassowary is good
                enough for Apple...
                https://news.ycombinator.com/item?id=9846992
                <https://news.ycombinator.com/item?id=9846992>
                https://www.quora.com/Should-I-use-Auto-Layout
                <https://www.quora.com/Should-I-use-Auto-Layout>

                and Google (search here for "solver")...
                
https://academy.realm.io/posts/cool-constraintlayout-droidcon-boston-2017/
                
<https://academy.realm.io/posts/cool-constraintlayout-droidcon-boston-2017/>

                such that "in 2016, both iOS and Android have
                first-party layout systems
                based on Cassowary."
                
https://www.bignerdranch.com/blog/constraintlayout-vs-auto-layout-how-do-they-compare/
                
<https://www.bignerdranch.com/blog/constraintlayout-vs-auto-layout-how-do-they-compare/>

                then it seems worth some analysis, and discussion of
                better alternatives.


                Coincidentally, I see a Smalltalk implementation is
                available...
                http://www.squeaksource.com/Cassowary.html
                <http://www.squeaksource.com/Cassowary.html>
                
https://constraints.cs.washington.edu/solvers/cassowary-tochi.pdf
                
<https://constraints.cs.washington.edu/solvers/cassowary-tochi.pdf>


                For balance, some points against AutoLayout, but some
                alternatives also seem
                to use Cassowary solver...
                
https://www.reddit.com/r/iOSProgramming/comments/4t6kd5/why_i_dont_use_autolayout/
                
<https://www.reddit.com/r/iOSProgramming/comments/4t6kd5/why_i_dont_use_autolayout/>
                
https://www.bignerdranch.com/blog/constraintlayout-vs-auto-layout-how-do-they-compare/
                
<https://www.bignerdranch.com/blog/constraintlayout-vs-auto-layout-how-do-they-compare/>
                
https://makeapppie.com/2015/10/28/why-stack-views-are-your-best-friend-if-you-hate-auto-layout/
                
<https://makeapppie.com/2015/10/28/why-stack-views-are-your-best-friend-if-you-hate-auto-layout/>
                https://cocoacasts.com/working-with-stack-views/
                <https://cocoacasts.com/working-with-stack-views/>


                cheers -ben







Reply via email to