Skip to content
This repository was archived by the owner on Apr 9, 2023. It is now read-only.

Commit 2236e71

Browse files
committed
Update project description
1 parent 2d31cca commit 2236e71

File tree

5 files changed

+31
-38
lines changed

5 files changed

+31
-38
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ before_install:
1515
- pod install --project-directory=Example
1616

1717
script:
18-
- set -o pipefail && xcodebuild test -workspace Example/AZExpandableIconListView.xcworkspace -scheme AZExpandableIconListView-Example -destination 'platform=iOS Simulator,name=iPhone 7,OS=10.0' ONLY_ACTIVE_ARCH=NO | xcpretty
18+
- set -o pipefail && xcodebuild test -workspace Example/AZExpandableIconListView.xcworkspace -scheme AZExpandableIconListView-Example -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.0' ONLY_ACTIVE_ARCH=NO | xcpretty
1919
- pod lib lint
2020

AZExpandableIconListView.podspec

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

99
Pod::Spec.new do |s|
1010
s.name = "AZExpandableIconListView"
11-
s.version = "0.2.1"
11+
s.version = "1.0.0"
1212
s.summary = "Expandable icon list view"
13-
s.swift_version = "4.2"
13+
s.swift_version = "5.0"
1414
# This description is used to generate tags and improve search results.
1515
# * Think: What does it do? Why did you write it? What is the focus?
1616
# * Try to keep it short, snappy and to the point.
@@ -21,21 +21,16 @@ An expandable/collapsible UIView that holds an array of UIImageView. Something l
2121
DESC
2222

2323
s.homepage = "https://github.com/Azuritul/AZExpandableIconListView"
24-
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
2524
s.license = 'MIT'
2625
s.author = { "Chris Wu(Azuritul)" => "[email protected]" }
2726
s.source = { :git => "https://github.com/Azuritul/AZExpandableIconListView.git", :tag => s.version.to_s }
2827
s.social_media_url = 'https://twitter.com/azuritul'
29-
30-
s.platform = :ios, '8.0'
28+
s.platform = :ios, '11.0'
3129
s.requires_arc = true
3230

3331
s.source_files = 'Pod/Classes/**/*'
3432
#s.resource_bundles = {
3533
# 'AZExpandableIconListView' => ['Pod/Assets/*.png']
3634
#}
3735

38-
# s.public_header_files = 'Pod/Classes/**/*.h'
39-
# s.frameworks = 'UIKit', 'MapKit'
40-
# s.dependency 'AFNetworking', '~> 2.3'
4136
end
Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,33 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14868" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES">
3+
<device id="retina6_1" orientation="portrait" appearance="light"/>
34
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6207"/>
5-
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
5+
<deployment identifier="iOS"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14824"/>
7+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
68
</dependencies>
79
<objects>
810
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
911
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
1012
<view contentMode="scaleToFill" id="iN0-l3-epB">
11-
<rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
13+
<rect key="frame" x="0.0" y="0.0" width="491" height="705"/>
1214
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1315
<subviews>
14-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" Copyright (c) 2015 CocoaPods. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye">
15-
<rect key="frame" x="20" y="439" width="441" height="21"/>
16-
<fontDescription key="fontDescription" type="system" pointSize="17"/>
17-
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
18-
<nil key="highlightedColor"/>
19-
</label>
2016
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="AZExpandableIconListView" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
21-
<rect key="frame" x="20" y="140" width="441" height="43"/>
17+
<rect key="frame" x="15" y="281" width="461" height="43"/>
2218
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
2319
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
2420
<nil key="highlightedColor"/>
2521
</label>
2622
</subviews>
27-
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
23+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
2824
<constraints>
29-
<constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
3025
<constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
31-
<constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l"/>
32-
<constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0"/>
33-
<constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9"/>
34-
<constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/>
26+
<constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" constant="-50" id="Np8-Nr-R0C"/>
3527
</constraints>
3628
<nil key="simulatedStatusBarMetrics"/>
3729
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
38-
<point key="canvasLocation" x="548" y="455"/>
30+
<point key="canvasLocation" x="-362" y="154"/>
3931
</view>
4032
</objects>
4133
</document>
Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="vXZ-lx-hvc">
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14868" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="vXZ-lx-hvc">
3+
<device id="retina6_1" orientation="portrait" appearance="light"/>
34
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
5+
<deployment identifier="iOS"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14824"/>
7+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
58
</dependencies>
69
<scenes>
710
<!--View Controller-->
811
<scene sceneID="ufC-wZ-h7g">
912
<objects>
10-
<viewController id="vXZ-lx-hvc" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
13+
<viewController id="vXZ-lx-hvc" customClass="ViewController" customModule="AZExpandableIconListView_Example" customModuleProvider="target" sceneMemberID="viewController">
1114
<layoutGuides>
1215
<viewControllerLayoutGuide type="top" id="jyV-Pf-zRb"/>
1316
<viewControllerLayoutGuide type="bottom" id="2fi-mo-0CV"/>
1417
</layoutGuides>
1518
<view key="view" contentMode="scaleToFill" id="kh9-bI-dsS">
16-
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
19+
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
1720
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
18-
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
21+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
1922
</view>
2023
</viewController>
2124
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
2225
</objects>
26+
<point key="canvasLocation" x="26" y="29"/>
2327
</scene>
2428
</scenes>
2529
</document>

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
[![Version](https://img.shields.io/cocoapods/v/AZExpandableIconListView.svg?style=flat)](http://cocoapods.org/pods/AZExpandableIconListView)
55
[![License](https://img.shields.io/cocoapods/l/AZExpandableIconListView.svg?style=flat)](http://cocoapods.org/pods/AZExpandableIconListView)
66
[![Platform](https://img.shields.io/cocoapods/p/AZExpandableIconListView.svg?style=flat)](http://cocoapods.org/pods/AZExpandableIconListView)
7-
[![Language](https://img.shields.io/badge/swift-3.0-orange.svg)](http://swift.org)
7+
[![Language](https://img.shields.io/badge/swift-5.0-orange.svg)](http://swift.org)
88

99
An expandable/collapsible UIView that holds an array of UIImageView. Something like accordion. An interesting practice with auto layout and animation.
1010

1111
## Screenshots
1212
![expandable](https://cloud.githubusercontent.com/assets/879197/12738681/49bc442c-c9a6-11e5-976e-68650cbe4af2.gif)
1313

1414
## Requirements
15-
- iOS 9 or above
16-
- Xcode 8 or above
17-
- Swift 3
15+
- iOS 11 or above
16+
- Xcode 11 or above
17+
- Swift 5
1818

1919
## Demo Project
2020
To run the example project, clone the repo with `git clone https://github.com/Azuritul/AZExpandableIconListView.git`, and run `pod install` from the Example directory first.
@@ -44,6 +44,8 @@ use_frameworks!
4444
pod 'AZExpandableIconListView'
4545
```
4646
## Version
47+
- 1.0.0
48+
- Updated for Swift 5
4749
- 0.2.0
4850
- Updated for Swift 3
4951
- 0.1.1

0 commit comments

Comments
 (0)