Skip to content
#

swift-5

Here are 83 public repositories matching this topic...

winstondu
winstondu commented Aug 28, 2019

CSS has the ability to allow proportional margin and padding:
https://webplatform.github.io/docs/guides/the_css_layout_model/#Proportional-margins-and-padding-in-the-W3C-box-model

I was wondering if it is possible to implement a similar concept with edges. For example, if I wanted my top margin of a subview to its superview to be 20% of the superview height (i.e. subview.top = superview.top +

XcodeProj
pepibumur
pepibumur commented Feb 27, 2019

Context 🕵️‍♀️

A pattern that I have seen when developers use the library is that they create new objects and forget to add them to the pbxproj. As a result, the write fails because those objects are not attached to any project.

What 🌱

I think we can improve the API to codify that requirement so that developers don't need to think about that. CocoaPods' xcodeproj does it like that and

Improve this page

Add a description, image, and links to the swift-5 topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the swift-5 topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.