Swiftpack.co - Swift Packages by robb

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by robb

robb/Cartography 4.0.0
A declarative Auto Layout DSL for Swift :iphone::triangular_ruler:
⭐️ 7,347
🕓 51 weeks ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Five ways to Swift
4 years ago
This version adds support for Swift 5
Spit Shine
6 years ago
This release comes entirely from @corujautx - **Discontinuation of the support for macOS < 10.10**: The reason I did this is because Cartography 3.0 makes use of the `isActive` property on constraints and no longer has views to attach to a context like in previous versions, as those contained traversal of view hierarchy to identify where to attach a constraint as previous APIs did. It makes no sense to support 10.9 because Cartography is already targeted to iOS 8.0 onwards which supports this new API. This should "fix" #274. - **Extending support to NSLayoutGuide**: A missing feature in the release of Cartography 3.0 was the support of `NSLayoutGuide`s in macOS. This is now supported! - **Improvements to insetting edges**: I added a more expressive way to inset edges in expressions. The way you would currently do this would be expressing `view.edges == inset(view.superview!.edges, 10)` which would now can also be expressed by `view.edges == view.superview!.edges.inseted(by: 10)` which makes a lot more expressive. - **Supporting other layout guides included in UIView**: `UIView` also includes references to other layout guides that are used to define standard layout margins or readable content margins. These now can be used in Cartography by expressing for example: `view.edges == view.superview!.readableContentGuide.edges`
Scrubbing the Decks
6 years ago
Now you can pass in layout guides to `constrain` - so code like: ```swift constrain(view) { view in view.top == vc.topLayoutGuideCartography } ``` should change to: ```swift constrain(view, vc.car_topLayoutGuide) { view, guide in view.top == guide.bottom } ``` This adds more flexibility as you can also now constrain to the top/height attributes of an `UILayoutSupport`. The whole idea for 3.0 is to unify `UIView` (or `NSView` in macOS), `UILayoutGuide` and `UILayoutSupport` as constrainable elements, represented by the protocol `LayoutElement`. 👍 The credit goes to @corujautx
Scrubbing up
6 years ago
Adds support Safe Area Layout - by @yysskk - [#267](https://github.com/robb/Cartography/pull/267)
Clear Seas Ahead
7 years ago
- @NachoSoto added full module optimization - @JohnCoates fixed a Swift 3.0 compiler bug with setting priorities - @strangeliu made "replaceGroup" an optional parameter
1.0.0 - Shippers Ahoy
7 years ago
- @raphaelcruzeiro has ported Cartography to Swift 3.0 - https://github.com/robb/Cartography/pull/228
0.7
7 years ago
- Compatibility with Swift 2.3 (#221) - tvOS target (#180, #192) - Bitcode support (#175) - Support for `UILayoutSupport` (#203) - Allow insetting edges using `UIEdgeInsets` (#211) - Added the `lastBaseline` property to `LayoutProxy` (#184)
0.6: Hard Choices
8 years ago
- Removed the `layout` function. This is a _breaking change_ and users are now required to invoke a layout pass manually as needed. (#144) - Compatibility with Swift 2.0 Thanks to @JaviSoto for fixing build errors :sparkling_heart:
0.6: Hard Choices β1
8 years ago
- Removed the `layout` function. This is a _breaking change_ and users are now required to invoke a layout pass manually as needed. (#144) - Compatibility with Swift 2.0
0.5: An Eternal Broken Build
9 years ago
- Compatibility with Swift 1.2. (#76)
iOS macOS watchOS
robb/Swim 0.4.0
A DSL for writing HTML in Swift
⭐️ 302
🕓 2 years ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
0.4.0: Explicit Void
2 years ago
- Fixes support for Swift 5.6 thanks to @kevinrenskers in #40.
0.3.0: Holiday Extravaganza
2 years ago
- Whitespace around `textarea` is now trimmed #35 - Leading newlines are trimmed #36 - Performance improvements #37
0.2.0: Linux support and other escapades
2 years ago
- Added Linux support thanks to @chriseidhof in #26 - Added `raw` nodes, `text` nodes now always perform XML escaping thanks to @chriseidhof in #22 – ⚠️ Potentially a breaking change. - Tags are now `structs` that implement `callAsFunction` in #23. - Switched to result builders in #20.
0.1.1: One nit at a time
3 years ago
- Fixes the `rel` attribute on `link` tags.
0.1.0: A Cautious Beginning
3 years ago
- First release to simplify using Swim as a dependency.
iOS macOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics