Skip to content

Commit f2cee5e

Browse files
author
Gürhan Yerlikaya
committed
added @objc for using from Objective-c
1 parent e61c74c commit f2cee5e

File tree

6 files changed

+12
-13
lines changed

6 files changed

+12
-13
lines changed

Example/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ DEPENDENCIES:
66

77
EXTERNAL SOURCES:
88
ScrollableStackView:
9-
:path: "../"
9+
:path: ../
1010

1111
SPEC CHECKSUMS:
12-
ScrollableStackView: 83e5943c730474246bb6b253391ef78caed1626a
12+
ScrollableStackView: 82fe51adf0df6f9ea89f4eff0eed2bac01186da0
1313

1414
PODFILE CHECKSUM: ce2af2a366952d6b9046a4a798b61b3154f78e89
1515

Example/Pods/Local Podspecs/ScrollableStackView.podspec.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Manifest.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ Scroll your stack view with a smile up on your face. Written in Swift 3. Used Ap
55
<!---->
66
<!--[![CI Status](http://img.shields.io/travis/Gürhan Yerlikaya/ScrollableStackView.svg?style=flat)](https://travis-ci.org/Gürhan Yerlikaya/ScrollableStackView)-->
77

8-
#[![Version](https://img.shields.io/cocoapods/v/ScrollableStackView.svg?style=flat)](http://cocoapods.org/pods/ScrollableStackView)
9-
#[![License](https://img.shields.io/cocoapods/l/ScrollableStackView.svg?style=flat)](http://cocoapods.org/pods/ScrollableStackView)
10-
#[![Platform](https://img.shields.io/cocoapods/p/ScrollableStackView.svg?style=flat)](http://cocoapods.org/pods/ScrollableStackView)
11-
8+
[![Version](https://img.shields.io/cocoapods/v/ScrollableStackView.svg?style=flat)](http://cocoapods.org/pods/ScrollableStackView)
9+
[![License](https://img.shields.io/cocoapods/l/ScrollableStackView.svg?style=flat)](http://cocoapods.org/pods/ScrollableStackView)
10+
[![Platform](https://img.shields.io/cocoapods/p/ScrollableStackView.svg?style=flat)](http://cocoapods.org/pods/ScrollableStackView)
1211

1312
### TODO
1413

ScrollableStackView.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = 'ScrollableStackView'
33
s.version = '1.0'
4-
s.summary = 'Scrollable UIStackView. Scroll your stack view with a smile up on your face. Written in Swift 3. Used Apple's pure auto layout.'
4+
s.summary = 'Scrollable UIStackView. Scroll your stack view with a smile up on your face. Written in Swift 3. Used Apple s pure auto layout.'
55
s.description = <<-DESC
66
77
Scrollable UIStackView. Scroll your stack view with a smile up on your face. Written in Swift 3. Used Apple's pure auto layout. If you need to use UIStackView with scroll (UIScrollView) this is the right library for you.

ScrollableStackView/Classes/ScrollableStackView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88

99
import UIKit
1010

11-
public class ScrollableStackView: UIStackView {
11+
@objc public class ScrollableStackView: UIStackView {
1212

1313
fileprivate var didSetupConstraints = false
1414
fileprivate var scrollView: UIScrollView!
15-
open var stackView: UIStackView!
15+
@objc open var stackView: UIStackView!
1616

1717
override public func didMoveToSuperview() {
1818
super.didMoveToSuperview()

0 commit comments

Comments
 (0)