Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage

osx_image: xcode8
osx_image: xcode9.4
language: swift
# cache: cocoapods
# podfile: Example/Podfile
Expand All @@ -13,5 +13,5 @@ before_install:

script:
- set -o pipefail
- xcodebuild -workspace Example/AGVolumeControlView.xcworkspace -scheme AGVolumeControlView-Example -sdk iphonesimulator10.0 -destination "OS=10.0,name=iPhone 7 Plus" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
- xcodebuild -workspace Example/AGVolumeControlView.xcworkspace -scheme AGVolumeControlView-Example -sdk iphonesimulator11.4 -destination "OS=10.13,name=iPhone X" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
- pod lib lint --allow-warnings
252 changes: 33 additions & 219 deletions Example/AGVolumeControlView.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0820"
LastUpgradeVersion = "0940"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -20,20 +20,6 @@
ReferencedContainer = "container:AGVolumeControlView.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "607FACE41AFB9204008FA782"
BuildableName = "AGVolumeControlView_Tests.xctest"
BlueprintName = "AGVolumeControlView_Tests"
ReferencedContainer = "container:AGVolumeControlView.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
Expand All @@ -42,16 +28,6 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "607FACE41AFB9204008FA782"
BuildableName = "AGVolumeControlView_Tests.xctest"
BlueprintName = "AGVolumeControlView_Tests"
ReferencedContainer = "container:AGVolumeControlView.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
8 changes: 4 additions & 4 deletions Example/AGVolumeControlView/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="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="VPH-vh-sN9">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="VPH-vh-sN9">
<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="14088"/>
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
Expand Down Expand Up @@ -89,7 +89,7 @@
</scene>
</scenes>
<resources>
<image name="playButton" width="16" height="16"/>
<image name="stopButton" width="16" height="16"/>
<image name="playButton" width="50" height="50"/>
<image name="stopButton" width="50" height="50"/>
</resources>
</document>
Original file line number Diff line number Diff line change
@@ -1,108 +1,158 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"images" : [
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-40.png",
"size" : "40x40",
"idiom" : "ipad",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"size" : "40x40",
"idiom" : "ipad",
"scale" : "2x"
},
{
"size" : "20x20",
"filename" : "[email protected]",
"size" : "60x60",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "3x"
"scale" : "2x"
},
{
"filename" : "Icon-72.png",
"size" : "72x72",
"idiom" : "ipad",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"size" : "72x72",
"idiom" : "ipad",
"scale" : "2x"
},
{
"filename" : "Icon-76.png",
"size" : "76x76",
"idiom" : "ipad",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"size" : "76x76",
"idiom" : "ipad",
"scale" : "2x"
},
{
"filename" : "Icon-Small-50.png",
"size" : "50x50",
"idiom" : "ipad",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"size" : "50x50",
"idiom" : "ipad",
"scale" : "2x"
},
{
"filename" : "Icon-Small.png",
"size" : "29x29",
"idiom" : "iphone",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"size" : "29x29",
"idiom" : "iphone",
"scale" : "2x"
},
{
"size" : "29x29",
"filename" : "Icon.png",
"size" : "57x57",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "3x"
"scale" : "1x"
},
{
"size" : "40x40",
"filename" : "[email protected]",
"size" : "57x57",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"size" : "40x40",
"filename" : "[email protected]",
"size" : "29x29",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "3x"
},
{
"size" : "60x60",
"filename" : "[email protected]",
"size" : "40x40",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "2x"
"scale" : "3x"
},
{
"filename" : "[email protected]",
"size" : "60x60",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "3x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "1x"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-42.png",
"filename" : "[email protected]",
"size" : "40x40",
"idiom" : "iphone",
"scale" : "2x"
},
{
"filename" : "Icon-Small.png",
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-Small.png",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"size" : "29x29",
"idiom" : "ipad",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"size" : "40x40",
"filename" : "[email protected]",
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "Icon-41.png",
"scale" : "1x"
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "[email protected]",
"filename" : "[email protected]",
"size" : "20x20",
"idiom" : "iphone",
"scale" : "2x"
},
{
"size" : "76x76",
"filename" : "[email protected]",
"size" : "20x20",
"idiom" : "iphone",
"scale" : "3x"
},
{
"filename" : "NotificationIcon~ipad.png",
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-76.png",
"scale" : "1x"
},
{
"size" : "76x76",
"filename" : "[email protected]",
"size" : "20x20",
"idiom" : "ipad",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "83.5x83.5",
"scale" : "2x"
"filename" : "ios-marketing.png",
"size" : "1024x1024",
"idiom" : "ios-marketing",
"scale" : "1x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion Example/AGVolumeControlView/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
</array>
</dict>
</plist>
4 changes: 2 additions & 2 deletions Example/AGVolumeControlView/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ extension ViewController
button.tintColor = UIColor.init(red: 117.0/255.0, green: 250.0/255.0, blue: 252.0/255.0, alpha: 1.0)
}

func valueChanged() {
@objc func valueChanged() {
self.audioPlayer?.volume = Float(self.volumeControl.volumeSliderProgressValue())
}

Expand Down Expand Up @@ -97,7 +97,7 @@ extension ViewController
)
}

func levelTimerListener ()
@objc func levelTimerListener ()
{
self.audioPlayer?.updateMeters()
var level : CGFloat!
Expand Down
10 changes: 3 additions & 7 deletions Example/Podfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
use_frameworks!
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'

target 'AGVolumeControlView_Example' do
use_frameworks!
pod 'AGVolumeControlView', :path => '../'

target 'AGVolumeControlView_Tests' do
inherit! :search_paths


end
end
6 changes: 3 additions & 3 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
AGVolumeControlView: 9cf519ad35bc9a1214488bd10804fddd39c26322
AGVolumeControlView: ae2d40f1868b951ba2786e9ed164fe69eaf6611a

PODFILE CHECKSUM: fd091dedd20f3ff168f1d66a05d8360009b1fab5
PODFILE CHECKSUM: 11587191a00c35817911e6272a01df53bdace048

COCOAPODS: 1.2.1
COCOAPODS: 1.5.3
6 changes: 3 additions & 3 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading