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
c5fe5706
Commit
c5fe5706
authored
May 19, 2016
by
Gabriel O'Flaherty-Chan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove BUY prefix from utility classes
parent
9145612e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
22 additions
and
22 deletions
+22
-22
project.pbxproj
.../Mobile Buy SDK Advanced Sample.xcodeproj/project.pbxproj
+0
-0
Theme+Additions.m
...bile Buy SDK Advanced Sample/Appearance/Theme+Additions.m
+2
-2
Theme.m
...dvanced/Mobile Buy SDK Advanced Sample/Appearance/Theme.m
+1
-1
UIButton+PaymentButton.m
...DK Advanced Sample/PaymentButton/UIButton+PaymentButton.m
+1
-1
CheckoutButton.m
...ile Buy SDK Advanced Sample/Product View/CheckoutButton.m
+2
-2
ProductHeaderCell.m
... Buy SDK Advanced Sample/Product View/ProductHeaderCell.m
+1
-1
VariantOptionView.m
...Sample/Product View/Variant Selection/VariantOptionView.m
+1
-1
UIColor+Additions.h
...y SDK Advanced Sample/UIKit Additions/UIColor+Additions.h
+2
-2
UIColor+Additions.m
...y SDK Advanced Sample/UIKit Additions/UIColor+Additions.m
+3
-3
UIFont+Additions.h
...uy SDK Advanced Sample/UIKit Additions/UIFont+Additions.h
+2
-2
UIFont+Additions.m
...uy SDK Advanced Sample/UIKit Additions/UIFont+Additions.m
+3
-3
UIImage+Additions.h
...y SDK Advanced Sample/UIKit Additions/UIImage+Additions.h
+2
-2
UIImage+Additions.m
...y SDK Advanced Sample/UIKit Additions/UIImage+Additions.m
+2
-2
No files found.
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample.xcodeproj/project.pbxproj
View file @
c5fe5706
This diff is collapsed.
Click to expand it.
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/Appearance/Theme+Additions.m
View file @
c5fe5706
...
...
@@ -25,8 +25,8 @@
//
#import "Theme+Additions.h"
#import "UIFont+
BUY
Additions.h"
#import "UIColor+
BUY
Additions.h"
#import "UIFont+Additions.h"
#import "UIColor+Additions.h"
@implementation
Theme
(
Additions
)
...
...
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/Appearance/Theme.m
View file @
c5fe5706
...
...
@@ -41,7 +41,7 @@
#import "Theme+Additions.h"
#import "VariantOptionView.h"
#import "VisualEffectView.h"
#import "UIColor+
BUY
Additions.h"
#import "UIColor+Additions.h"
#import "CheckoutButton.h"
@implementation
Theme
...
...
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/PaymentButton/UIButton+PaymentButton.m
View file @
c5fe5706
...
...
@@ -26,7 +26,7 @@
@import
PassKit
;
#import "CheckoutButton.h"
#import "UIImage+
BUY
Additions.h"
#import "UIImage+Additions.h"
#import "UIImage+PaymentButton.h"
#import "UIButton+PaymentButton.h"
...
...
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/Product View/CheckoutButton.m
View file @
c5fe5706
...
...
@@ -25,8 +25,8 @@
//
#import "CheckoutButton.h"
#import "UIColor+
BUY
Additions.h"
#import "UIImage+
BUY
Additions.h"
#import "UIColor+Additions.h"
#import "UIImage+Additions.h"
@interface
CheckoutButton
()
...
...
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/Product View/ProductHeaderCell.m
View file @
c5fe5706
...
...
@@ -25,7 +25,7 @@
//
#import "ProductHeaderCell.h"
#import "UIFont+
BUY
Additions.h"
#import "UIFont+Additions.h"
#import "Theme+Additions.h"
@interface
ProductHeaderCell
()
...
...
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/Product View/Variant Selection/VariantOptionView.m
View file @
c5fe5706
...
...
@@ -29,7 +29,7 @@
#import "Theme+Additions.h"
#import "VariantOptionView.h"
#import "UIFont+
BUY
Additions.h"
#import "UIFont+Additions.h"
@interface
VariantOptionView
()
...
...
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/UIKit Additions/UIColor+
BUY
Additions.h
→
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/UIKit Additions/UIColor+Additions.h
View file @
c5fe5706
//
// UIColor+
BUY
Additions.h
// UIColor+Additions.h
// Mobile Buy SDK
//
// Created by Shopify.
...
...
@@ -29,7 +29,7 @@
#define BUY_RGB(r, g, b) BUY_RGBA(r, g, b, 1)
#define BUY_RGBA(r, g, b, a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]
@interface
UIColor
(
BUY
Additions
)
@interface
UIColor
(
Additions
)
/**
* Check if the color is light (brightness of colors combined less than .5)
...
...
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/UIKit Additions/UIColor+
BUY
Additions.m
→
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/UIKit Additions/UIColor+Additions.m
View file @
c5fe5706
//
// UIColor+
BUY
Additions.m
// UIColor+Additions.m
// Mobile Buy SDK
//
// Created by Shopify.
...
...
@@ -24,9 +24,9 @@
// THE SOFTWARE.
//
#import "UIColor+
BUY
Additions.h"
#import "UIColor+Additions.h"
@implementation
UIColor
(
BUY
Additions
)
@implementation
UIColor
(
Additions
)
-
(
BOOL
)
isLightColor
{
...
...
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/UIKit Additions/UIFont+
BUY
Additions.h
→
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/UIKit Additions/UIFont+Additions.h
View file @
c5fe5706
//
//
BUYFont
.h
//
Font+Additions
.h
// Mobile Buy SDK
//
// Created by Shopify.
...
...
@@ -26,7 +26,7 @@
@import
UIKit
;
@interface
UIFont
(
BUY
Additions
)
@interface
UIFont
(
Additions
)
/**
* Class method to allow system fonts to have increased point sizes from the OS default.
...
...
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/UIKit Additions/UIFont+
BUY
Additions.m
→
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/UIKit Additions/UIFont+Additions.m
View file @
c5fe5706
//
// BUYFont.m
// BUYFont
+Additions
.m
// Mobile Buy SDK
//
// Created by Shopify.
...
...
@@ -24,9 +24,9 @@
// THE SOFTWARE.
//
#import "UIFont+
BUY
Additions.h"
#import "UIFont+Additions.h"
@implementation
UIFont
(
BUY
Additions
)
@implementation
UIFont
(
Additions
)
+
(
UIFont
*
)
preferredFontForTextStyle
:(
NSString
*
)
style
increasedPointSize
:(
CGFloat
)
size
{
...
...
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/UIKit Additions/UIImage+
BUY
Additions.h
→
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/UIKit Additions/UIImage+Additions.h
View file @
c5fe5706
//
// UIImage+
BUY
Additions.h
// UIImage+Additions.h
// Mobile Buy SDK
//
// Created by Shopify.
...
...
@@ -26,7 +26,7 @@
#import <UIKit/UIKit.h>
@interface
UIImage
(
BUY
Additions
)
@interface
UIImage
(
Additions
)
+
(
UIImage
*
)
templateButtonBackgroundImage
;
+
(
UIImage
*
)
templateImageWithFill
:(
UIColor
*
)
fill
stroke
:(
UIColor
*
)
stroke
edgeInsets
:(
UIEdgeInsets
)
edgeInsets
;
...
...
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/UIKit Additions/UIImage+
BUY
Additions.m
→
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/UIKit Additions/UIImage+Additions.m
View file @
c5fe5706
...
...
@@ -24,12 +24,12 @@
// THE SOFTWARE.
//
#import "UIImage+
BUY
Additions.h"
#import "UIImage+Additions.h"
static
const
CGFloat
kDefaultCornerRadius
=
4
.
0
f
;
static
const
CGFloat
kDefaultStrokWidth
=
1
.
0
f
;
@implementation
UIImage
(
BUY
Additions
)
@implementation
UIImage
(
Additions
)
+
(
UIImage
*
)
templateButtonBackgroundImage
{
...
...
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