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
7afb129b
Commit
7afb129b
authored
Jul 08, 2016
by
David Muzi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove public URL from product
parent
4e533e96
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
32 deletions
+1
-32
contents
... Buy SDK.xcdatamodeld/Mobile Buy SDK.xcdatamodel/contents
+1
-7
_BUYProduct.h
...le Buy SDK/Mobile Buy SDK/Models/Persistent/_BUYProduct.h
+0
-11
_BUYProduct.m
...le Buy SDK/Mobile Buy SDK/Models/Persistent/_BUYProduct.m
+0
-14
No files found.
Mobile Buy SDK/Mobile Buy SDK/Models/Mobile Buy SDK.xcdatamodeld/Mobile Buy SDK.xcdatamodel/contents
View file @
7afb129b
...
...
@@ -705,12 +705,6 @@
<entry
key=
"documentation"
value=
"A categorization that a product can be tagged with, commonly used for filtering and searching."
/>
</userInfo>
</attribute>
<attribute
name=
"publicURL"
optional=
"YES"
attributeType=
"Transformable"
syncable=
"YES"
>
<userInfo>
<entry
key=
"attributeValueClassName"
value=
"NSURL"
/>
<entry
key=
"documentation"
value=
"A publically accessible link to the product web page"
/>
</userInfo>
</attribute>
<attribute
name=
"published"
optional=
"YES"
attributeType=
"Boolean"
syncable=
"YES"
>
<userInfo>
<entry
key=
"documentation"
value=
"The product is published on the current sales channel."
/>
...
...
@@ -1004,7 +998,7 @@
<element
name=
"Option"
positionX=
"-576"
positionY=
"907"
width=
"128"
height=
"105"
/>
<element
name=
"OptionValue"
positionX=
"-387"
positionY=
"907"
width=
"128"
height=
"105"
/>
<element
name=
"Order"
positionX=
"682"
positionY=
"922"
width=
"128"
height=
"180"
/>
<element
name=
"Product"
positionX=
"-765"
positionY=
"712"
width=
"128"
height=
"
300
"
/>
<element
name=
"Product"
positionX=
"-765"
positionY=
"712"
width=
"128"
height=
"
285
"
/>
<element
name=
"ProductVariant"
positionX=
"-182"
positionY=
"787"
width=
"128"
height=
"240"
/>
<element
name=
"ShippingRate"
positionX=
"531"
positionY=
"1035"
width=
"128"
height=
"135"
/>
<element
name=
"Shop"
positionX=
"-279"
positionY=
"450"
width=
"128"
height=
"255"
/>
...
...
Mobile Buy SDK/Mobile Buy SDK/Models/Persistent/_BUYProduct.h
View file @
7afb129b
...
...
@@ -37,7 +37,6 @@ extern const struct BUYProductAttributes {
__unsafe_unretained
NSString
*
htmlDescription
;
__unsafe_unretained
NSString
*
identifier
;
__unsafe_unretained
NSString
*
productType
;
__unsafe_unretained
NSString
*
publicURL
;
__unsafe_unretained
NSString
*
published
;
__unsafe_unretained
NSString
*
publishedAt
;
__unsafe_unretained
NSString
*
tags
;
...
...
@@ -62,8 +61,6 @@ extern const struct BUYProductUserInfo {
@class
BUYOption
;
@class
BUYProductVariant
;
@class
NSURL
;
@class
NSSet
;
@class
BUYProduct
;
...
...
@@ -121,11 +118,6 @@ extern const struct BUYProductUserInfo {
@property
(
nonatomic
,
strong
)
NSString
*
productType
;
/**
* A publically accessible link to the product web page
*/
@property
(
nonatomic
,
strong
)
NSURL
*
publicURL
;
/**
* The product is published on the current sales channel.
*/
@property
(
nonatomic
,
strong
)
NSNumber
*
published
;
...
...
@@ -250,9 +242,6 @@ extern const struct BUYProductUserInfo {
-
(
NSString
*
)
primitiveProductType
;
-
(
void
)
setPrimitiveProductType
:(
NSString
*
)
value
;
-
(
NSURL
*
)
primitivePublicURL
;
-
(
void
)
setPrimitivePublicURL
:(
NSURL
*
)
value
;
-
(
NSNumber
*
)
primitivePublished
;
-
(
void
)
setPrimitivePublished
:(
NSNumber
*
)
value
;
...
...
Mobile Buy SDK/Mobile Buy SDK/Models/Persistent/_BUYProduct.m
View file @
7afb129b
...
...
@@ -35,7 +35,6 @@ const struct BUYProductAttributes BUYProductAttributes = {
.
htmlDescription
=
@"htmlDescription"
,
.
identifier
=
@"identifier"
,
.
productType
=
@"productType"
,
.
publicURL
=
@"publicURL"
,
.
published
=
@"published"
,
.
publishedAt
=
@"publishedAt"
,
.
tags
=
@"tags"
,
...
...
@@ -162,19 +161,6 @@ const struct BUYProductUserInfo BUYProductUserInfo = {
[
self
didChangeValueForKey
:
@"productType"
];
}
-
(
NSURL
*
)
publicURL
{
[
self
willAccessValueForKey
:
@"publicURL"
];
id
value
=
[
self
primitiveValueForKey
:
@"publicURL"
];
[
self
didAccessValueForKey
:
@"publicURL"
];
return
value
;
}
-
(
void
)
setPublicURL
:
(
NSURL
*
)
value_
{
[
self
willChangeValueForKey
:
@"publicURL"
];
[
self
setPrimitiveValue
:
value_
forKey
:
@"publicURL"
];
[
self
didChangeValueForKey
:
@"publicURL"
];
}
-
(
NSNumber
*
)
published
{
[
self
willAccessValueForKey
:
@"published"
];
id
value
=
[
self
primitiveValueForKey
:
@"published"
];
...
...
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