Open paleozogt opened 7 years ago
While PR #60 lets you use UIStackView
in IB files, what I think PR #87 is after is to let you use OAStackViewProxy
in IB files and have it inherit from the right thing (OAStackView
or UIStackView
, depending on the OS).
There's a simpler way to get at this functionality. We can just have OAStackViewProxy
inherit from UIStackView
. Since PR #60 makes UIStackView
inherit from OAStackView
on pre-IOS7, this will work out.
I imagine this is no longer an issue with #101 merged?
PR #87 breaks the ability to have OAStackView be a static framework (because it uses Swift), and consequently breaks iOS 7 compatibility.
OAStackView's own Examples project (Deployment Target = 7.1) is broken because of this:
It can't be worked around, either, as Cocoapods ~doesn't~ can't support static frameworks with Swift. For example if we remove
use_frameworks!
from the Podfile we getWhat problem is
OAStackViewProxy.swift
trying to solve? PR #60 solves the backwards compatibility problem withobjc_allocateClassPair
.