Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shopify_iossdk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cemarose
shopify_iossdk
Commits
2d7c1eed
Commit
2d7c1eed
authored
Jun 07, 2016
by
Dima Bart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add nullability annotations to transformer classes.
parent
40120666
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
0 deletions
+22
-0
BUYDateTransformer.h
...DK/Mobile Buy SDK/Value Transformers/BUYDateTransformer.h
+5
-0
BUYDecimalNumberTransformer.h
... Buy SDK/Value Transformers/BUYDecimalNumberTransformer.h
+4
-0
BUYDeliveryRangeTransformer.h
... Buy SDK/Value Transformers/BUYDeliveryRangeTransformer.h
+3
-0
BUYFlatCollectionTransformer.h
...Buy SDK/Value Transformers/BUYFlatCollectionTransformer.h
+3
-0
BUYIdentityTransformer.h
...obile Buy SDK/Value Transformers/BUYIdentityTransformer.h
+3
-0
BUYURLTransformer.h
...SDK/Mobile Buy SDK/Value Transformers/BUYURLTransformer.h
+4
-0
No files found.
Mobile Buy SDK/Mobile Buy SDK/Value Transformers/BUYDateTransformer.h
View file @
2d7c1eed
...
...
@@ -25,6 +25,7 @@
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
extern
NSString
*
const
BUYDateTransformerName
;
// = @"BUYDate";
...
...
@@ -32,5 +33,9 @@ extern NSString * const BUYDateTransformerName; // = @"BUYDate";
* Transforms a date object into a string and back using the provided format string.
*/
@interface
BUYDateTransformer
:
NSValueTransformer
+
(
instancetype
)
dateTransformerWithFormat
:(
NSString
*
)
format
;
@end
NS_ASSUME_NONNULL_END
Mobile Buy SDK/Mobile Buy SDK/Value Transformers/BUYDecimalNumberTransformer.h
View file @
2d7c1eed
...
...
@@ -25,6 +25,7 @@
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
extern
NSString
*
const
BUYDecimalNumberTransformerName
;
// = @"BUYDecimalNumber";
...
...
@@ -32,4 +33,7 @@ extern NSString * const BUYDecimalNumberTransformerName; // = @"BUYDecimalNumber
* Transforms a decimal number object into a string and back.
*/
@interface
BUYDecimalNumberTransformer
:
NSValueTransformer
@end
NS_ASSUME_NONNULL_END
Mobile Buy SDK/Mobile Buy SDK/Value Transformers/BUYDeliveryRangeTransformer.h
View file @
2d7c1eed
...
...
@@ -25,6 +25,7 @@
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
extern
NSString
*
const
BUYShippingRateDateTransformerName
;
// = @"BUYShippingRateDate";
extern
NSString
*
const
BUYShippingRateDateFormat
;
// = @"yyyy-MM-dd'T'HH:mm:ss.SSSZ";
...
...
@@ -32,3 +33,5 @@ extern NSString * const BUYShippingRateDateFormat; // = @"yyyy-MM-dd'T'HH:mm:ss.
@interface
BUYDeliveryRangeTransformer
:
NSValueTransformer
@end
NS_ASSUME_NONNULL_END
Mobile Buy SDK/Mobile Buy SDK/Value Transformers/BUYFlatCollectionTransformer.h
View file @
2d7c1eed
...
...
@@ -25,6 +25,7 @@
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
* Transforms an array of objects into a string with given separator.
...
...
@@ -44,3 +45,5 @@
+
(
instancetype
)
setTransformerWithSeparator
:(
NSString
*
)
separator
;
@end
NS_ASSUME_NONNULL_END
Mobile Buy SDK/Mobile Buy SDK/Value Transformers/BUYIdentityTransformer.h
View file @
2d7c1eed
...
...
@@ -25,6 +25,7 @@
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
extern
NSString
*
const
BUYIdentityTransformerName
;
// = @"BUYIdentity";
...
...
@@ -34,3 +35,5 @@ extern NSString * const BUYIdentityTransformerName; // = @"BUYIdentity";
@interface
BUYIdentityTransformer
:
NSValueTransformer
@end
NS_ASSUME_NONNULL_END
Mobile Buy SDK/Mobile Buy SDK/Value Transformers/BUYURLTransformer.h
View file @
2d7c1eed
...
...
@@ -25,6 +25,7 @@
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
extern
NSString
*
const
BUYURLTransformerName
;
// = @"BUYURL";
...
...
@@ -32,4 +33,7 @@ extern NSString * const BUYURLTransformerName; // = @"BUYURL";
* Transforms a URL object into a string and back.
*/
@interface
BUYURLTransformer
:
NSValueTransformer
@end
NS_ASSUME_NONNULL_END
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment