Permalink
Browse files

Merge pull request #40 from Watson1978/pixate_2.0

update Pixate.framework to 2.0
  • Loading branch information...
2 parents c17beb4 + 8833f3f commit 8622fe61661be2bf616ff8cd83d8c0a107c87bf3 @satococoa committed Nov 13, 2013
Showing with 1,112 additions and 5,917 deletions.
  1. +1 −0 vendor/Pixate.framework/Headers
  2. +0 −54 vendor/Pixate.framework/Headers/PXGradient.h
  3. +0 −15 vendor/Pixate.framework/Headers/PXMath.h
  4. +0 −46 vendor/Pixate.framework/Headers/PXShapeView.h
  5. +0 −128 vendor/Pixate.framework/Headers/PXStyleable.h
  6. +0 −52 vendor/Pixate.framework/Headers/PXStylesheet.h
  7. +0 −161 vendor/Pixate.framework/Headers/Pixate.h
  8. +0 −41 vendor/Pixate.framework/Headers/UIBarButtonItem+PXStyling.h
  9. +0 −31 vendor/Pixate.framework/Headers/UIView+PXStyling.h
  10. BIN vendor/Pixate.framework/Pixate
  11. BIN vendor/Pixate.framework/Pixate
  12. +1 −0 vendor/Pixate.framework/PrivateHeaders
  13. +1 −0 vendor/Pixate.framework/Resources
  14. +0 −16 vendor/Pixate.framework/Versions/1.1/Headers/NSDictionary+PXCSSEncoding.h
  15. +0 −38 vendor/Pixate.framework/Versions/1.1/Headers/PXArc.h
  16. +0 −21 vendor/Pixate.framework/Versions/1.1/Headers/PXBoundable.h
  17. +0 −45 vendor/Pixate.framework/Versions/1.1/Headers/PXCircle.h
  18. +0 −123 vendor/Pixate.framework/Versions/1.1/Headers/PXDimension.h
  19. +0 −54 vendor/Pixate.framework/Versions/1.1/Headers/PXEllipse.h
  20. +0 −15 vendor/Pixate.framework/Versions/1.1/Headers/PXEngine.h
  21. +0 −54 vendor/Pixate.framework/Versions/1.1/Headers/PXGradient.h
  22. +0 −59 vendor/Pixate.framework/Versions/1.1/Headers/PXGraphics.h
  23. +0 −36 vendor/Pixate.framework/Versions/1.1/Headers/PXLine.h
  24. +0 −73 vendor/Pixate.framework/Versions/1.1/Headers/PXLinearGradient.h
  25. +0 −15 vendor/Pixate.framework/Versions/1.1/Headers/PXMath.h
  26. +0 −17 vendor/Pixate.framework/Versions/1.1/Headers/PXNonScalingStroke.h
  27. +0 −22 vendor/Pixate.framework/Versions/1.1/Headers/PXOffsets.h
  28. +0 −48 vendor/Pixate.framework/Versions/1.1/Headers/PXPaint.h
  29. +0 −33 vendor/Pixate.framework/Versions/1.1/Headers/PXPaintGroup.h
  30. +0 −58 vendor/Pixate.framework/Versions/1.1/Headers/PXPaintable.h
  31. +0 −83 vendor/Pixate.framework/Versions/1.1/Headers/PXPath.h
  32. +0 −17 vendor/Pixate.framework/Versions/1.1/Headers/PXPie.h
  33. +0 −37 vendor/Pixate.framework/Versions/1.1/Headers/PXPolygon.h
  34. +0 −34 vendor/Pixate.framework/Versions/1.1/Headers/PXRadialGradient.h
  35. +0 −89 vendor/Pixate.framework/Versions/1.1/Headers/PXRectangle.h
  36. +0 −49 vendor/Pixate.framework/Versions/1.1/Headers/PXRenderable.h
  37. +0 −83 vendor/Pixate.framework/Versions/1.1/Headers/PXSVGLoader.h
  38. +0 −52 vendor/Pixate.framework/Versions/1.1/Headers/PXShadow.h
  39. +0 −34 vendor/Pixate.framework/Versions/1.1/Headers/PXShadowGroup.h
  40. +0 −33 vendor/Pixate.framework/Versions/1.1/Headers/PXShadowPaint.h
  41. +0 −73 vendor/Pixate.framework/Versions/1.1/Headers/PXShape.h
  42. +0 −53 vendor/Pixate.framework/Versions/1.1/Headers/PXShapeDocument.h
  43. +0 −102 vendor/Pixate.framework/Versions/1.1/Headers/PXShapeGroup.h
  44. +0 −46 vendor/Pixate.framework/Versions/1.1/Headers/PXShapeView.h
  45. +0 −36 vendor/Pixate.framework/Versions/1.1/Headers/PXSolidPaint.h
  46. +0 −84 vendor/Pixate.framework/Versions/1.1/Headers/PXStroke.h
  47. +0 −26 vendor/Pixate.framework/Versions/1.1/Headers/PXStrokeGroup.h
  48. +0 −31 vendor/Pixate.framework/Versions/1.1/Headers/PXStrokeRenderer.h
  49. +0 −31 vendor/Pixate.framework/Versions/1.1/Headers/PXStrokeStroke.h
  50. +0 −138 vendor/Pixate.framework/Versions/1.1/Headers/PXVector.h
  51. +0 −161 vendor/Pixate.framework/Versions/1.1/Headers/Pixate.h
  52. +0 −92 vendor/Pixate.framework/Versions/1.1/Headers/PixateConfiguration.h
  53. +0 −41 vendor/Pixate.framework/Versions/1.1/Headers/UIBarButtonItem+PXStyling.h
  54. +0 −104 vendor/Pixate.framework/Versions/1.1/Headers/UIColor+PXColors.h
  55. +0 −40 vendor/Pixate.framework/Versions/1.1/Headers/UITabBarItem+PXStyling.h
  56. +0 −19 vendor/Pixate.framework/Versions/1.1/PrivateHeaders/PXVirtualControl.h
  57. BIN vendor/Pixate.framework/Versions/1.1/Resources/Info.plist
  58. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/NSDictionary+PXCSSEncoding.h
  59. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXArc.h
  60. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXBoundable.h
  61. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXCircle.h
  62. +16 −0 vendor/Pixate.framework/Versions/2.0/Headers/PXClassUtils.h
  63. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXDimension.h
  64. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXEllipse.h
  65. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXEngine.h
  66. +10 −0 vendor/Pixate.framework/Versions/{Current → 2.0}/Headers/PXGradient.h
  67. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXGraphics.h
  68. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXLine.h
  69. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXLinearGradient.h
  70. +34 −0 vendor/Pixate.framework/Versions/2.0/Headers/PXMath.h
  71. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXNonScalingStroke.h
  72. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXOffsets.h
  73. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXPaint.h
  74. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXPaintGroup.h
  75. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXPaintable.h
  76. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXPath.h
  77. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXPie.h
  78. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXPolygon.h
  79. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXRadialGradient.h
  80. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXRectangle.h
  81. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXRenderable.h
  82. +0 −16 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXSVGLoader.h
  83. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXShadow.h
  84. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXShadowGroup.h
  85. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXShadowPaint.h
  86. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXShape.h
  87. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXShapeDocument.h
  88. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXShapeGroup.h
  89. +1 −1 vendor/Pixate.framework/Versions/{Current → 2.0}/Headers/PXShapeView.h
  90. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXSolidPaint.h
  91. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXStroke.h
  92. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXStrokeGroup.h
  93. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXStrokeRenderer.h
  94. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXStrokeStroke.h
  95. +29 −0 vendor/Pixate.framework/Versions/{1.1 → 2.0}/Headers/PXStyleable.h
  96. +1 −1 vendor/Pixate.framework/Versions/{1.1 → 2.0}/Headers/PXStylesheet.h
  97. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PXVector.h
  98. +31 −10 vendor/Pixate.framework/Versions/{Current → 2.0}/Headers/Pixate.h
  99. +28 −14 vendor/Pixate.framework/{ → Versions/2.0}/Headers/PixateConfiguration.h
  100. +17 −1 vendor/Pixate.framework/Versions/{Current → 2.0}/Headers/UIBarButtonItem+PXStyling.h
  101. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/UIColor+PXColors.h
  102. +44 −0 vendor/Pixate.framework/Versions/2.0/Headers/UINavigationItem+PXStyling.h
  103. 0 vendor/Pixate.framework/{ → Versions/2.0}/Headers/UITabBarItem+PXStyling.h
  104. +1 −13 vendor/Pixate.framework/Versions/{1.1 → 2.0}/Headers/UIView+PXStyling.h
  105. BIN vendor/Pixate.framework/Versions/{1.1 → 2.0}/Pixate
  106. 0 vendor/Pixate.framework/{ → Versions/2.0}/PrivateHeaders/PXVirtualControl.h
  107. BIN vendor/Pixate.framework/{ → Versions/2.0}/Resources/Info.plist
  108. +1 −0 vendor/Pixate.framework/Versions/Current
  109. +0 −16 vendor/Pixate.framework/Versions/Current/Headers/NSDictionary+PXCSSEncoding.h
  110. +0 −38 vendor/Pixate.framework/Versions/Current/Headers/PXArc.h
  111. +0 −21 vendor/Pixate.framework/Versions/Current/Headers/PXBoundable.h
  112. +0 −45 vendor/Pixate.framework/Versions/Current/Headers/PXCircle.h
  113. +0 −123 vendor/Pixate.framework/Versions/Current/Headers/PXDimension.h
  114. +0 −54 vendor/Pixate.framework/Versions/Current/Headers/PXEllipse.h
  115. +0 −15 vendor/Pixate.framework/Versions/Current/Headers/PXEngine.h
  116. +0 −59 vendor/Pixate.framework/Versions/Current/Headers/PXGraphics.h
  117. +0 −36 vendor/Pixate.framework/Versions/Current/Headers/PXLine.h
  118. +0 −73 vendor/Pixate.framework/Versions/Current/Headers/PXLinearGradient.h
  119. +0 −15 vendor/Pixate.framework/Versions/Current/Headers/PXMath.h
  120. +0 −17 vendor/Pixate.framework/Versions/Current/Headers/PXNonScalingStroke.h
  121. +0 −22 vendor/Pixate.framework/Versions/Current/Headers/PXOffsets.h
  122. +0 −48 vendor/Pixate.framework/Versions/Current/Headers/PXPaint.h
  123. +0 −33 vendor/Pixate.framework/Versions/Current/Headers/PXPaintGroup.h
  124. +0 −58 vendor/Pixate.framework/Versions/Current/Headers/PXPaintable.h
  125. +0 −83 vendor/Pixate.framework/Versions/Current/Headers/PXPath.h
  126. +0 −17 vendor/Pixate.framework/Versions/Current/Headers/PXPie.h
  127. +0 −37 vendor/Pixate.framework/Versions/Current/Headers/PXPolygon.h
  128. +0 −34 vendor/Pixate.framework/Versions/Current/Headers/PXRadialGradient.h
  129. +0 −89 vendor/Pixate.framework/Versions/Current/Headers/PXRectangle.h
  130. +0 −49 vendor/Pixate.framework/Versions/Current/Headers/PXRenderable.h
  131. +0 −83 vendor/Pixate.framework/Versions/Current/Headers/PXSVGLoader.h
  132. +0 −52 vendor/Pixate.framework/Versions/Current/Headers/PXShadow.h
  133. +0 −34 vendor/Pixate.framework/Versions/Current/Headers/PXShadowGroup.h
  134. +0 −33 vendor/Pixate.framework/Versions/Current/Headers/PXShadowPaint.h
  135. +0 −73 vendor/Pixate.framework/Versions/Current/Headers/PXShape.h
  136. +0 −53 vendor/Pixate.framework/Versions/Current/Headers/PXShapeDocument.h
  137. +0 −102 vendor/Pixate.framework/Versions/Current/Headers/PXShapeGroup.h
  138. +0 −36 vendor/Pixate.framework/Versions/Current/Headers/PXSolidPaint.h
  139. +0 −84 vendor/Pixate.framework/Versions/Current/Headers/PXStroke.h
  140. +0 −26 vendor/Pixate.framework/Versions/Current/Headers/PXStrokeGroup.h
  141. +0 −31 vendor/Pixate.framework/Versions/Current/Headers/PXStrokeRenderer.h
  142. +0 −31 vendor/Pixate.framework/Versions/Current/Headers/PXStrokeStroke.h
  143. +0 −128 vendor/Pixate.framework/Versions/Current/Headers/PXStyleable.h
  144. +0 −52 vendor/Pixate.framework/Versions/Current/Headers/PXStylesheet.h
  145. +0 −138 vendor/Pixate.framework/Versions/Current/Headers/PXVector.h
  146. +0 −92 vendor/Pixate.framework/Versions/Current/Headers/PixateConfiguration.h
  147. +0 −104 vendor/Pixate.framework/Versions/Current/Headers/UIColor+PXColors.h
  148. +0 −40 vendor/Pixate.framework/Versions/Current/Headers/UITabBarItem+PXStyling.h
  149. +0 −31 vendor/Pixate.framework/Versions/Current/Headers/UIView+PXStyling.h
  150. BIN vendor/Pixate.framework/Versions/Current/Pixate
  151. +0 −19 vendor/Pixate.framework/Versions/Current/PrivateHeaders/PXVirtualControl.h
  152. BIN vendor/Pixate.framework/Versions/Current/Resources/Info.plist
  153. +896 −794 vendor/Pixate.framework/pixate.framework.bridgesupport
