Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README updates #315

Merged
merged 1 commit into from
Jan 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $ pod install

## Usage

Call the `constrain` function with your `UIView` or `NSView` instances as well
Call the `constrain`_*_ function with your `UIView` or `NSView` instances as well
as a closure in which you declare the constraints between the different
attributes of your views:

Expand Down Expand Up @@ -245,6 +245,13 @@ constrain(view) { view in

Read the documentation [here](http://robb.github.io/Cartography/). For more information, see the [gh-pages](https://github.com/robb/Cartography/tree/gh-pages) branch.


\* Since Xcode 11 and swift 5.1 the keyword `constrain` conflicts with the ones used by the **CommonUISDK**... so, Calling the function with the module name is necessary to make it work properly

e.g.: `Cartography.constrain`

If you're using it with Xcode 10.3 or earlier, you can still use it as it is, without the module name alongside the function.

## Versioning

For *Swift 3.x*: Versions <= 1.1.0
Expand Down