Commit 9a9f3144 by Brent Gulanowski

Update all public headers to use framework-style imports.

parent 8f0a3e1f
......@@ -25,8 +25,8 @@
//
#import <Foundation/Foundation.h>
#import "BUYObjectProtocol.h"
#import "BUYModelManagerProtocol.h"
#import <Buy/BUYObjectProtocol.h>
#import <Buy/BUYModelManagerProtocol.h>
@class NSManagedObjectModel;
......
......@@ -25,8 +25,8 @@
//
#import <Foundation/Foundation.h>
#import "BUYSerializable.h"
#import "NSArray+BUYAdditions.h"
#import <Buy/BUYSerializable.h>
#import <Buy/NSArray+BUYAdditions.h>
typedef NSString * (^BUYStringMap) (NSString *);
......
......@@ -24,7 +24,7 @@
// THE SOFTWARE.
//
#import "BUYClient+Customers.h"
#import <Buy/BUYClient+Customers.h>
NS_ASSUME_NONNULL_BEGIN
@class BUYAddress;
......
......@@ -24,7 +24,7 @@
// THE SOFTWARE.
//
#import "BUYClient.h"
#import <Buy/BUYClient.h>
NS_ASSUME_NONNULL_BEGIN
@class BUYCheckout;
......
......@@ -24,7 +24,7 @@
// THE SOFTWARE.
//
#import "BUYClient.h"
#import <Buy/BUYClient.h>
NS_ASSUME_NONNULL_BEGIN
@class BUYCustomer;
......
......@@ -24,9 +24,9 @@
// THE SOFTWARE.
//
#import "BUYClient.h"
#import "BUYClient+Checkout.h"
#import "BUYSerializable.h"
#import <Buy/BUYClient.h>
#import <Buy/BUYClient+Checkout.h>
#import <Buy/BUYSerializable.h>
static NSString * const BUYShopifyErrorDomain = @"BUYShopifyErrorDomain";
static NSString * const BUYClientCustomerAccessToken = @"X-Shopify-Customer-Access-Token";
......
......@@ -24,7 +24,7 @@
// THE SOFTWARE.
//
#import "BUYClient.h"
#import <Buy/BUYClient.h>
@interface BUYClient (Routing)
......
......@@ -24,7 +24,7 @@
// THE SOFTWARE.
//
#import "BUYClient.h"
#import <Buy/BUYClient.h>
NS_ASSUME_NONNULL_BEGIN
@class BUYShop;
......
......@@ -25,7 +25,7 @@
//
#import <Foundation/Foundation.h>
#import "BUYPaymentToken.h"
#import <Buy/BUYPaymentToken.h>
@class PKPaymentToken;
......
......@@ -25,7 +25,7 @@
//
@import Foundation;
#import "BUYSerializable.h"
#import <Buy/BUYSerializable.h>
/**
* This represents raw credit card data that the user is posting. You MUST discard this object as soon as it has been posted
......
......@@ -25,7 +25,7 @@
//
#import <Foundation/Foundation.h>
#import "BUYPaymentToken.h"
#import <Buy/BUYPaymentToken.h>
@interface BUYCreditCardToken : NSObject <BUYPaymentToken>
......
......@@ -24,7 +24,7 @@
// THE SOFTWARE.
//
#import "_BUYCart.h"
#import <Buy/_BUYCart.h>
@class BUYProductVariant;
@class BUYLineItem;
......
......@@ -25,7 +25,7 @@
//
#import <Buy/_BUYCollection.h>
#import "BUYClient+Storefront.h"
#import <Buy/BUYClient+Storefront.h>
@interface BUYCollection : _BUYCollection {}
......
......@@ -28,7 +28,7 @@
#import <Buy/BUYManagedObject.h>
#import "BUYModelManager.h"
#import <Buy/BUYModelManager.h>
extern const struct BUYAddressAttributes {
__unsafe_unretained NSString *address1;
......
......@@ -28,7 +28,7 @@
#import <Buy/BUYManagedObject.h>
#import "BUYModelManager.h"
#import <Buy/BUYModelManager.h>
extern const struct BUYCartRelationships {
__unsafe_unretained NSString *lineItems;
......
......@@ -28,7 +28,7 @@
#import <Buy/BUYManagedObject.h>
#import "BUYModelManager.h"
#import <Buy/BUYModelManager.h>
extern const struct BUYCartLineItemAttributes {
__unsafe_unretained NSString *quantity;
......
......@@ -28,7 +28,7 @@
#import <Buy/BUYManagedObject.h>
#import "BUYModelManager.h"
#import <Buy/BUYModelManager.h>
extern const struct BUYCollectionAttributes {
__unsafe_unretained NSString *createdAt;
......
......@@ -28,7 +28,7 @@
#import <Buy/BUYManagedObject.h>
#import "BUYModelManager.h"
#import <Buy/BUYModelManager.h>
extern const struct BUYCustomerAttributes {
__unsafe_unretained NSString *acceptsMarketing;
......
......@@ -28,7 +28,7 @@
#import <Buy/BUYManagedObject.h>
#import "BUYModelManager.h"
#import <Buy/BUYModelManager.h>
extern const struct BUYImageLinkAttributes {
__unsafe_unretained NSString *createdAt;
......
......@@ -28,7 +28,7 @@
#import <Buy/BUYManagedObject.h>
#import "BUYModelManager.h"
#import <Buy/BUYModelManager.h>
extern const struct BUYLineItemAttributes {
__unsafe_unretained NSString *compareAtPrice;
......
......@@ -28,7 +28,7 @@
#import <Buy/BUYManagedObject.h>
#import "BUYModelManager.h"
#import <Buy/BUYModelManager.h>
extern const struct BUYOptionAttributes {
__unsafe_unretained NSString *identifier;
......
......@@ -28,7 +28,7 @@
#import <Buy/BUYManagedObject.h>
#import "BUYModelManager.h"
#import <Buy/BUYModelManager.h>
extern const struct BUYOptionValueAttributes {
__unsafe_unretained NSString *name;
......
......@@ -28,7 +28,7 @@
#import <Buy/BUYManagedObject.h>
#import "BUYModelManager.h"
#import <Buy/BUYModelManager.h>
extern const struct BUYOrderAttributes {
__unsafe_unretained NSString *identifier;
......
......@@ -28,7 +28,7 @@
#import <Buy/BUYManagedObject.h>
#import "BUYModelManager.h"
#import <Buy/BUYModelManager.h>
extern const struct BUYProductAttributes {
__unsafe_unretained NSString *available;
......
......@@ -28,7 +28,7 @@
#import <Buy/BUYManagedObject.h>
#import "BUYModelManager.h"
#import <Buy/BUYModelManager.h>
extern const struct BUYProductVariantAttributes {
__unsafe_unretained NSString *available;
......
......@@ -28,7 +28,7 @@
#import <Buy/BUYManagedObject.h>
#import "BUYModelManager.h"
#import <Buy/BUYModelManager.h>
extern const struct BUYShopAttributes {
__unsafe_unretained NSString *city;
......
......@@ -29,9 +29,9 @@
#import <Buy/BUYManagedObject.h>
<$if hasAdditionalHeaderFile$>
#import "<$additionalHeaderFileName$>"
#import <Buy/<$additionalHeaderFileName$>>
<$endif$>
#import "BUYModelManager.h"
#import <Buy/BUYModelManager.h>
<$if noninheritedAttributes.@count > 0$>
extern const struct <$managedObjectClassName$>Attributes {<$foreach Attribute noninheritedAttributes do$>
......
......@@ -27,10 +27,10 @@
// Make changes to <$managedObjectClassName$>.h instead.
<$if hasCustomSuperentity$><$if hasSuperentity$>#import <Buy/<$customSuperentity$>.h>
<$else$><$if hasCustomBaseCaseImport$>#import <$baseClassImport$><$else$>#import "<$customSuperentity$>.h"<$endif$><$endif$><$endif$>
<$else$><$if hasCustomBaseCaseImport$>#import <$baseClassImport$><$else$>#import <Buy/<$customSuperentity$>.h><$endif$><$endif$><$endif$>
<$if hasAdditionalHeaderFile$>
#import "<$additionalHeaderFileName$>"
#import <Buy/<$additionalHeaderFileName$>>
<$endif$>
#import <Buy/BUYModelManager.h>
......
......@@ -26,7 +26,7 @@
// DO NOT EDIT. This file is machine-generated and constantly overwritten.
// Make changes to BUYCheckout.h instead.
#import "BUYObject.h"
#import <Buy/BUYObject.h>
#import <Buy/BUYModelManager.h>
......
......@@ -26,7 +26,7 @@
// DO NOT EDIT. This file is machine-generated and constantly overwritten.
// Make changes to BUYCheckoutAttribute.h instead.
#import "BUYObject.h"
#import <Buy/BUYObject.h>
#import <Buy/BUYModelManager.h>
......
......@@ -26,7 +26,7 @@
// DO NOT EDIT. This file is machine-generated and constantly overwritten.
// Make changes to BUYDiscount.h instead.
#import "BUYObject.h"
#import <Buy/BUYObject.h>
#import <Buy/BUYModelManager.h>
......
......@@ -26,7 +26,7 @@
// DO NOT EDIT. This file is machine-generated and constantly overwritten.
// Make changes to BUYGiftCard.h instead.
#import "BUYObject.h"
#import <Buy/BUYObject.h>
#import <Buy/BUYModelManager.h>
......
......@@ -26,7 +26,7 @@
// DO NOT EDIT. This file is machine-generated and constantly overwritten.
// Make changes to BUYMaskedCreditCard.h instead.
#import "BUYObject.h"
#import <Buy/BUYObject.h>
#import <Buy/BUYModelManager.h>
......
......@@ -26,7 +26,7 @@
// DO NOT EDIT. This file is machine-generated and constantly overwritten.
// Make changes to BUYShippingRate.h instead.
#import "BUYObject.h"
#import <Buy/BUYObject.h>
#import <Buy/BUYModelManager.h>
......
......@@ -26,7 +26,7 @@
// DO NOT EDIT. This file is machine-generated and constantly overwritten.
// Make changes to BUYTaxLine.h instead.
#import "BUYObject.h"
#import <Buy/BUYObject.h>
#import <Buy/BUYModelManager.h>
......
......@@ -24,7 +24,7 @@
// THE SOFTWARE.
//
#import "BUYOperation.h"
#import <Buy/BUYOperation.h>
NS_ASSUME_NONNULL_BEGIN
@class BUYClient;
......
......@@ -25,7 +25,7 @@
//
@import UIKit;
#import "BUYPaymentProvider.h"
#import <Buy/BUYPaymentProvider.h>
NS_ASSUME_NONNULL_BEGIN
......
......@@ -25,7 +25,7 @@
//
@import Foundation;
#import "BUYPaymentProvider.h"
#import <Buy/BUYPaymentProvider.h>
NS_ASSUME_NONNULL_BEGIN
......
......@@ -26,7 +26,7 @@
@import UIKit;
#import "BUYClient.h"
#import <Buy/BUYClient.h>
NS_ASSUME_NONNULL_BEGIN
......
......@@ -25,7 +25,7 @@
//
#import <Foundation/Foundation.h>
#import "BUYPaymentProvider.h"
#import <Buy/BUYPaymentProvider.h>
NS_ASSUME_NONNULL_BEGIN
......
......@@ -27,9 +27,9 @@
@import Foundation;
@import PassKit;
#import "BUYCheckout.h"
#import "BUYShippingRate.h"
#import "BUYAddress.h"
#import <Buy/BUYCheckout.h>
#import <Buy/BUYShippingRate.h>
#import <Buy/BUYAddress.h>
@interface BUYCheckout (ApplePay)
......
......@@ -24,7 +24,7 @@
// THE SOFTWARE.
//
#import "BUYError.h"
#import <Buy/BUYError.h>
@interface BUYError (Checkout)
+ (NSArray<BUYError *> *)errorsFromCheckoutJSON:(NSDictionary *)json;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment