Releases: robb/Cartography
Releases · robb/Cartography
0.4: Marginal Update
- Adds new, iPhone specific properties for working with layout margins. (#93)
- Fixes a memory leak in the
??
operator by not using it. (#111)
Thanks to @VincentWenShuo for bringing the leak to my attention. 💖
0.3: Lawful Neutral
- Adds
constrain(clear:)
andlayout(clear:)
to remove all layout constraints from aConstraintGroup
without having to add new ones. (#82) - Adds
align
in various versions to facilitate aligning multiple views by the same edge. (#84) - Adds
distribute
to evenly space out multiple views either horizontally or vertically. (#86) - Setting up a constraint between two views that don't share a common ancestor will now trigger an assertion. (#92)
- Expressions or numerical constants can no longer be placed on the left hand side of the
==
,<=
or>=
operators. While this is a breaking change, rewriting the declarations to only have a property on the left hand side should not be complicated. (#94) - Added plenty of documentation. (#102)
- Fix a retain cycle that would prevent views from being deallocated. (#105)
With kind contributions by @truppelito and @solomon23 💖.
0.3: Lawful Neutral β1
This is the first beta version of Cartography 0.3.0
- Adds
constrain(clear:)
andlayout(clear:)
to remove all layout constraints from aConstraintGroup
without having to add new ones. (#82) - Adds
align
in various versions to facilitate aligning multiple views by the same edge. (#84) - Adds
distribute
to evenly space out multiple views either horizontally or vertically. (#86) - Setting up a constraint between two views that don't share a common ancestor will now trigger an assertion. (#92)
- Expressions or numerical constants can no longer be placed on the left hand side of the
==
,<=
or>=
operators. While this is a breaking change, rewriting the declarations to only have a property on the left hand side should not be complicated. (#94) - Added plenty of documentation. (#102)
Thanks @truppelito for the ConstraintGroup
clearing methods 💖
0.2.1: When a good time turns around, you must flip it
- Fixes an issue where linking Cartography would flip all NSViews (#78)
- Fixes Xcode complaining about
CGFloat
being undeclared (#70)
Thanks to @ken0nek for some spring cleaning 💖
0.2: Whatever floats your boat
- You can now mix and match
Float
,Double
andCGFloat
constants when creating constraints. - Constraints can now be added to
ConstraintGroup
s which can be replaced with new constraints later. - Cartography is now safe to use in extensions.
0.1.1: CocoaPods compatible
Cartography is now (hopefully) compatible with CocoaPods for both Mac and iOS.
Thanks to @DJBen for supplying the initial podspec
. 💖
0.1: Put It on the Map
The initial release of Cartography.
With kind contributions by @GarthSnyder, @PiersonBro, @jamescmartinez, @brandonroth, @nschum and @devxoul. 💖