Skip to content

Commit 1048ea5

Browse files
committed
Update to the latest pods, but drop MarqueeLabel back to its pre-Swift conversion to work around some crashes for now
1 parent dfd12f2 commit 1048ea5

36 files changed

+2707
-3821
lines changed

AGAudioPlayer.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ Pod::Spec.new do |s|
2727

2828
s.dependency 'Interpolate'
2929
s.dependency 'BASSGaplessAudioPlayer'
30-
s.dependency 'MarqueeLabel'
30+
s.dependency 'MarqueeLabel', '~> 3.2.1'
3131
s.dependency 'NapySlider'
3232
end

AGAudioPlayer.xcodeproj/project.pbxproj

Lines changed: 43 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
00F6D8B8EE7CDB10908B8E7F /* Pods_AGAudioPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D67DF68517CEBB91D42D7E1 /* Pods_AGAudioPlayer.framework */; };
10+
13636ECC66CDACE8C32B9405 /* Pods_AGAudioPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8CE1C12F3C975C70D67852CA /* Pods_AGAudioPlayer.framework */; };
1111
4333981B2249E91E00BECC8A /* UIColor+AGAudioPlayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4333981A2249E91E00BECC8A /* UIColor+AGAudioPlayer.swift */; };
1212
4333981C2249E91E00BECC8A /* UIColor+AGAudioPlayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4333981A2249E91E00BECC8A /* UIColor+AGAudioPlayer.swift */; };
1313
7C0D7BC81A44B68600607581 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 7C0D7BC41A44B68600607581 /* LaunchScreen.xib */; };
@@ -29,10 +29,10 @@
2929
7CC250C01A44792F009F91C8 /* AGAudioPlayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 7CC250BF1A44792F009F91C8 /* AGAudioPlayer.m */; };
3030
7CC250CE1A447A98009F91C8 /* AGAudioPlayerUpNextQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = 7CC250CD1A447A98009F91C8 /* AGAudioPlayerUpNextQueue.m */; };
3131
7CC250D11A447AB0009F91C8 /* AGAudioItem.m in Sources */ = {isa = PBXBuildFile; fileRef = 7CC250D01A447AB0009F91C8 /* AGAudioItem.m */; };
32-
7CE24AAF1BDDD83800ABD545 /* (null) in Resources */ = {isa = PBXBuildFile; };
33-
7CE24AB01BDDD83800ABD545 /* (null) in Resources */ = {isa = PBXBuildFile; };
34-
7CE24AB31BDDD84B00ABD545 /* (null) in Resources */ = {isa = PBXBuildFile; };
35-
7CE24AB41BDDD84B00ABD545 /* (null) in Resources */ = {isa = PBXBuildFile; };
32+
7CE24AAF1BDDD83800ABD545 /* BuildFile in Resources */ = {isa = PBXBuildFile; };
33+
7CE24AB01BDDD83800ABD545 /* BuildFile in Resources */ = {isa = PBXBuildFile; };
34+
7CE24AB31BDDD84B00ABD545 /* BuildFile in Resources */ = {isa = PBXBuildFile; };
35+
7CE24AB41BDDD84B00ABD545 /* BuildFile in Resources */ = {isa = PBXBuildFile; };
3636
C122A1CB1C083B1800DE7E07 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C122A1CA1C083B1800DE7E07 /* AVFoundation.framework */; };
3737
C1511AB51BDD9F6E003B4E6C /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C1511AB41BDD9F6E003B4E6C /* AppDelegate.m */; };
3838
C1511AB81BDD9F6E003B4E6C /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C1511AB71BDD9F6E003B4E6C /* main.m */; };
@@ -49,13 +49,10 @@
4949
/* End PBXBuildFile section */
5050

