Skip to content

Commit

Permalink
Merge pull request #3 from SoundwaveApp/1.1.1
Browse files Browse the repository at this point in the history
1.1.1
  • Loading branch information
ClodaghML committed Jul 31, 2015
2 parents b439ff0 + 2d1d9cd commit e0a967f
Show file tree
Hide file tree
Showing 44 changed files with 529 additions and 13 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file.
`Shine-iOS` adheres to [Semantic Versioning](http://semver.org/).

---

## [1.1.1](https://github.com/SoundwaveApp/Shine-iOS/releases/tag/1.1.1) (2015-07-31)

#### Updated

* Clarifications in contacts and location sync instructions
* Improved debug logging


## [1.1](https://github.com/SoundwaveApp/Shine-iOS/releases/tag/1.1) (2015-07-28)

#### What's New
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ The following Shine integration points are not mandatory when using Shine.
Shine can capture a device's location if the host app has the required location services permissions.
To capture location data, you need to add the following code to a class that conforms to the CLLocationDelegate protocol.
```objective-c
#import <Shine/Shine.h>
...
- (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations {
[Shine updateLocation:locations];
Expand All @@ -102,8 +105,11 @@ An example of capturing location data is available in the example app.

###Contacts Syncing###

Shine can capture a device's contacts if the host app has the required contacts access permissions.
Shine can capture a device's contacts if the host app has the required contacts access permissions. Make a call to `[Shine syncContacts]` after permission to access contacts has been granted.

```objective-c
#import <Shine/Shine.h>

ABAddressBookRequestAccessWithCompletion(ABAddressBookCreateWithOptions(nil, nil), ^(bool granted, CFErrorRef error) {
if (granted) {
[Shine syncContacts];
Expand Down
1 change: 0 additions & 1 deletion Shine.framework/Headers

This file was deleted.

22 changes: 22 additions & 0 deletions Shine.framework/Headers/SWUser.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//
// SWUser.h
// Shine
//
// Created by Brian Boyle on 16/06/2015.
// Copyright (c) 2015 Liam Russell. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SWUser : NSObject

@property (nonatomic, copy) NSString *firstName;
@property (nonatomic, copy) NSString *middleName;
@property (nonatomic, copy) NSString *lastName;
@property (nonatomic, copy) NSString *email;
@property (nonatomic, copy) NSString *zip;
@property (nonatomic, copy) NSString *yearOfBirth;
@property (nonatomic, copy) NSString *dateOfBirth;
@property (nonatomic, copy) NSString *gender;

@end
41 changes: 41 additions & 0 deletions Shine.framework/Headers/Shine.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
//
// Shine.h
// Shine
// Created by Brian Boyle on 08/06/2015.
// Copyright (c) 2015 Soundwave. All rights reserved.


@import UIKit;
@import Foundation;
@import CoreLocation;


//! Project version number for Shine.
FOUNDATION_EXPORT double ShineVersionNumber;

//! Project version string for Shine.
FOUNDATION_EXPORT const unsigned char ShineVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <Shine/PublicHeader.h>
#import <Shine/SWUser.h>

@interface Shine : NSObject


#pragma mark - Startup

+ (void)setDeveloperKey:(NSString *)token;
+ (void)registerUserDetails:(SWUser *)userDetails;

#pragma mark - Permissions

+ (void)syncContacts;
+ (void)updateLocation:(NSArray *)locations;


#pragma mark - Debug

+ (void)enableLogging;
+ (void)enableVerboseLogging;

@end
1 change: 0 additions & 1 deletion Shine.framework/Resources

This file was deleted.

Binary file added Shine.framework/Resources/Info.plist
Binary file not shown.
6 changes: 6 additions & 0 deletions Shine.framework/Resources/Modules/module.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
framework module Shine {
umbrella header "Shine.h"

export *
module * { export * }
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
183 changes: 183 additions & 0 deletions Shine.framework/Resources/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
<?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>files</key>
<dict>
<key>Headers/SWUser.h</key>
<data>
Q2Pd85/gCPqLADIYbEXwX+NfALo=
</data>
<key>Headers/Shine.h</key>
<data>
94lCnyPExZg9tz97Fqa61t3SuAE=
</data>
<key>Info.plist</key>
<data>
e+/TP2IF25oSLhi/5PQgrsR+kJ0=
</data>
<key>Modules/module.modulemap</key>
<data>
uktMIoMnY9KbXc+ifBmXdptiwEo=
</data>
<key>SWShineModel.momd/SWShineModel.mom</key>
<data>
KeTIi0XUz577VOc4Ib2UC6ymSXY=
</data>
<key>SWShineModel.momd/VersionInfo.plist</key>
<data>
19sbxGq7v1iCnLr3vA92feH+89Q=
</data>
<key>ShineBundle.bundle/Info.plist</key>
<data>
JrW1AJkWZhvuhQj3rKtDNRun1lA=
</data>
<key>ShineBundle.bundle/SWShineModel.momd/SWShineModel.mom</key>
<data>
KeTIi0XUz577VOc4Ib2UC6ymSXY=
</data>
<key>ShineBundle.bundle/SWShineModel.momd/VersionInfo.plist</key>
<data>
19sbxGq7v1iCnLr3vA92feH+89Q=
</data>
<key>ShineBundle.bundle/ShineBundle</key>
<data>
yjOXOqyKEspZYGaj5cv8TX+WSPI=
</data>
</dict>
<key>files2</key>
<dict>
<key>Headers/SWUser.h</key>
<data>
Q2Pd85/gCPqLADIYbEXwX+NfALo=
</data>
<key>Headers/Shine.h</key>
<data>
94lCnyPExZg9tz97Fqa61t3SuAE=
</data>
<key>Modules/module.modulemap</key>
<data>
uktMIoMnY9KbXc+ifBmXdptiwEo=
</data>
<key>SWShineModel.momd/SWShineModel.mom</key>
<data>
KeTIi0XUz577VOc4Ib2UC6ymSXY=
</data>
<key>SWShineModel.momd/VersionInfo.plist</key>
<data>
19sbxGq7v1iCnLr3vA92feH+89Q=
</data>
<key>ShineBundle.bundle/Info.plist</key>
<data>
JrW1AJkWZhvuhQj3rKtDNRun1lA=
</data>
<key>ShineBundle.bundle/SWShineModel.momd/SWShineModel.mom</key>
<data>
KeTIi0XUz577VOc4Ib2UC6ymSXY=
</data>
<key>ShineBundle.bundle/SWShineModel.momd/VersionInfo.plist</key>
<data>
19sbxGq7v1iCnLr3vA92feH+89Q=
</data>
<key>ShineBundle.bundle/ShineBundle</key>
<data>
yjOXOqyKEspZYGaj5cv8TX+WSPI=
</data>
</dict>
<key>rules</key>
<dict>
<key>^</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^[^/]+$</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>
Binary file not shown.
1 change: 0 additions & 1 deletion Shine.framework/Shine

This file was deleted.

Binary file added Shine.framework/Shine
Binary file not shown.
2 changes: 1 addition & 1 deletion Shine.framework/Versions/A/Headers/Shine.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ FOUNDATION_EXPORT const unsigned char ShineVersionString[];

+ (void)setDeveloperKey:(NSString *)token;
+ (void)registerUserDetails:(SWUser *)userDetails;
+ (void)updateLocation:(NSArray *)locations;

#pragma mark - Permissions

+ (void)syncContacts;
+ (void)updateLocation:(NSArray *)locations;


#pragma mark - Debug
Expand Down
Binary file modified Shine.framework/Versions/A/Resources/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
</data>
<key>Headers/Shine.h</key>
<data>
Wfer6hXf5IfaQlXFopunZvKhTxc=
94lCnyPExZg9tz97Fqa61t3SuAE=
</data>
<key>Info.plist</key>
<data>
lwByOLjmjft/fJd+GcwJjgdMR5I=
e+/TP2IF25oSLhi/5PQgrsR+kJ0=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand All @@ -30,7 +30,7 @@
</data>
<key>ShineBundle.bundle/Info.plist</key>
<data>
TMW/Qm6vN96UAl+ORRx9sR3Kh3A=
JrW1AJkWZhvuhQj3rKtDNRun1lA=
</data>
<key>ShineBundle.bundle/SWShineModel.momd/SWShineModel.mom</key>
<data>
Expand All @@ -42,7 +42,7 @@
</data>
<key>ShineBundle.bundle/ShineBundle</key>
<data>
ykyQd8ieKn1U8CuGjfOJlBAesKE=
yjOXOqyKEspZYGaj5cv8TX+WSPI=
</data>
</dict>
<key>files2</key>
Expand All @@ -53,7 +53,7 @@
</data>
<key>Headers/Shine.h</key>
<data>
Wfer6hXf5IfaQlXFopunZvKhTxc=
94lCnyPExZg9tz97Fqa61t3SuAE=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand All @@ -69,7 +69,7 @@
</data>
<key>ShineBundle.bundle/Info.plist</key>
<data>
TMW/Qm6vN96UAl+ORRx9sR3Kh3A=
JrW1AJkWZhvuhQj3rKtDNRun1lA=
</data>
<key>ShineBundle.bundle/SWShineModel.momd/SWShineModel.mom</key>
<data>
Expand All @@ -81,7 +81,7 @@
</data>
<key>ShineBundle.bundle/ShineBundle</key>
<data>
ykyQd8ieKn1U8CuGjfOJlBAesKE=
yjOXOqyKEspZYGaj5cv8TX+WSPI=
</data>
</dict>
<key>rules</key>
Expand Down
Binary file not shown.
Binary file modified Shine.framework/Versions/A/Shine
Binary file not shown.
1 change: 0 additions & 1 deletion Shine.framework/Versions/Current

This file was deleted.

Loading

0 comments on commit e0a967f

Please sign in to comment.