Commit f0a5cce7 by Daniel Dahan

issue-911: Added @objc to TabBar.tabItems for visibility in Obj-C.

parent 6a3236d2
Pod::Spec.new do |s|
s.name = 'Material'
s.version = '2.12.0'
s.version = '2.12.1'
s.license = 'BSD-3-Clause'
s.summary = 'A UI/UX framework for creating beautiful applications.'
s.homepage = 'http://materialswift.com'
......
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.12.0</string>
<string>2.12.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
......@@ -200,6 +200,7 @@ open class TabBar: Bar {
}
/// TabItems.
@objc
open var tabItems = [TabItem]() {
didSet {
for b in oldValue {
......@@ -287,6 +288,7 @@ fileprivate extension TabBar {
/// Prepares the tabItems.
func prepareTabItems() {
shouldNotAnimateLineView = true
for v in tabItems {
v.grid.columns = 0
v.contentEdgeInsets = .zero
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment