Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.

Commit 9d7c7d4

Browse files
Storyboard preview
1 parent ed447df commit 9d7c7d4

File tree

7 files changed

+21
-10
lines changed

7 files changed

+21
-10
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
# Change Log
22

33
#### 0.x Releases
4-
- `0.0.x` Releases - [0.0.1](#001)
4+
- `0.0.x` Releases - [0.0.1](#001) | [0.0.2](#002)
55

66
---
77

8+
## [0.0.2](https://github.com/LeonardoCardoso/SendIndicator/releases/tag/0.0.2)
9+
Released on 2017-06-08.
10+
11+
#### Added
12+
- Storyboard preview.
13+
- Added by [Leonardo Cardoso](https://github.com/LeonardoCardoso).
14+
815
## [0.0.1](https://github.com/LeonardoCardoso/SendIndicator/releases/tag/0.0.1)
916
Released on 2017-05-31.
1017

Example/Example/Base.lproj/Main.storyboard

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12120" systemVersion="16F73" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.17" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
33
<device id="retina4_7" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
77
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12088"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.14"/>
99
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
1010
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1111
</dependencies>

Example/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- SendIndicator (0.0.1)
2+
- SendIndicator (0.0.2)
33

44
DEPENDENCIES:
55
- SendIndicator (from `../`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
99
:path: "../"
1010

1111
SPEC CHECKSUMS:
12-
SendIndicator: 8bcb50718fc03ae3187030c3a9468fc8e0e62956
12+
SendIndicator: 161bbbb74dc30f783f027584d8b69f9d4ceab668
1313

1414
PODFILE CHECKSUM: 0d26c204bd95934f7e07387fb499ba78324eeee0
1515

Images/storyboard.png

2.65 KB
Loading

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
![showcase](Images/showcase.gif)
44

55
[![Platform](https://img.shields.io/badge/platform-iOS-orange.svg)](https://github.com/LeonardoCardoso/SendIndicator#requirements-and-details)
6-
[![CocoaPods](https://img.shields.io/badge/pod-v0.0.1-red.svg)](https://github.com/LeonardoCardoso/SendIndicator#cocoapods)
6+
[![CocoaPods](https://img.shields.io/badge/pod-v0.0.2-red.svg)](https://github.com/LeonardoCardoso/SendIndicator#cocoapods)
77
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg)](https://github.com/LeonardoCardoso/SendIndicator#carthage)
88

99
> Yet another task indicator
@@ -29,7 +29,7 @@
2929
$ gem install cocoapods
3030
```
3131

32-
> CocoaPods 1.1.0+ is required to build SendIndicator 0.0.1+.
32+
> CocoaPods 1.1.0+ is required to build SendIndicator 0.0.2+.
3333
3434
To integrate SendIndicator into your Xcode project using CocoaPods, specify it in your `Podfile`:
3535

@@ -38,7 +38,7 @@ source 'https://github.com/CocoaPods/Specs.git'
3838
platform :ios, '8.0'
3939
use_frameworks!
4040

41-
pod 'SendIndicator', '~> 0.0.1'
41+
pod 'SendIndicator', '~> 0.0.2'
4242
```
4343

4444
Then, run the following command:
@@ -61,7 +61,7 @@ $ brew install carthage
6161
To integrate SendIndicator into your Xcode project using Carthage, specify it in your `Cartfile`:
6262

6363
```ogdl
64-
github "LeonardoCardoso/SendIndicator" ~> 0.0.1
64+
github "LeonardoCardoso/SendIndicator" ~> 0.0.2
6565
```
6666

6767
### Manually

SendIndicator.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 = 'SendIndicator'
3-
s.version = '0.0.1'
3+
s.version = '0.0.2'
44
s.license = { :type => "MIT", :file => "LICENSE" }
55
s.summary = 'Yet another task indicator'
66
s.homepage = 'https://github.com/LeonardoCardoso/SendIndicator'

Sources/SendIndicator.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,8 @@ open class SendIndicator: UIView {
318318

319319
palette.indicatorColor = indicatorColor ?? palette.indicatorColor
320320

321+
draw()
322+
321323
}
322324

323325
}
@@ -336,6 +338,8 @@ open class SendIndicator: UIView {
336338

337339
super.init(frame: frame)
338340

341+
self.draw()
342+
339343
}
340344

341345
public init(frame: CGRect, palette: Palette = Palette()) {

0 commit comments

Comments
 (0)