5151
/* Begin PBXFileReference section */
52-
0181C9D9776D8A68554582E9 /* Pods-AGAudioPlayer.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AGAudioPlayer.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AGAudioPlayer/Pods-AGAudioPlayer.debug.xcconfig"; sourceTree = "<group>"; };
53-
13AE2D5751E4226410EF7FD4 /* libPods-AGAudioPlayerOSX.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AGAudioPlayerOSX.a"; sourceTree = BUILT_PRODUCTS_DIR; };
54-
1D67DF68517CEBB91D42D7E1 /* Pods_AGAudioPlayer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AGAudioPlayer.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5552
4333981A2249E91E00BECC8A /* UIColor+AGAudioPlayer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIColor+AGAudioPlayer.swift"; sourceTree = "<group>"; };
53+
73E8357834B009C798EBD780 /* Pods-AGAudioPlayer.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AGAudioPlayer.release.xcconfig"; path = "Target Support Files/Pods-AGAudioPlayer/Pods-AGAudioPlayer.release.xcconfig"; sourceTree = "<group>"; };
54+
7452075F40E5EDF6C2DE7ED1 /* Pods-AGAudioPlayer.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AGAudioPlayer.debug.xcconfig"; path = "Target Support Files/Pods-AGAudioPlayer/Pods-AGAudioPlayer.debug.xcconfig"; sourceTree = "<group>"; };
5655
7C0D7BC51A44B68600607581 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
57-
7C12F7681C493219006FA021 /* Pods-AGAudioPlayer.debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = "Pods-AGAudioPlayer.debug.xcconfig"; path = "Target Support Files/Pods-AGAudioPlayer/Pods-AGAudioPlayer.debug.xcconfig"; sourceTree = "<group>"; };
58-
7C12F7691C493219006FA021 /* Pods-AGAudioPlayer.release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = "Pods-AGAudioPlayer.release.xcconfig"; path = "Target Support Files/Pods-AGAudioPlayer/Pods-AGAudioPlayer.release.xcconfig"; sourceTree = "<group>"; };
5956
7C3FE4451AB3B69900A52266 /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = System/Library/Frameworks/MediaPlayer.framework; sourceTree = SDKROOT; };
6057
7C3FF8341AB6723B003BAE01 /* AGAudioItemCollection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AGAudioItemCollection.h; sourceTree = "<group>"; };
6158
7C3FF8351AB6723B003BAE01 /* AGAudioItemCollection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AGAudioItemCollection.m; sourceTree = "<group>"; };
@@ -86,7 +83,7 @@
8683
7CC250CD1A447A98009F91C8 /* AGAudioPlayerUpNextQueue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AGAudioPlayerUpNextQueue.m; sourceTree = "<group>"; };
8784
7CC250CF1A447AB0009F91C8 /* AGAudioItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AGAudioItem.h; sourceTree = "<group>"; };
8885
7CC250D01A447AB0009F91C8 /* AGAudioItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AGAudioItem.m; sourceTree = "<group>"; };
89-
B7B0EBDDDA4C85817C274304 /* Pods-AGAudioPlayer.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AGAudioPlayer.release.xcconfig"; path = "Pods/Target Support Files/Pods-AGAudioPlayer/Pods-AGAudioPlayer.release.xcconfig"; sourceTree = "<group>"; };
86+
8CE1C12F3C975C70D67852CA /* Pods_AGAudioPlayer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AGAudioPlayer.framework; sourceTree = BUILT_PRODUCTS_DIR; };
9087
C122A1CA1C083B1800DE7E07 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AVFoundation.framework; sourceTree = DEVELOPER_DIR; };
9188
C1511AB11BDD9F6E003B4E6C /* AGAudioPlayerOSX.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AGAudioPlayerOSX.app; sourceTree = BUILT_PRODUCTS_DIR; };
9289
C1511AB31BDD9F6E003B4E6C /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
@@ -104,7 +101,7 @@
104101
buildActionMask = 2147483647;
105102
files = (
106103
7C3FE4461AB3B69900A52266 /* MediaPlayer.framework in Frameworks */,
107-
00F6D8B8EE7CDB10908B8E7F /* Pods_AGAudioPlayer.framework in Frameworks */,
104+
13636ECC66CDACE8C32B9405 /* Pods_AGAudioPlayer.framework in Frameworks */,
108105
);
109106
runOnlyForDeploymentPostprocessing = 0;
110107
};
@@ -122,10 +119,8 @@
122119
611DADBAC9E9F54CCE4C248F /* Pods */ = {
123120
isa = PBXGroup;
124121
children = (
125-
7C12F7681C493219006FA021 /* Pods-AGAudioPlayer.debug.xcconfig */,
126-
7C12F7691C493219006FA021 /* Pods-AGAudioPlayer.release.xcconfig */,
127-
0181C9D9776D8A68554582E9 /* Pods-AGAudioPlayer.debug.xcconfig */,
128-
B7B0EBDDDA4C85817C274304 /* Pods-AGAudioPlayer.release.xcconfig */,
122+
7452075F40E5EDF6C2DE7ED1 /* Pods-AGAudioPlayer.debug.xcconfig */,
123+
73E8357834B009C798EBD780 /* Pods-AGAudioPlayer.release.xcconfig */,
129124
);
130125
path = Pods;
131126
sourceTree = "<group>";
@@ -257,8 +252,7 @@
257252
C122A1CA1C083B1800DE7E07 /* AVFoundation.framework */,
258253
C1511ACA1BDDA420003B4E6C /* libPods-osx-HysteriaPlayer.a */,
259254
7C3FE4451AB3B69900A52266 /* MediaPlayer.framework */,
260-
13AE2D5751E4226410EF7FD4 /* libPods-AGAudioPlayerOSX.a */,
261-
1D67DF68517CEBB91D42D7E1 /* Pods_AGAudioPlayer.framework */,
255+
8CE1C12F3C975C70D67852CA /* Pods_AGAudioPlayer.framework */,
262256
);
263257
name = Frameworks;
264258
sourceTree = "<group>";
@@ -291,11 +285,11 @@
291285
isa = PBXNativeTarget;
292286
buildConfigurationList = 7CC250B71A447901009F91C8 /* Build configuration list for PBXNativeTarget "AGAudioPlayer" */;
293287
buildPhases = (
294-
507E1C2B9F108F11D7674FFA /* [CP] Check Pods Manifest.lock */,
288+
30BC72884469EF0D879D88F0 /* [CP] Check Pods Manifest.lock */,
295289
7CC250901A447901009F91C8 /* Sources */,
296290
7CC250911A447901009F91C8 /* Frameworks */,
297291
7CC250921A447901009F91C8 /* Resources */,
298-
28CCC19D2CF3ED9271BE6362 /* [CP] Embed Pods Frameworks */,
292+
EDB520548F83A758893B6876 /* [CP] Embed Pods Frameworks */,
299293
);
300294
buildRules = (
301295
);
@@ -369,12 +363,12 @@
369363
buildActionMask = 2147483647;
370364
files = (
371365
7CB928D31E316DC400D963A0 /* AGAudioPlayerTitleView.xib in Resources */,
372-
7CE24AB41BDDD84B00ABD545 /* (null) in Resources */,
373-
7CE24AAF1BDDD83800ABD545 /* (null) in Resources */,
374-
7CE24AB31BDDD84B00ABD545 /* (null) in Resources */,
366+
7CE24AB41BDDD84B00ABD545 /* BuildFile in Resources */,
367+
7CE24AAF1BDDD83800ABD545 /* BuildFile in Resources */,
368+
7CE24AB31BDDD84B00ABD545 /* BuildFile in Resources */,
375369
7C0D7BC81A44B68600607581 /* LaunchScreen.xib in Resources */,
376370
7CC250A51A447901009F91C8 /* Images.xcassets in Resources */,
377-
7CE24AB01BDDD83800ABD545 /* (null) in Resources */,
371+
7CE24AB01BDDD83800ABD545 /* BuildFile in Resources */,
378372
7CB928CF1E316BDB00D963A0 /* AGAudioPlayerViewController.xib in Resources */,
379373
7C4B52531AB38CBC00A57843 /* Icons.xcassets in Resources */,
380374
);
@@ -392,46 +386,51 @@
392386
/* End PBXResourcesBuildPhase section */
393387