@@ -1,54 +0,0 @@
-//
-// PXGradient.h
-// Pixate
-//
-// Created by Kevin Lindsey on 6/8/12.
-// Copyright (c) 2012 Pixate, Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import "PXPaint.h"
-
-/**
- * A common base class for linear- and radial-gradients.
- */
-@interface PXGradient : NSObject <PXPaint>
-
-/**
- * An array of offsets, from zero to one inclusive, one for each color
- */
-@property (nonatomic) NSMutableArray *offsets;
-
-/**
- * An array of colors, one for each color in the gradient. It is expected that each color will have a corresponding
- * offset; however, if the two arrays differ in size, then the colors will be evenly distributed between zero and one,
- * inclusive.
- */
-@property (nonatomic) NSMutableArray *colors;
-
-/**
- * The transform to apply before rendering this gradient
- */
-@property (nonatomic) CGAffineTransform transform;
-
-/**
- * The CGGRadient representing this gradient.
- */
-@property (readonly) CGGradientRef gradient;
-
-/**
- * Add a color to this gradients list of colors
- *
- * @param color The color to add
- */
-- (void)addColor:(UIColor *)color;
-
-/**
- * Add a color at the given offset
- *
- * @param color The color to add
- * @param offset The offset to add
- */
-- (void)addColor:(UIColor *)color withOffset:(CGFloat)offset;
-
-@end
@@ -1,15 +0,0 @@
-//
-// PXMath.h
-// Pixate
-//
-// Created by Kevin Lindsey on 7/28/12.
-// Copyright (c) 2012 Pixate, Inc. All rights reserved.
-//
-
-#ifndef PXShapeKit_PXMath_h
-#define PXShapeKit_PXMath_h
-
-#define DEGREES_TO_RADIANS(angle) ( (angle) / 180.0 * M_PI)
-#define RADIANS_TO_DEGREES(radians) ((radians) * 180.0 / M_PI)
-
-#endif
@@ -1,46 +0,0 @@
-//
-// PXShapeView.h
-// Pixate
-//
-// Created by Kevin Lindsey on 5/30/12.
-// Copyright (c) 2012 Pixate, Inc. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-#import "PXShapeDocument.h"
-
-/**
- * PXShapeView serves as a convenience class for displaying vector graphics as defined by Pixate's ShapeKit.
- */
-@interface PXShapeView : UIView
-
-/**
- * The top-level scene being rendered into this view
- */
-@property (nonatomic, strong) PXShapeDocument *document;
-
-/**
- * The string path to a vector graphics file to be rendered into this view
- */
-@property (nonatomic, strong) NSString *resourcePath;
-
-/**
- * Load a vector graphics file at the given URL. Note that this implementation currently supports like file resources
- * only.
- *
- * @param URL The URL to load
- */
-- (void)loadSceneFromURL:(NSURL *)URL;
-
-/**
- * Create an image of the current display
- */
-- (UIImage *)renderToImage;
-
-/**
- * Apply this views bounds to the content it contains. This may result in the content being scaled and/or shifted
- * based on the scene's viewport settings
- */
-- (void)applyBoundsToScene;
-
-@end
@@ -1,128 +0,0 @@
-//
-// PXStyleable.h
-// Pixate
-//
-// Created by Kevin Lindsey on 7/11/12.
-// Copyright (c) 2012 Pixate, Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-@class PXRuleSet;
-
-/**
- * The PXStyleable protocol defines a set of properties and methods needed in order to style a given object.
- */
-@protocol PXStyleable <NSObject>
-
-@required
-
-/**
- * The ID for this styleable object. Ideally, this value should be unique within the context being styled.
- */
-@property (nonatomic, copy) NSString *styleId;
-
-/**
- * The CSS classes associated with this styleable object. One or more classes may be specified by delimiting each with
- * whitespace
- */
-@property (nonatomic, copy) NSString *styleClass;
-
-/**
- * The element name to use when matching this styleable object against a selector
- */
-@property (readonly, nonatomic, copy) NSString *pxStyleElementName;
-
-/**
- * The style parent that contains this object
- */
-@property (readonly, nonatomic, weak) id pxStyleParent;
-
-/**
- * The style children owned by this object
- */
-@property (readonly, nonatomic, copy) NSArray *pxStyleChildren;
-
-/**
- * The bounds of the item being styled
- */
-@property (nonatomic) CGRect bounds;
-
-/**
- * The frame of the item being styled
- */
-@property (nonatomic) CGRect frame;
-
-@optional
-
-/**
- * Update styles for this styleable and all of its descendant styleables
- */
-- (void)updateStyles;
-
-/**
- * Update styles for this styleable only
- */
-- (void)updateStylesNonRecursively;
-
-/**
- * Update styles for this styleable and all of its descendant styleables asynchronously
- */
-- (void)updateStylesAsync;
-
-/**
- * Update styles for this styleable only asynchronously
- */
-- (void)updateStylesNonRecursivelyAsync;
-
-/**
- * Return the namespace URI associated with this object
- */
-@property (readonly, nonatomic, copy) NSString *pxStyleNamespace;
-
-/**
- * Inline styles to apply to this object
- */
-@property (nonatomic, copy) NSString *styleCSS;
-
-/**
- * Return a list of pseudo-classes that are recognized by this object
- */
-@property (readonly, nonatomic, copy) NSArray *supportedPseudoClasses;
-
-/**
- * Return the default pseudo-class associated with this object when none is specified in a selector
- */
-@property (readonly, nonatomic, copy) NSString *defaultPseudoClass;
-
-/**
- * Return a list of pseudo-elements that are recognized by this object
- */
-@property (readonly, nonatomic, copy) NSArray *supportedPseudoElements;
-
-/**
- * Register any NSNotificationCenter notifications needed by this object
- */
-- (void)registerNotifications;
-
-/**
- * Return a string value for the specified attribute name. If the name does not exist, a nil value should be returned
- *
- * @param name The name of the attribute
- * @param aNamespace The namespace of the attribute. This may be nil
- */
-- (NSString *)attributeValueForName:(NSString *)name withNamespace:(NSString *)aNamespace;
-
-/**
- * Return the styleable associated with the given pseudo-element
- *
- * @param pseudoElement The pseudo-element name
- */
-- (id<PXStyleable>)styleableForPseudoElement:(NSString *)pseudoElement;
-
-/**
- * Return a dictionary for animatable properties
- */
-- (NSDictionary *)animationPropertyHandlers;
-
-@end
@@ -1,52 +0,0 @@
-//
-// PXStylesheet.h
-// Pixate
-//
-// Created by Kevin Lindsey on 7/10/12.
-// Copyright (c) 2012 Pixate, Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-extern NSString *const PXStylesheetDidChangeNotification;
-
-/**
- * A PXStylesheetOrigin enumeration captures the various stylesheet origins (application, user, and view) which are
- * used when determining cascading and weights of declarations.
- */
-typedef enum
-{
- PXStylesheetOriginApplication,
- PXStylesheetOriginUser,
- PXStylesheetOriginView,
- PXStylesheetOriginInline
-} PXStylesheetOrigin;
-
-/**
- * A PXStylesheet typically corresponds to a single CSS file. Each stylesheet contains a list of rule sets defined
- * within it.
- */
-@interface PXStylesheet : NSObject
-
-/**
- * A PXStylesheetOrigin enumeration value indicating the origin of this stylesheet. Origin values are used in
- * specificity calculations.
- */
-@property (readonly, nonatomic) PXStylesheetOrigin origin;
-
-/**
- * A nonmutable array of error strings that were encountered when parsing the source of this stylesheet
- */
-@property (nonatomic, strong) NSArray *errors;
-
-/**
- * The string path to the file containing the source of this stylesheet
- */
-@property (nonatomic, strong) NSString *filePath;
-
-/**
- * A flag to watch the file for changes. If file changes, then a call to sendChangeNotifation is made.
- */
-@property (nonatomic, assign) BOOL monitorChanges;
-
-@end
Oops, something went wrong.

0 comments on commit 8622fe6

Please sign in to comment.