Skip to content

Commit f0a5cce

Browse files
author
Daniel Dahan
committed
issue-911: Added @objc to TabBar.tabItems for visibility in Obj-C.
1 parent 6a3236d commit f0a5cce

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Material.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Material'
3-
s.version = '2.12.0'
3+
s.version = '2.12.1'
44
s.license = 'BSD-3-Clause'
55
s.summary = 'A UI/UX framework for creating beautiful applications.'
66
s.homepage = 'http://materialswift.com'

Sources/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.12.0</string>
18+
<string>2.12.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Sources/iOS/TabBar.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ open class TabBar: Bar {
200200
}
201201

202202
/// TabItems.
203+
@objc
203204
open var tabItems = [TabItem]() {
204205
didSet {
205206
for b in oldValue {
@@ -287,6 +288,7 @@ fileprivate extension TabBar {
287288
/// Prepares the tabItems.
288289
func prepareTabItems() {
289290
shouldNotAnimateLineView = true
291+
290292
for v in tabItems {
291293
v.grid.columns = 0
292294
v.contentEdgeInsets = .zero

0 commit comments

Comments
 (0)