394388
/* Begin PBXShellScriptBuildPhase section */
395-
28CCC19D2CF3ED9271BE6362 /* [CP] Embed Pods Frameworks */ = {
389+
30BC72884469EF0D879D88F0 /* [CP] Check Pods Manifest.lock */ = {
396390
isa = PBXShellScriptBuildPhase;
397391
buildActionMask = 2147483647;
398392
files = (
399393
);
394+
inputFileListPaths = (
395+
);
400396
inputPaths = (
401-
"${PODS_ROOT}/Target Support Files/Pods-AGAudioPlayer/Pods-AGAudioPlayer-frameworks.sh",
402-
"${BUILT_PRODUCTS_DIR}/BASSGaplessAudioPlayer/BASSGaplessAudioPlayer.framework",
403-
"${BUILT_PRODUCTS_DIR}/Interpolate/Interpolate.framework",
404-
"${BUILT_PRODUCTS_DIR}/MarqueeLabel/MarqueeLabel.framework",
405-
"${BUILT_PRODUCTS_DIR}/NapySlider/NapySlider.framework",
397+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
398+
"${PODS_ROOT}/Manifest.lock",
399+
);
400+
name = "[CP] Check Pods Manifest.lock";
401+
outputFileListPaths = (
406402
);
407-
name = "[CP] Embed Pods Frameworks";
408403
outputPaths = (
409-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/BASSGaplessAudioPlayer.framework",
410-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Interpolate.framework",
411-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MarqueeLabel.framework",
412-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/NapySlider.framework",
404+
"$(DERIVED_FILE_DIR)/Pods-AGAudioPlayer-checkManifestLockResult.txt",
413405
);
414406
runOnlyForDeploymentPostprocessing = 0;
415407
shellPath = /bin/sh;
416-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AGAudioPlayer/Pods-AGAudioPlayer-frameworks.sh\"\n";
408+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
417409
showEnvVarsInLog = 0;
418410
};
419-
507E1C2B9F108F11D7674FFA /* [CP] Check Pods Manifest.lock */ = {
411+
EDB520548F83A758893B6876 /* [CP] Embed Pods Frameworks */ = {
420412
isa = PBXShellScriptBuildPhase;
421413
buildActionMask = 2147483647;
422414
files = (
423415
);
424416
inputPaths = (
425-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
426-
"${PODS_ROOT}/Manifest.lock",
417+
"${PODS_ROOT}/Target Support Files/Pods-AGAudioPlayer/Pods-AGAudioPlayer-frameworks.sh",
418+
"${BUILT_PRODUCTS_DIR}/BASSGaplessAudioPlayer/BASSGaplessAudioPlayer.framework",
419+
"${BUILT_PRODUCTS_DIR}/Interpolate/Interpolate.framework",
420+
"${BUILT_PRODUCTS_DIR}/MarqueeLabel/MarqueeLabel.framework",
421+
"${BUILT_PRODUCTS_DIR}/NapySlider/NapySlider.framework",
427422
);
428-
name = "[CP] Check Pods Manifest.lock";
423+
name = "[CP] Embed Pods Frameworks";
429424
outputPaths = (
430-
"$(DERIVED_FILE_DIR)/Pods-AGAudioPlayer-checkManifestLockResult.txt",
425+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/BASSGaplessAudioPlayer.framework",
426+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Interpolate.framework",
427+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MarqueeLabel.framework",
428+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/NapySlider.framework",
431429
);
432430
runOnlyForDeploymentPostprocessing = 0;
433431
shellPath = /bin/sh;
434-
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
432+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AGAudioPlayer/Pods-AGAudioPlayer-frameworks.sh\"\n";
433+
showEnvVarsInLog = 0;
435434
};
436435
/* End PBXShellScriptBuildPhase section */
437436

@@ -499,7 +498,6 @@
499498
/* Begin XCBuildConfiguration section */
500499
7CC250B51A447901009F91C8 /* Debug */ = {
501500
isa = XCBuildConfiguration;
502-
baseConfigurationReference = 7C12F7681C493219006FA021 /* Pods-AGAudioPlayer.debug.xcconfig */;
503501
buildSettings = {
504502
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
505503
ALWAYS_SEARCH_USER_PATHS = NO;
@@ -594,7 +592,7 @@
594592
};
595593
7CC250B81A447901009F91C8 /* Debug */ = {
596594
isa = XCBuildConfiguration;
597-
baseConfigurationReference = 7C12F7681C493219006FA021 /* Pods-AGAudioPlayer.debug.xcconfig */;
595+
baseConfigurationReference = 7452075F40E5EDF6C2DE7ED1 /* Pods-AGAudioPlayer.debug.xcconfig */;
598596
buildSettings = {
599597
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
600598
CLANG_ENABLE_MODULES = YES;
@@ -628,7 +626,7 @@
628626
};
629627
7CC250B91A447901009F91C8 /* Release */ = {
630628
isa = XCBuildConfiguration;
631-
baseConfigurationReference = 7C12F7691C493219006FA021 /* Pods-AGAudioPlayer.release.xcconfig */;
629+
baseConfigurationReference = 73E8357834B009C798EBD780 /* Pods-AGAudioPlayer.release.xcconfig */;
632630
buildSettings = {
633631
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
634632
CLANG_ENABLE_MODULES = YES;

AGAudioPlayer/UI/AGAudioPlayerTitleView.xib

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16C67" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
3-
<device id="retina4_7" orientation="portrait">
4-
<adaptation id="fullscreen"/>
5-
</device>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14810.11" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
3+
<device id="retina4_7" orientation="portrait" appearance="light"/>
64
<dependencies>
7-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
5+
<deployment identifier="iOS"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14766.13"/>
87
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
98
</dependencies>
109
<objects>
@@ -19,11 +18,6 @@
1918
<fontDescription key="fontDescription" type="system" pointSize="24"/>
2019
<nil key="textColor"/>
2120
<nil key="highlightedColor"/>
22-
<userDefinedRuntimeAttributes>
23-
<userDefinedRuntimeAttribute type="number" keyPath="marqueeType">
24-
<integer key="value" value="0"/>
25-
</userDefinedRuntimeAttribute>
26-
</userDefinedRuntimeAttributes>
2721
</label>
2822
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Subtitle" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="t6j-Xn-I3a">
2923
<rect key="frame" x="16" y="63" width="343" height="21"/>

AGAudioPlayer/UI/AGAudioPlayerViewController.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,10 +459,10 @@ extension AGAudioPlayerViewController : ScrubberBarDelegate {
459459

460460
// uiLabelTitle.animationDuration = 2
461461
uiLabelTitle.animationDelay = 5
462-
uiLabelTitle.speed = .rate(25)
462+
uiLabelTitle.rate = 25
463463

464464
uiLabelSubtitle.animationDelay = 5
465-
uiLabelSubtitle.speed = .rate(25)
465+
uiLabelSubtitle.rate = 25
466466

467467
uiLabelTitle.isUserInteractionEnabled = true
468468
uiLabelSubtitle.isUserInteractionEnabled = true
@@ -472,10 +472,10 @@ extension AGAudioPlayerViewController : ScrubberBarDelegate {
472472
uiMiniLabelSubtitle.trailingBuffer = 16
473473

474474
uiMiniLabelTitle.animationDelay = 5
475-
uiMiniLabelTitle.speed = .rate(16)
475+
uiMiniLabelTitle.rate = 16
476476

477477
uiMiniLabelSubtitle.animationDelay = 5
478-
uiMiniLabelSubtitle.speed = .rate(16)
478+
uiMiniLabelSubtitle.rate = 16
479479

480480
uiMiniLabelTitle.isUserInteractionEnabled = true
481481
uiMiniLabelSubtitle.isUserInteractionEnabled = true

0 commit comments

Comments
 (0)