Skip to content

Commit bc56583

Browse files
committed
1.1.1 (modules support)
1 parent 0da8d7c commit bc56583

File tree

8 files changed

+27
-43
lines changed

8 files changed

+27
-43
lines changed

SoundCloud-Cocoa-API.podspec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
Pod::Spec.new do |s|
22
s.name = 'SoundCloud-Cocoa-API'
33
s.summary = 'Maintained version of the Soundcloud Cocoa API.'
4-
s.version = '1.1.0'
4+
s.version = '1.1.1'
55
s.license = { :type => 'propietary', :text => 'https://developers.soundcloud.com/docs/api/terms-of-use' }
66
s.author = 'SoundCloud'
77
s.homepage = 'https://developers.soundcloud.com/docs/api/ios-quickstart'
8-
8+
99
s.source = { :git => 'https://github.com/mhuusko5/SoundCloud-Cocoa-API.git', :tag => s.version.to_s }
1010

1111
s.ios.deployment_target = '7.0'
1212
s.osx.deployment_target = '10.8'
13-
13+
1414
s.source_files = 'Sources', 'Sources/**/*.{h,m}'
15-
15+
1616
s.framework = 'Security'
1717
s.dependency 'NXOAuth2Client', '~> 1.2.2'
18-
18+
1919
s.requires_arc = true
2020
end

Sources/SoundCloudAPI/SCAccount+Private.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
*
1919
*/
2020

21-
#if TARGET_OS_IPHONE
22-
#import "NXOAuth2.h"
21+
#if __has_feature(modules)
22+
@import NXOAuth2Client;
2323
#else
24-
#import "NXOAuth2.h"
24+
#import <NXOAuth2Client/NXOAuth2.h>
2525
#endif
2626

2727
#import "SCSoundCloud.h"

Sources/SoundCloudAPI/SCAccount.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
*
1919
*/
2020

21-
#if TARGET_OS_IPHONE
22-
#import "NXOAuth2.h"
21+
#if __has_feature(modules)
22+
@import NXOAuth2Client;
2323
#else
24-
#import "NXOAuth2.h"
24+
#import <NXOAuth2Client/NXOAuth2.h>
2525
#endif
2626

2727
#import "SCAccount+Private.h"

Sources/SoundCloudAPI/SCRequest.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
*
1919
*/
2020

21-
#if TARGET_OS_IPHONE
22-
#import "NXOAuth2.h"
21+
#if __has_feature(modules)
22+
@import NXOAuth2Client;
2323
#else
24-
#import "NXOAuth2.h"
24+
#import <NXOAuth2Client/NXOAuth2.h>
2525
#endif
2626

2727
#import "SCAccount.h"

Sources/SoundCloudAPI/SCSoundCloud+Private.m

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@
1818
*
1919
*/
2020

21-
#if TARGET_OS_IPHONE
22-
#import "NXOAuth2.h"
21+
#if __has_feature(modules)
22+
@import NXOAuth2Client;
2323
#else
24-
#import "NXOAuth2.h"
24+
#import <NXOAuth2Client/NXOAuth2.h>
25+
#endif
26+
27+
#if !(TARGET_OS_IPHONE)
2528
#import <Cocoa/Cocoa.h>
2629
#endif
2730

Sources/SoundCloudAPI/SCSoundCloud.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
*
1919
*/
2020

21-
#if TARGET_OS_IPHONE
22-
#import "NXOAuth2.h"
21+
#if __has_feature(modules)
22+
@import NXOAuth2Client;
2323
#else
24-
#import "NXOAuth2.h"
24+
#import <NXOAuth2Client/NXOAuth2.h>
2525
#endif
2626

2727
#import "SCAccount.h"

Sources/SoundCloudAPI/SCSoundCloudAPI-Private.h

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#import "SCConstants.h"
2+
#import "SCSoundCloud.h"
3+
#import "SCAccount.h"
4+
#import "SCRequest.h"

0 commit comments

Comments
 (0)