Skip to content

Commit 4ab5903

Browse files
committed
make cogig buttons public
1 parent 174ee7c commit 4ab5903

8 files changed

Lines changed: 17 additions & 8 deletions

File tree

Example/Pods/Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_Example-Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/Pods-SwiftStickerView_Tests/Pods-SwiftStickerView_Tests-Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/SwiftStickerView/SwiftStickerView-Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/SwiftStickerView/Base.lproj/Main.storyboard

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<dependencies>
55
<deployment identifier="iOS"/>
66
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17126"/>
7+
<capability name="Image references" minToolsVersion="12.0"/>
78
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
89
</dependencies>
910
<scenes>
@@ -35,6 +36,14 @@
3536
<action selector="showHideEditView:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="j0b-Za-HaJ"/>
3637
</connections>
3738
</button>
39+
<button opaque="NO" contentMode="scaleAspectFit" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="UTi-FV-da2">
40+
<rect key="frame" x="47" y="492" width="109" height="85"/>
41+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
42+
<state key="normal">
43+
<imageReference key="image" image="flip.horizontal.fill" catalog="system" symbolScale="large"/>
44+
<preferredSymbolConfiguration key="preferredSymbolConfiguration" scale="large"/>
45+
</state>
46+
</button>
3847
</subviews>
3948
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
4049
</view>

Example/SwiftStickerView/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>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.0</string>
18+
<string>2.0.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Example/Tests/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>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.0</string>
18+
<string>2.0.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Source/Configuration.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ enum ButtonPosition{
1616
}
1717

1818

19-
struct Button {
19+
public struct Button {
2020
var buttonPosition:ButtonPosition!
2121
var buttonType:ButtonType!
2222
var button:UIButton!
@@ -43,7 +43,7 @@ struct Button {
4343

4444
open class Configuration {
4545

46-
var activeButtons:[Button]! = []
46+
public var activeButtons:[Button]! = []
4747
var minimumSize:CGFloat! = 16 * 4
4848
public var insetMarging:CGFloat! = 16
4949
public var boarderColor:UIColor! = .darkGray

SwiftStickerView.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'SwiftStickerView'
11-
s.version = '2.0.0'
11+
s.version = '2.0.1'
1212
s.summary = 'SwiftStickerView for view move rotate scretch.'
1313
s.requires_arc = true
1414

0 commit comments

Comments
 (0)