Skip to content

Commit 9306bb1

Browse files
authored
Merge pull request #972 from ParsePlatform/nlutsenko.dependencies
Update all dependencies.
2 parents 3c4404a + a5fcbc5 commit 9306bb1

File tree

6 files changed

+23
-17
lines changed

6 files changed

+23
-17
lines changed

Cartfile.resolved

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "BoltsFramework/Bolts-ObjC" "1.8.3"
1+
github "BoltsFramework/Bolts-ObjC" "1.8.4"
22
github "erikdoe/OCMock" "v3.3.1"

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ GEM
2929
fuzzy_match (~> 2.0.4)
3030
nap (~> 1.0)
3131
cocoapods-deintegrate (1.0.0)
32-
cocoapods-downloader (1.0.1)
32+
cocoapods-downloader (1.1.0)
3333
cocoapods-plugins (1.0.0)
3434
nap
3535
cocoapods-search (1.0.0)
3636
cocoapods-stats (1.0.0)
3737
cocoapods-trunk (1.0.0)
3838
nap (>= 0.8, < 2.0)
3939
netrc (= 0.7.8)
40-
cocoapods-try (1.0.0)
40+
cocoapods-try (1.1.0)
4141
colored (1.2)
4242
concurrent-ruby (1.0.2)
4343
escape (0.0.4)
@@ -55,7 +55,7 @@ GEM
5555
thread_safe (0.3.5)
5656
tzinfo (1.2.2)
5757
thread_safe (~> 0.1)
58-
xcodeproj (1.1.0)
58+
xcodeproj (1.2.0)
5959
activesupport (>= 3)
6060
claide (>= 1.0.0, < 2.0)
6161
colored (~> 1.2)

Parse/Internal/File/State/PFFileState.m

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,14 @@
1313
#import "PFMutableFileState.h"
1414
#import "PFPropertyInfo.h"
1515

16-
static NSString *const _PFFileStateSecureDomain = @"files.parsetfss.com";
17-
18-
@interface PFFileState ()
16+
NS_ASSUME_NONNULL_BEGIN
1917

20-
@property (nonatomic, copy, readwrite) NSString *secureURLString;
21-
22-
@end
18+
static NSString *const _PFFileStateSecureDomain = @"files.parsetfss.com";
2319

2420
@implementation PFFileState
2521

22+
@synthesize secureURLString = _secureURLString;
23+
2624
///--------------------------------------
2725
#pragma mark - PFBaseStateSubclass
2826
///--------------------------------------
@@ -41,7 +39,9 @@ - (instancetype)initWithState:(PFFileState *)state {
4139
return [super initWithState:state];
4240
}
4341

44-
- (instancetype)initWithName:(NSString *)name urlString:(NSString *)urlString mimeType:(NSString *)mimeType {
42+
- (instancetype)initWithName:(nullable NSString *)name
43+
urlString:(nullable NSString *)urlString
44+
mimeType:(nullable NSString *)mimeType {
4545
self = [super init];
4646
if (!self) return nil;
4747

@@ -56,14 +56,14 @@ - (instancetype)initWithName:(NSString *)name urlString:(NSString *)urlString mi
5656
#pragma mark - Accessors
5757
///--------------------------------------
5858

59-
- (void)setUrlString:(NSString *)urlString {
59+
- (void)setUrlString:(nullable NSString *)urlString {
6060
if (self.urlString != urlString) {
6161
_urlString = [urlString copy];
6262
_secureURLString = nil; // Invalidate variable cache
6363
}
6464
}
6565

66-
- (NSString *)secureURLString {
66+
- (nullable NSString *)secureURLString {
6767
if (_secureURLString) {
6868
return _secureURLString;
6969
}
@@ -93,12 +93,14 @@ - (NSString *)secureURLString {
9393
#pragma mark - Mutable Copying
9494
///--------------------------------------
9595

96-
- (id)copyWithZone:(NSZone *)zone {
96+
- (id)copyWithZone:(nullable NSZone *)zone {
9797
return [[PFFileState allocWithZone:zone] initWithState:self];
9898
}
9999

100-
- (instancetype)mutableCopyWithZone:(NSZone *)zone {
100+
- (instancetype)mutableCopyWithZone:(nullable NSZone *)zone {
101101
return [[PFMutableFileState allocWithZone:zone] initWithState:self];
102102
}
103103

104104
@end
105+
106+
NS_ASSUME_NONNULL_END

Parse/Internal/File/State/PFMutableFileState.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@
99

1010
#import "PFMutableFileState.h"
1111

12+
NS_ASSUME_NONNULL_BEGIN
13+
1214
@implementation PFMutableFileState
1315

1416
@dynamic name;
1517
@dynamic urlString;
1618
@dynamic mimeType;
1719

1820
@end
21+
22+
NS_ASSUME_NONNULL_END

Vendor/xctoolchain

0 commit comments

Comments
 (0)