Cartography icon indicating copy to clipboard operation
Cartography copied to clipboard

A declarative Auto Layout DSL for Swift :iphone::triangular_ruler:

Results 68 Cartography issues
Sort by recently updated
recently updated
newest added

Hello, new to Cartography but I work at a company with a large iOS codebase and they have forked it and replaced == with ~==. Why? Because they found the...

Currently, the project has iOS 8.0 as a minimum deployment target. However, one of the dependencies, Nimble, requires iOS 9 as a minimum target. Do we have any impediments to...

After switching from Carthage to Cocoapods recently, I thought I'd remove Carthage from my code, too. After remembering to shut off `translatesAutoresizingMaskIntoConstraints`, I was able to start converting in earnest....

Because `constrain` function is defined in `CommonUISDK` looks like XCode11 cannot compile Cartography pod anymore. Renaming `constrain` functions to `cg_constrain` seems to fix the problem closes: https://github.com/robb/Cartography/issues/313

Fix warning. Using 'class' for protocol inheritance is deprecated

Hi, I am using the 0.5.0 release. I really like the syntax, but I got problem. I am building the so called self-sizing table cell, so I need add height...

question

I not found example with working multiply solution. On next my code: ``` constrain(view, searchImage, coverLabel) { (view, searchImage, coverLabel) in searchImage.top == (view.height * CGFloat(0.59)) searchImage.centerX == view.centerX searchImage.leading...

LayoutSupport.swift ``` public extension UIViewController { var car_topLayoutGuide : LayoutSupport { get { return LayoutSupport(layoutGuide: self.topLayoutGuide) } } var car_bottomLayoutGuide : LayoutSupport { get { return LayoutSupport(layoutGuide: self.bottomLayoutGuide) } }...

topLayoutGuide' was deprecated in Mac Catalyst 13.0: Use view.safeAreaLayoutGuide.topAnchor instead of topLayoutGuide.bottomAnchor same for bottomLayoutGuide

Addresses #215. This is maybe not the best solution (not DRY) but with the code below we've seen swift type checking times go down from 8800ms+ to 39ms (example at...