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
9f629131
Commit
9f629131
authored
Jul 14, 2016
by
David Muzi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix type for defaultAddress on Customer
parent
b4a371dd
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 @
9f629131
...
...
@@ -378,7 +378,7 @@
<attribute
name=
"updatedAt"
optional=
"YES"
attributeType=
"Date"
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=
"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
name=
"Discount"
representedClassName=
"BUYDiscount"
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 @
9f629131
...
...
@@ -52,7 +52,7 @@ extern const struct BUYCustomerAttributes {
extern
const
struct
BUYCustomerRelationships
{
__unsafe_unretained
NSString
*
addresses
;
__unsafe_unretained
NSString
*
defaultAddres
;
__unsafe_unretained
NSString
*
defaultAddres
s
;
}
BUYCustomerRelationships
;
@class
BUYAddress
;
...
...
@@ -134,7 +134,7 @@ extern const struct BUYCustomerRelationships {
@property
(
nonatomic
,
strong
)
NSSet
*
addresses
;
-
(
NSMutableSet
*
)
addressesSet
;
@property
(
nonatomic
,
strong
)
BUYAddress
*
defaultAddres
;
@property
(
nonatomic
,
strong
)
BUYAddress
*
defaultAddres
s
;
@end
...
...
@@ -198,7 +198,7 @@ extern const struct BUYCustomerRelationships {
-
(
NSMutableSet
*
)
primitiveAddresses
;
-
(
void
)
setPrimitiveAddresses
:(
NSMutableSet
*
)
value
;
-
(
BUYAddress
*
)
primitiveDefaultAddres
;
-
(
void
)
setPrimitiveDefaultAddres
:(
BUYAddress
*
)
value
;
-
(
BUYAddress
*
)
primitiveDefaultAddres
s
;
-
(
void
)
setPrimitiveDefaultAddres
s
:(
BUYAddress
*
)
value
;
@end
Mobile Buy SDK/Mobile Buy SDK/Models/Persistent/_BUYCustomer.m
View file @
9f629131
...
...
@@ -50,7 +50,7 @@ const struct BUYCustomerAttributes BUYCustomerAttributes = {
const
struct
BUYCustomerRelationships
BUYCustomerRelationships
=
{
.
addresses
=
@"addresses"
,
.
defaultAddres
=
@"defaultAddre
s"
,
.
defaultAddres
s
=
@"defaultAddres
s"
,
};
@implementation
_BUYCustomer
...
...
@@ -198,7 +198,7 @@ const struct BUYCustomerRelationships BUYCustomerRelationships = {
}
#if defined CORE_DATA_PERSISTENCE
@dynamic
defaultAddres
;
@dynamic
defaultAddres
s
;
#endif
@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