Skip to content

Commit e0a967f

Browse files
committed
Merge pull request #3 from SoundwaveApp/1.1.1
1.1.1
2 parents b439ff0 + 2d1d9cd commit e0a967f

44 files changed

Lines changed: 529 additions & 13 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file.
33
`Shine-iOS` adheres to [Semantic Versioning](http://semver.org/).
44

55
---
6+
7+
## [1.1.1](https://github.com/SoundwaveApp/Shine-iOS/releases/tag/1.1.1) (2015-07-31)
8+
9+
#### Updated
10+
11+
* Clarifications in contacts and location sync instructions
12+
* Improved debug logging
13+
14+
615
## [1.1](https://github.com/SoundwaveApp/Shine-iOS/releases/tag/1.1) (2015-07-28)
716

817
#### What's New

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ The following Shine integration points are not mandatory when using Shine.
9191
Shine can capture a device's location if the host app has the required location services permissions.
9292
To capture location data, you need to add the following code to a class that conforms to the CLLocationDelegate protocol.
9393
```objective-c
94+
#import <Shine/Shine.h>
95+
96+
...
9497
9598
- (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations {
9699
[Shine updateLocation:locations];
@@ -102,8 +105,11 @@ An example of capturing location data is available in the example app.
102105

103106
###Contacts Syncing###
104107

105-
Shine can capture a device's contacts if the host app has the required contacts access permissions.
108+
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.
109+
106110
```objective-c
111+
#import <Shine/Shine.h>
112+
107113
ABAddressBookRequestAccessWithCompletion(ABAddressBookCreateWithOptions(nil, nil), ^(bool granted, CFErrorRef error) {
108114
if (granted) {
109115
[Shine syncContacts];

Shine.framework/Headers

Lines changed: 0 additions & 1 deletion
This file was deleted.

Shine.framework/Headers/SWUser.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
//
2+
// SWUser.h
3+
// Shine
4+
//
5+
// Created by Brian Boyle on 16/06/2015.
6+
// Copyright (c) 2015 Liam Russell. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
@interface SWUser : NSObject
12+
13+
@property (nonatomic, copy) NSString *firstName;
14+
@property (nonatomic, copy) NSString *middleName;
15+
@property (nonatomic, copy) NSString *lastName;
16+
@property (nonatomic, copy) NSString *email;
17+
@property (nonatomic, copy) NSString *zip;
18+
@property (nonatomic, copy) NSString *yearOfBirth;
19+
@property (nonatomic, copy) NSString *dateOfBirth;
20+
@property (nonatomic, copy) NSString *gender;
21+
22+
@end

Shine.framework/Headers/Shine.h

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
//
2+
// Shine.h
3+
// Shine
4+
// Created by Brian Boyle on 08/06/2015.
5+
// Copyright (c) 2015 Soundwave. All rights reserved.
6+
7+
8+
@import UIKit;
9+
@import Foundation;
10+
@import CoreLocation;
11+
12+
13+
//! Project version number for Shine.
14+
FOUNDATION_EXPORT double ShineVersionNumber;
15+
16+
//! Project version string for Shine.
17+
FOUNDATION_EXPORT const unsigned char ShineVersionString[];
18+
19+
// In this header, you should import all the public headers of your framework using statements like #import <Shine/PublicHeader.h>
20+
#import <Shine/SWUser.h>
21+
22+
@interface Shine : NSObject
23+
24+
25+
#pragma mark - Startup
26+
27+
+ (void)setDeveloperKey:(NSString *)token;
28+
+ (void)registerUserDetails:(SWUser *)userDetails;
29+
30+
#pragma mark - Permissions
31+
32+
+ (void)syncContacts;
33+
+ (void)updateLocation:(NSArray *)locations;
34+
35+
36+
#pragma mark - Debug
37+
38+
+ (void)enableLogging;
39+
+ (void)enableVerboseLogging;
40+
41+
@end

Shine.framework/Resources

Lines changed: 0 additions & 1 deletion
This file was deleted.
725 Bytes
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
framework module Shine {
2+
umbrella header "Shine.h"
3+
4+
export *
5+
module * { export * }
6+
}
2.93 KB
Binary file not shown.
368 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)