Skip to content

Commit eba800f

Browse files
author
Diogo Autilio
committed
Small improvements
1 parent a806b8c commit eba800f

3 files changed

Lines changed: 33 additions & 1 deletion

File tree

SCLAlertView-Objective-C.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Pod::Spec.new do |spec|
99
spec.author = { "Diogo Autilio" => "diautilio@gmail.com" }
1010
spec.social_media_url = "http://twitter.com/di_autilio"
1111
spec.platform = :ios
12-
spec.frameworks = "Foundation", "AudioToolbox"
12+
spec.frameworks = "UIKit", "AudioToolbox", "Accelerate", "CoreGraphics"
1313
spec.ios.deployment_target = '6.0'
1414
spec.source = { :git => "https://github.com/dogo/SCLAlertView.git", :tag => spec.version.to_s }
1515
spec.source_files = "SCLAlertView/*"

SCLAlertView.xcodeproj/project.pbxproj

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
/* Begin PBXBuildFile section */
1010
572BB1471B8383B3002DEE38 /* SCLTimerDisplay.m in Sources */ = {isa = PBXBuildFile; fileRef = 572BB1461B8383B3002DEE38 /* SCLTimerDisplay.m */; };
1111
CF6FB1241C5926FC009715F3 /* SCLSwitchView.m in Sources */ = {isa = PBXBuildFile; fileRef = CF6FB1231C5926FC009715F3 /* SCLSwitchView.m */; };
12+
DD06C22D1C64EAE500E6F6B0 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD06C22C1C64EAE500E6F6B0 /* UIKit.framework */; };
13+
DD06C22F1C64EAF600E6F6B0 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD06C22E1C64EAF600E6F6B0 /* AudioToolbox.framework */; };
14+
DD06C2331C64EB1A00E6F6B0 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD06C2321C64EB1A00E6F6B0 /* Accelerate.framework */; };
15+
DD06C2371C64EB9200E6F6B0 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD06C2361C64EB9200E6F6B0 /* CoreGraphics.framework */; };
1216
DD24453C1BAC383600892117 /* SCLTextView.m in Sources */ = {isa = PBXBuildFile; fileRef = DD24453B1BAC383600892117 /* SCLTextView.m */; };
1317
DD2E172A19FA84B800CBAEC3 /* UIImage+ImageEffects.m in Sources */ = {isa = PBXBuildFile; fileRef = DD2E172919FA84B800CBAEC3 /* UIImage+ImageEffects.m */; };
1418
DD4BA9C119DED8EF008D73EB /* right_answer.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = DD4BA9C019DED8EF008D73EB /* right_answer.mp3 */; };
@@ -39,6 +43,12 @@
3943
572BB1461B8383B3002DEE38 /* SCLTimerDisplay.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCLTimerDisplay.m; sourceTree = "<group>"; };
4044
CF6FB1221C5926FC009715F3 /* SCLSwitchView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCLSwitchView.h; sourceTree = "<group>"; };
4145
CF6FB1231C5926FC009715F3 /* SCLSwitchView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCLSwitchView.m; sourceTree = "<group>"; };
46+
DD06C22C1C64EAE500E6F6B0 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
47+
DD06C22E1C64EAF600E6F6B0 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
48+
DD06C2301C64EB0400E6F6B0 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
49+
DD06C2321C64EB1A00E6F6B0 /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = System/Library/Frameworks/Accelerate.framework; sourceTree = SDKROOT; };
50+
DD06C2341C64EB5900E6F6B0 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
51+
DD06C2361C64EB9200E6F6B0 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
4252
DD0D295B19D902DA00881F53 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = SCLAlertViewExample/Info.plist; sourceTree = SOURCE_ROOT; };
4353
DD24453A1BAC383600892117 /* SCLTextView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCLTextView.h; sourceTree = "<group>"; };
4454
DD24453B1BAC383600892117 /* SCLTextView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCLTextView.m; sourceTree = "<group>"; };
@@ -73,6 +83,10 @@
7383
isa = PBXFrameworksBuildPhase;
7484
buildActionMask = 2147483647;
7585
files = (
86+
DD06C2371C64EB9200E6F6B0 /* CoreGraphics.framework in Frameworks */,
87+
DD06C2331C64EB1A00E6F6B0 /* Accelerate.framework in Frameworks */,
88+
DD06C22F1C64EAF600E6F6B0 /* AudioToolbox.framework in Frameworks */,
89+
DD06C22D1C64EAE500E6F6B0 /* UIKit.framework in Frameworks */,
7690
);
7791
runOnlyForDeploymentPostprocessing = 0;
7892
};
@@ -86,6 +100,19 @@
86100
/* End PBXFrameworksBuildPhase section */
87101

88102
/* Begin PBXGroup section */
103+
DD06C2381C64EC5D00E6F6B0 /* Frameworks */ = {
104+
isa = PBXGroup;
105+
children = (
106+
DD06C2361C64EB9200E6F6B0 /* CoreGraphics.framework */,
107+
DD06C2341C64EB5900E6F6B0 /* QuartzCore.framework */,
108+
DD06C2321C64EB1A00E6F6B0 /* Accelerate.framework */,
109+
DD06C2301C64EB0400E6F6B0 /* Foundation.framework */,
110+
DD06C22E1C64EAF600E6F6B0 /* AudioToolbox.framework */,
111+
DD06C22C1C64EAE500E6F6B0 /* UIKit.framework */,
112+
);
113+
name = Frameworks;
114+
sourceTree = "<group>";
115+
};
89116
DD4BA9BF19DED8EF008D73EB /* Sounds */ = {
90117
isa = PBXGroup;
91118
children = (
@@ -102,6 +129,7 @@
102129
DDB15F9F19D5B7C600173158 /* SCLAlertViewExample */,
103130
DDB15FB919D5B7C600173158 /* SCLAlertViewTests */,
104131
DDB15F9E19D5B7C600173158 /* Products */,
132+
DD06C2381C64EC5D00E6F6B0 /* Frameworks */,
105133
);
106134
sourceTree = "<group>";
107135
};

SCLAlertView/SCLTimerDisplay.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
//
88
// Taken from https://stackoverflow.com/questions/11783439/uibutton-with-timer
99

10+
#if defined(__has_feature) && __has_feature(modules)
11+
@import UIKit;
12+
#else
1013
#import <UIKit/UIKit.h>
14+
#endif
1115
#import "SCLButton.h"
1216

1317
@interface SCLTimerDisplay : UIView{

0 commit comments

Comments
 (0)