Closed mgorbach closed 10 years ago
@ndonald2 New PR for you.
@Raizlabs/maintainers-ios I've also changed the default branch on this repo to develop
.
@mgorbach I'd caution against changing the default branch since this is open-source. If others stumble upon it, it may not be immediately apparent that the default branch is not the stable one.
@ZevEisenberg Not sure if it affects CocoaPods, but I'm pretty sure it does not since specs in the trunk are always based on tags. Either way, OSS repos should never have a dev branch as the default, IMO, if they are intended to be discoverable by the public.
@mgorbach This looks good. Merging and adding to 2.4.0 release candidate.
The
commonAncestorForViews:
method should be useful in the future as we add more interesting things to this category.@Raizlabs/maintainers-ios: please review. This PR comes from an issue I found: the
rz_pinHeightToView
andrz_pinWidthToView
methods worked correctly only if the passed-in view was a subview ofself
.This is an unnecessary limitation. I've made them significantly more flexible by finding the common ancestor and applying the constraint in the right place.