Skip to content

Commit 2661ed9

Browse files
author
ildar sibagatov
authored
Merge pull request #7 from sfcd/release/1.0.6
Release 1.0.6
2 parents d54e23f + cf68889 commit 2661ed9

File tree

6 files changed

+18
-43
lines changed

6 files changed

+18
-43
lines changed

Example/Resources/ExampleInfo.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
<array>
3131
<string>armv7</string>
3232
</array>
33+
<key>UIStatusBarHidden</key>
34+
<true/>
3335
<key>UIStatusBarStyle</key>
3436
<string>UIStatusBarStyleLightContent</string>
3537
<key>UISupportedInterfaceOrientations</key>

Example/Resources/LaunchScreen.storyboard

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3+
<device id="retina5_9" orientation="portrait">
4+
<adaptation id="fullscreen"/>
5+
</device>
36
<dependencies>
47
<deployment identifier="iOS"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
6-
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
9+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
710
</dependencies>
811
<scenes>
912
<!--View Controller-->
@@ -15,23 +18,23 @@
1518
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
1619
</layoutGuides>
1720
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
18-
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
21+
<rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
1922
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
2023
<subviews>
2124
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" Copyright © 2016 SFÇD. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="obG-Y5-kRd">
22-
<rect key="frame" x="20" y="559" width="560" height="21"/>
25+
<rect key="frame" x="20" y="771" width="335" height="21"/>
2326
<fontDescription key="fontDescription" type="system" pointSize="17"/>
24-
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
27+
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
2528
<nil key="highlightedColor"/>
2629
</label>
2730
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="SFProgressCircle" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
28-
<rect key="frame" x="20" y="180.5" width="560" height="42"/>
31+
<rect key="frame" x="20" y="250.66666666666663" width="335" height="42"/>
2932
<fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="36"/>
30-
<color key="textColor" red="0.9882352941176471" green="0.30196078431372547" blue="0.23529411764705882" alpha="1" colorSpace="calibratedRGB"/>
33+
<color key="textColor" red="0.9882352941176471" green="0.30196078431372547" blue="0.23529411764705882" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
3134
<nil key="highlightedColor"/>
3235
</label>
3336
</subviews>
34-
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
37+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
3538
<constraints>
3639
<constraint firstAttribute="centerX" secondItem="obG-Y5-kRd" secondAttribute="centerX" id="5cz-MP-9tL"/>
3740
<constraint firstAttribute="centerX" secondItem="GJd-Yh-RWb" secondAttribute="centerX" id="Q3B-4B-g5h"/>

Example/Source/ViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ - (void)viewDidLoad
4242
[_progressView setCenter:self.view.center];
4343
[_progressView setLineWidth:6];
4444
[_progressView setProgress:0];
45+
[_progressView setRoundedCorners:YES];
4546
[self.view addSubview:_progressView];
4647

4748
_titleLabel = [[UILabel alloc] initWithFrame:(CGRect){0, 0, 100, 30}];
@@ -73,7 +74,7 @@ - (void)viewDidAppear:(BOOL)animated
7374

7475
- (UIStatusBarStyle)preferredStatusBarStyle
7576
{
76-
return UIStatusBarStyleLightContent;
77+
return UIStatusBarStyleDefault;
7778
}
7879

7980
- (void)onRefresh

Package.swift

Lines changed: 0 additions & 30 deletions
This file was deleted.

SFProgressCircle.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 = "SFProgressCircle"
3-
s.version = "1.0.5"
3+
s.version = "1.0.6"
44
s.summary = "A circular gradient progress view implementation for iOS (supports partial circle)"
55
s.description = <<-DESC
66
A circular gradient progress view implementation for iOS (supports partial circle)

Source/SFCircleGradientView.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ - (void)initView:(CGRect)frame
6565
_gradientLayer = [self progressLayer];
6666
_gradientLayer.startColor = [UIColor blackColor];
6767
_gradientLayer.endColor = [UIColor greenColor];
68-
_gradientLayer.roundedCorners = YES;
6968

7069
[self updateLayerData:frame];
7170

0 commit comments

Comments
 (0)