Skip to content

Commit

Permalink
Just make SparkEvent public
Browse files Browse the repository at this point in the history
  • Loading branch information
idokleinman committed Apr 8, 2016
1 parent 7971020 commit 60e85a5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Example/ParticleSDK/ParticleSDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
5014ED5E1CB73A2400A1063E /* SparkEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 50F650A11C8542B30065F02F /* SparkEvent.h */; };
5014ED5E1CB73A2400A1063E /* SparkEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 50F650A11C8542B30065F02F /* SparkEvent.h */; settings = {ATTRIBUTES = (Public, ); }; };
5038C5AD1CA220C50084D255 /* SparkSession.m in Sources */ = {isa = PBXBuildFile; fileRef = 5038C5AB1CA220C50084D255 /* SparkSession.m */; };
5038C5AE1CA220C50084D255 /* SparkSession.h in Headers */ = {isa = PBXBuildFile; fileRef = 5038C5AC1CA220C50084D255 /* SparkSession.h */; };
50F6507F1C85423D0065F02F /* ParticleSDK.h in Headers */ = {isa = PBXBuildFile; fileRef = 50F6507E1C85423D0065F02F /* ParticleSDK.h */; settings = {ATTRIBUTES = (Public, ); }; };
Expand Down
1 change: 1 addition & 0 deletions Example/ParticleSDK/ParticleSDK/ParticleSDK.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ FOUNDATION_EXPORT const unsigned char ParticleSDKVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <ParticleSDK/PublicHeader.h>
#import <ParticleSDK/SparkCloud.h>
#import <ParticleSDK/SparkDevice.h>
#import <ParticleSDK/SparkEvent.h>


2 changes: 2 additions & 0 deletions Pod/Classes/SDK/SparkCloud.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

#import <Foundation/Foundation.h>
#import "SparkDevice.h"
#import "SparkEvent.h"


NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 1 addition & 3 deletions Pod/Classes/SDK/SparkDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
// limitations under the License.

#import <Foundation/Foundation.h>
#import "SparkEvent.h"

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -27,9 +28,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
typedef void (^SparkCompletionBlock)(NSError * _Nullable error);

@class SparkEvent;
typedef void (^SparkEventHandler)(SparkEvent * _Nullable event, NSError * _Nullable error);

typedef NS_ENUM(NSInteger, SparkDeviceType) {
SparkDeviceTypeCore=0,
SparkDeviceTypePhoton=6,
Expand Down

0 comments on commit 60e85a5

Please sign in to comment.