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

Commit

Permalink
Storyboard preview
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardoCardoso committed Jun 8, 2017
1 parent ed447df commit 9d7c7d4
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 10 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
# Change Log

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

---

## [0.0.2](https://github.com/LeonardoCardoso/SendIndicator/releases/tag/0.0.2)
Released on 2017-06-08.

#### Added
- Storyboard preview.
- Added by [Leonardo Cardoso](https://github.com/LeonardoCardoso).

## [0.0.1](https://github.com/LeonardoCardoso/SendIndicator/releases/tag/0.0.1)
Released on 2017-05-31.

Expand Down
4 changes: 2 additions & 2 deletions Example/Example/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<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">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12088"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.14"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- SendIndicator (0.0.1)
- SendIndicator (0.0.2)

DEPENDENCIES:
- SendIndicator (from `../`)
Expand All @@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
SendIndicator: 8bcb50718fc03ae3187030c3a9468fc8e0e62956
SendIndicator: 161bbbb74dc30f783f027584d8b69f9d4ceab668

PODFILE CHECKSUM: 0d26c204bd95934f7e07387fb499ba78324eeee0

Expand Down
Binary file modified Images/storyboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
![showcase](Images/showcase.gif)

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

> Yet another task indicator
Expand All @@ -29,7 +29,7 @@
$ gem install cocoapods
```

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

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

pod 'SendIndicator', '~> 0.0.1'
pod 'SendIndicator', '~> 0.0.2'
```

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

```ogdl
github "LeonardoCardoso/SendIndicator" ~> 0.0.1
github "LeonardoCardoso/SendIndicator" ~> 0.0.2
```

### Manually
Expand Down
2 changes: 1 addition & 1 deletion SendIndicator.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SendIndicator'
s.version = '0.0.1'
s.version = '0.0.2'
s.license = { :type => "MIT", :file => "LICENSE" }
s.summary = 'Yet another task indicator'
s.homepage = 'https://github.com/LeonardoCardoso/SendIndicator'
Expand Down
4 changes: 4 additions & 0 deletions Sources/SendIndicator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ open class SendIndicator: UIView {

palette.indicatorColor = indicatorColor ?? palette.indicatorColor

draw()

}

}
Expand All @@ -336,6 +338,8 @@ open class SendIndicator: UIView {

super.init(frame: frame)

self.draw()

}

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

0 comments on commit 9d7c7d4

Please sign in to comment.