Skip to content

Commit e8da3a3

Browse files
author
Joey Lorich
committed
Update file headings, fix default feed loading
1 parent 41e9942 commit e8da3a3

15 files changed

Lines changed: 140 additions & 32 deletions

File tree

EasyReader.xcodeproj/project.pbxproj

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,9 @@
10331033
LastUpgradeCheck = 0510;
10341034
ORGANIZATIONNAME = Cloudspace;
10351035
TargetAttributes = {
1036+
9D79270818DA1D0300E1D3E1 = {
1037+
DevelopmentTeam = 34V4E5MT6Z;
1038+
};
10361039
9D7927C218DA279B00E1D3E1 = {
10371040
TestTargetID = 9DAC16C31709D48E00383722;
10381041
};
@@ -1528,8 +1531,7 @@
15281531
isa = XCBuildConfiguration;
15291532
baseConfigurationReference = 5CECD14CAE964A1994399D15 /* Pods.xcconfig */;
15301533
buildSettings = {
1531-
CODE_SIGN_IDENTITY = "iPhone Developer: Joseph Lorich (G28849DAB7)";
1532-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Joseph Lorich (G28849DAB7)";
1534+
CODE_SIGN_IDENTITY = "iPhone Developer";
15331535
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
15341536
GCC_PRECOMPILE_PREFIX_HEADER = YES;
15351537
GCC_PREFIX_HEADER = "EasyReader/Other Sources/EasyReader-Prefix.pch";
@@ -1541,7 +1543,7 @@
15411543
INFOPLIST_FILE = "EasyReader/Supporting Files/Staging-Info.plist";
15421544
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
15431545
PRODUCT_NAME = Staging;
1544-
PROVISIONING_PROFILE = "69FD30FF-426E-4BD8-8941-A0A741F92746";
1546+
PROVISIONING_PROFILE = "C2BF26AF-B141-402C-BABC-89CE7C730512";
15451547
VALID_ARCHS = "armv7 arm64 armv7s";
15461548
WRAPPER_EXTENSION = app;
15471549
};
@@ -1552,14 +1554,13 @@
15521554
baseConfigurationReference = 5CECD14CAE964A1994399D15 /* Pods.xcconfig */;
15531555
buildSettings = {
15541556
CODE_SIGN_IDENTITY = "iPhone Distribution: Unity Marketing, Inc. (34V4E5MT6Z)";
1555-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Unity Marketing, Inc. (34V4E5MT6Z)";
15561557
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
15571558
GCC_PRECOMPILE_PREFIX_HEADER = YES;
15581559
GCC_PREFIX_HEADER = "EasyReader/Other Sources/EasyReader-Prefix.pch";
15591560
INFOPLIST_FILE = "EasyReader/Supporting Files/Staging-Info.plist";
15601561
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
15611562
PRODUCT_NAME = Staging;
1562-
PROVISIONING_PROFILE = "21F890E2-92A0-495B-B0DD-1B718FF193D8";
1563+
PROVISIONING_PROFILE = "A926550A-0F74-4C33-88F8-92CED490A97B";
15631564
VALID_ARCHS = "armv7 arm64 armv7s";
15641565
WRAPPER_EXTENSION = app;
15651566
};

EasyReader/Application/Api/CSFeedItemUpdater.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ - (void) requestFeedItemsSince:(NSDate *)since
8585
- (void) loadDefaultFeeds
8686
{
8787
[Feed requestDefaultFeedsWithSuccess:^(id responseObject, NSInteger httpStatus) {
88+
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
89+
[defaults setValue:[NSNumber numberWithBool:YES] forKey:@"defaultFeedsLoaded"];
90+
[defaults synchronize];
91+
8892
NSLog(@"Default feeds have been added");
8993
} failure:^(id responseObject, NSInteger httpStatus, NSError *error) {
9094
NSLog(@"Default feed load failure");

EasyReader/Library/apikit/APIClient.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
//
22
// APIClient.h
3-
// APIKit API Client
43
//
54
// Created by Joseph Lorich on 3/19/14.
65
// Copyright (c) 2014 Joseph Lorich.
6+
// Contributions by Cloudspace (http://www.cloudspace.com)
77
//
88
// Permission is hereby granted, free of charge, to any person obtaining a copy
99
// of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,7 @@
2323
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2424
// THE SOFTWARE.
2525

26+
2627
#import <Foundation/Foundation.h>
2728

2829
#pragma mark - Block definitions

EasyReader/Library/apikit/APIClient.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
//
22
// APIClient.m
3-
// APIKit API Client
43
//
54
// Created by Joseph Lorich on 3/19/14.
65
// Copyright (c) 2014 Joseph Lorich.
6+
// Contributions by Cloudspace (http://www.cloudspace.com)
77
//
88
// Permission is hereby granted, free of charge, to any person obtaining a copy
99
// of this software and associated documentation files (the "Software"), to deal

EasyReader/Library/apikit/APIMockRequest.h

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
//
22
// APIMockRequest.h
3-
// EasyReader
43
//
5-
// Created by Joseph Lorich on 3/24/14.
6-
// Copyright (c) 2014 Cloudspace. All rights reserved.
4+
// Created by Joseph Lorich on 3/19/14.
5+
// Copyright (c) 2014 Joseph Lorich.
6+
// Contributions by Cloudspace (http://www.cloudspace.com)
77
//
8+
// Permission is hereby granted, free of charge, to any person obtaining a copy
9+
// of this software and associated documentation files (the "Software"), to deal
10+
// in the Software without restriction, including without limitation the rights
11+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
// copies of the Software, and to permit persons to whom the Software is
13+
// furnished to do so, subject to the following conditions:
14+
15+
// The above copyright notice and this permission notice shall be included in
16+
// all copies or substantial portions of the Software.
17+
18+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
// THE SOFTWARE.
825

926
#import <Foundation/Foundation.h>
1027
#import "APIMockResponse.h"

EasyReader/Library/apikit/APIMockRequest.m

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
//
22
// APIMockRequest.m
3-
// EasyReader
43
//
5-
// Created by Joseph Lorich on 3/24/14.
6-
// Copyright (c) 2014 Cloudspace. All rights reserved.
4+
// Created by Joseph Lorich on 3/19/14.
5+
// Copyright (c) 2014 Joseph Lorich.
6+
// Contributions by Cloudspace (http://www.cloudspace.com)
77
//
8+
// Permission is hereby granted, free of charge, to any person obtaining a copy
9+
// of this software and associated documentation files (the "Software"), to deal
10+
// in the Software without restriction, including without limitation the rights
11+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
// copies of the Software, and to permit persons to whom the Software is
13+
// furnished to do so, subject to the following conditions:
14+
15+
// The above copyright notice and this permission notice shall be included in
16+
// all copies or substantial portions of the Software.
17+
18+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
// THE SOFTWARE.
825

926
#import "APIMockRequest.h"
1027

EasyReader/Library/apikit/APIMockResponse.h

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
//
22
// APIMockResponse.h
3-
// EasyReader
43
//
5-
// Created by Joseph Lorich on 3/24/14.
6-
// Copyright (c) 2014 Cloudspace. All rights reserved.
4+
// Created by Joseph Lorich on 3/19/14.
5+
// Copyright (c) 2014 Joseph Lorich.
6+
// Contributions by Cloudspace (http://www.cloudspace.com)
77
//
8+
// Permission is hereby granted, free of charge, to any person obtaining a copy
9+
// of this software and associated documentation files (the "Software"), to deal
10+
// in the Software without restriction, including without limitation the rights
11+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
// copies of the Software, and to permit persons to whom the Software is
13+
// furnished to do so, subject to the following conditions:
14+
15+
// The above copyright notice and this permission notice shall be included in
16+
// all copies or substantial portions of the Software.
17+
18+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
// THE SOFTWARE.
825

926
#import <Foundation/Foundation.h>
1027

EasyReader/Library/apikit/APIMockResponse.m

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
//
22
// APIMockResponse.m
3-
// EasyReader
43
//
5-
// Created by Joseph Lorich on 3/24/14.
6-
// Copyright (c) 2014 Cloudspace. All rights reserved.
4+
// Created by Joseph Lorich on 3/19/14.
5+
// Copyright (c) 2014 Joseph Lorich.
6+
// Contributions by Cloudspace (http://www.cloudspace.com)
77
//
8+
// Permission is hereby granted, free of charge, to any person obtaining a copy
9+
// of this software and associated documentation files (the "Software"), to deal
10+
// in the Software without restriction, including without limitation the rights
11+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
// copies of the Software, and to permit persons to whom the Software is
13+
// furnished to do so, subject to the following conditions:
14+
15+
// The above copyright notice and this permission notice shall be included in
16+
// all copies or substantial portions of the Software.
17+
18+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
// THE SOFTWARE.
825

926
#import "APIMockResponse.h"
1027

EasyReader/Library/apikit/APIMockedDataClient.h

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
//
2-
// APIMockClient.h
3-
// EasyReader
2+
// APIMockedDataClient.h
43
//
5-
// Created by Joseph Lorich on 3/24/14.
6-
// Copyright (c) 2014 Cloudspace. All rights reserved.
4+
// Created by Joseph Lorich on 3/19/14.
5+
// Copyright (c) 2014 Joseph Lorich.
6+
// Contributions by Cloudspace (http://www.cloudspace.com)
77
//
8+
// Permission is hereby granted, free of charge, to any person obtaining a copy
9+
// of this software and associated documentation files (the "Software"), to deal
10+
// in the Software without restriction, including without limitation the rights
11+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
// copies of the Software, and to permit persons to whom the Software is
13+
// furnished to do so, subject to the following conditions:
14+
15+
// The above copyright notice and this permission notice shall be included in
16+
// all copies or substantial portions of the Software.
17+
18+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
// THE SOFTWARE.
825

926
#import "APIClient.h"
1027

EasyReader/Library/apikit/APIMockedDataClient.m

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
//
2-
// APIMockClient.m
3-
// EasyReader
2+
// APIMockedDataClient.m
43
//
5-
// Created by Joseph Lorich on 3/24/14.
6-
// Copyright (c) 2014 Cloudspace. All rights reserved.
4+
// Created by Joseph Lorich on 3/19/14.
5+
// Copyright (c) 2014 Joseph Lorich.
6+
// Contributions by Cloudspace (http://www.cloudspace.com)
77
//
8+
// Permission is hereby granted, free of charge, to any person obtaining a copy
9+
// of this software and associated documentation files (the "Software"), to deal
10+
// in the Software without restriction, including without limitation the rights
11+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
// copies of the Software, and to permit persons to whom the Software is
13+
// furnished to do so, subject to the following conditions:
14+
15+
// The above copyright notice and this permission notice shall be included in
16+
// all copies or substantial portions of the Software.
17+
18+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
// THE SOFTWARE.
825

926
#import "APIMockedDataClient.h"
1027
#import "APIMockRequest.h"

0 commit comments

Comments
 (0)