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
ad1eef50
Commit
ad1eef50
authored
Jul 15, 2016
by
David Muzi
Committed by
GitHub
Jul 15, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #255 from Shopify/task/typo-fix
Fix type for defaultAddress on Customer
parents
b4a371dd
9f629131
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
contents
... Buy SDK.xcdatamodeld/Mobile Buy SDK.xcdatamodel/contents
+1
-1
_BUYCustomer.h
...e Buy SDK/Mobile Buy SDK/Models/Persistent/_BUYCustomer.h
+4
-4
_BUYCustomer.m
...e Buy SDK/Mobile Buy SDK/Models/Persistent/_BUYCustomer.m
+2
-2
No files found.
Mobile Buy SDK/Mobile Buy SDK/Models/Mobile Buy SDK.xcdatamodeld/Mobile Buy SDK.xcdatamodel/contents
View file @
ad1eef50
...
@@ -378,7 +378,7 @@
...
@@ -378,7 +378,7 @@
<attribute
name=
"updatedAt"
optional=
"YES"
attributeType=
"Date"
syncable=
"YES"
/>
<attribute
name=
"updatedAt"
optional=
"YES"
attributeType=
"Date"
syncable=
"YES"
/>
<attribute
name=
"verifiedEmail"
optional=
"YES"
attributeType=
"Boolean"
syncable=
"YES"
/>
<attribute
name=
"verifiedEmail"
optional=
"YES"
attributeType=
"Boolean"
syncable=
"YES"
/>
<relationship
name=
"addresses"
optional=
"YES"
toMany=
"YES"
deletionRule=
"Cascade"
destinationEntity=
"Address"
inverseName=
"customer"
inverseEntity=
"Address"
syncable=
"YES"
/>
<relationship
name=
"addresses"
optional=
"YES"
toMany=
"YES"
deletionRule=
"Cascade"
destinationEntity=
"Address"
inverseName=
"customer"
inverseEntity=
"Address"
syncable=
"YES"
/>
<relationship
name=
"defaultAddres"
optional=
"YES"
maxCount=
"1"
deletionRule=
"Nullify"
destinationEntity=
"Address"
syncable=
"YES"
/>
<relationship
name=
"defaultAddres
s
"
optional=
"YES"
maxCount=
"1"
deletionRule=
"Nullify"
destinationEntity=
"Address"
syncable=
"YES"
/>
</entity>
</entity>
<entity
name=
"Discount"
representedClassName=
"BUYDiscount"
syncable=
"YES"
>
<entity
name=
"Discount"
representedClassName=
"BUYDiscount"
syncable=
"YES"
>
<attribute
name=
"amount"
optional=
"YES"
attributeType=
"Decimal"
defaultValueString=
"0.0"
syncable=
"YES"
>
<attribute
name=
"amount"
optional=
"YES"
attributeType=
"Decimal"
defaultValueString=
"0.0"
syncable=
"YES"
>
...
...
Mobile Buy SDK/Mobile Buy SDK/Models/Persistent/_BUYCustomer.h
View file @
ad1eef50
...
@@ -52,7 +52,7 @@ extern const struct BUYCustomerAttributes {
...
@@ -52,7 +52,7 @@ extern const struct BUYCustomerAttributes {
extern
const
struct
BUYCustomerRelationships
{
extern
const
struct
BUYCustomerRelationships
{
__unsafe_unretained
NSString
*
addresses
;
__unsafe_unretained
NSString
*
addresses
;
__unsafe_unretained
NSString
*
defaultAddres
;
__unsafe_unretained
NSString
*
defaultAddres
s
;
}
BUYCustomerRelationships
;
}
BUYCustomerRelationships
;
@class
BUYAddress
;
@class
BUYAddress
;
...
@@ -134,7 +134,7 @@ extern const struct BUYCustomerRelationships {
...
@@ -134,7 +134,7 @@ extern const struct BUYCustomerRelationships {
@property
(
nonatomic
,
strong
)
NSSet
*
addresses
;
@property
(
nonatomic
,
strong
)
NSSet
*
addresses
;
-
(
NSMutableSet
*
)
addressesSet
;
-
(
NSMutableSet
*
)
addressesSet
;
@property
(
nonatomic
,
strong
)
BUYAddress
*
defaultAddres
;
@property
(
nonatomic
,
strong
)
BUYAddress
*
defaultAddres
s
;
@end
@end
...
@@ -198,7 +198,7 @@ extern const struct BUYCustomerRelationships {
...
@@ -198,7 +198,7 @@ extern const struct BUYCustomerRelationships {
-
(
NSMutableSet
*
)
primitiveAddresses
;
-
(
NSMutableSet
*
)
primitiveAddresses
;
-
(
void
)
setPrimitiveAddresses
:(
NSMutableSet
*
)
value
;
-
(
void
)
setPrimitiveAddresses
:(
NSMutableSet
*
)
value
;
-
(
BUYAddress
*
)
primitiveDefaultAddres
;
-
(
BUYAddress
*
)
primitiveDefaultAddres
s
;
-
(
void
)
setPrimitiveDefaultAddres
:(
BUYAddress
*
)
value
;
-
(
void
)
setPrimitiveDefaultAddres
s
:(
BUYAddress
*
)
value
;
@end
@end
Mobile Buy SDK/Mobile Buy SDK/Models/Persistent/_BUYCustomer.m
View file @
ad1eef50
...
@@ -50,7 +50,7 @@ const struct BUYCustomerAttributes BUYCustomerAttributes = {
...
@@ -50,7 +50,7 @@ const struct BUYCustomerAttributes BUYCustomerAttributes = {
const
struct
BUYCustomerRelationships
BUYCustomerRelationships
=
{
const
struct
BUYCustomerRelationships
BUYCustomerRelationships
=
{
.
addresses
=
@"addresses"
,
.
addresses
=
@"addresses"
,
.
defaultAddres
=
@"defaultAddre
s"
,
.
defaultAddres
s
=
@"defaultAddres
s"
,
};
};
@implementation
_BUYCustomer
@implementation
_BUYCustomer
...
@@ -198,7 +198,7 @@ const struct BUYCustomerRelationships BUYCustomerRelationships = {
...
@@ -198,7 +198,7 @@ const struct BUYCustomerRelationships BUYCustomerRelationships = {
}
}
#if defined CORE_DATA_PERSISTENCE
#if defined CORE_DATA_PERSISTENCE
@dynamic
defaultAddres
;
@dynamic
defaultAddres
s
;
#endif
#endif
@end
@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