ソースを参照

delete file UIImage+ColorImage

Pen Li 9 年 前
コミット
3723761a93

BIN
RedAnt ERP Mobile/RedAnt ERP Mobile.xcworkspace/xcuserdata/macmini1.xcuserdatad/UserInterfaceState.xcuserstate


+ 0 - 14
RedAnt ERP Mobile/iSales-NPD.xcodeproj/project.pbxproj

@@ -15,7 +15,6 @@
 		42B3C9BB1D642C880053985C /* order_info.html in Resources */ = {isa = PBXBuildFile; fileRef = 42B3C9BA1D642C880053985C /* order_info.html */; };
 		42B99E131D7D032300E773CD /* SortItemViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 42B99E121D7D032300E773CD /* SortItemViewController.m */; };
 		42B99E161D7D052A00E773CD /* SortItemCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 42B99E151D7D052A00E773CD /* SortItemCell.m */; };
-		42B99E1A1D7D206A00E773CD /* UIImage+ColorImage.m in Sources */ = {isa = PBXBuildFile; fileRef = 42B99E191D7D206A00E773CD /* UIImage+ColorImage.m */; };
 		42C9FB151D5B28FA001DCA8B /* contactAdvanceSearch.json in Resources */ = {isa = PBXBuildFile; fileRef = 42C9FB141D5B28FA001DCA8B /* contactAdvanceSearch.json */; };
 		42DC31131D546FBE00BCD1C6 /* category.json in Resources */ = {isa = PBXBuildFile; fileRef = 42DC31121D546FBE00BCD1C6 /* category.json */; };
 		710274251CC606C4009FD219 /* UserListViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 710274241CC606C4009FD219 /* UserListViewController.m */; };
@@ -213,8 +212,6 @@
 		42B99E121D7D032300E773CD /* SortItemViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SortItemViewController.m; sourceTree = "<group>"; };
 		42B99E141D7D052A00E773CD /* SortItemCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SortItemCell.h; sourceTree = "<group>"; };
 		42B99E151D7D052A00E773CD /* SortItemCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SortItemCell.m; sourceTree = "<group>"; };
-		42B99E181D7D206A00E773CD /* UIImage+ColorImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+ColorImage.h"; sourceTree = "<group>"; };
-		42B99E191D7D206A00E773CD /* UIImage+ColorImage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImage+ColorImage.m"; sourceTree = "<group>"; };
 		42C9FB141D5B28FA001DCA8B /* contactAdvanceSearch.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = contactAdvanceSearch.json; sourceTree = "<group>"; };
 		42DC31121D546FBE00BCD1C6 /* category.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = category.json; sourceTree = "<group>"; };
 		56528CA8B8A71F67C2EE5366 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = "<group>"; };
@@ -585,15 +582,6 @@
 /* End PBXFrameworksBuildPhase section */
 
 /* Begin PBXGroup section */
-		42B99E171D7D206A00E773CD /* UIImage+ColorImage */ = {
-			isa = PBXGroup;
-			children = (
-				42B99E181D7D206A00E773CD /* UIImage+ColorImage.h */,
-				42B99E191D7D206A00E773CD /* UIImage+ColorImage.m */,
-			);
-			path = "UIImage+ColorImage";
-			sourceTree = "<group>";
-		};
 		710212821B8D59DE00E1788B /* watchlist */ = {
 			isa = PBXGroup;
 			children = (
@@ -826,7 +814,6 @@
 		716387C71953CDB4006E65E6 /* utils */ = {
 			isa = PBXGroup;
 			children = (
-				42B99E171D7D206A00E773CD /* UIImage+ColorImage */,
 				71BBA2171CEAC10200C91DED /* zip */,
 				71B1250B1C55BD4600118904 /* QRCODE */,
 				71BE066E1BA1607400FA6544 /* AES */,
@@ -1427,7 +1414,6 @@
 				7162A5AD1C58735900AB630E /* TearSheetParamViewController.m in Sources */,
 				7141DD611C5747CE00F7DF59 /* NSData+Base64.m in Sources */,
 				71BBA2431CEAEF0700C91DED /* zip.c in Sources */,
-				42B99E1A1D7D206A00E773CD /* UIImage+ColorImage.m in Sources */,
 				7141DD5F1C5747CE00F7DF59 /* AESCrypt.m in Sources */,
 				7162A5991C58733400AB630E /* OrderDetailHtmlCell.m in Sources */,
 				7162A5091C586FC100AB630E /* CycleScrollView.m in Sources */,

+ 0 - 24
RedAnt ERP Mobile/iSales-NPD/UIImage+ColorImage/UIImage+ColorImage.h

@@ -1,24 +0,0 @@
-//
-//  UIImage+ColorImage.h
-//  
-//
-//  Created by emerys on 16/4/1.
-//  Copyright © 2016年 Emerys. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-@interface UIImage (ColorImage)
-
-/**
- *  @author Jack Lee, 16-04-01 19:04:02
- *
- *  @brief 生成一个颜色为color的image对象
- *
- *  @param color image颜色
- */
-+ (instancetype)imageWithColor:(UIColor *)color;
-
-+ (instancetype)imageWithColor:(UIColor *)color size:(CGSize)size;
-
-@end

+ 0 - 28
RedAnt ERP Mobile/iSales-NPD/UIImage+ColorImage/UIImage+ColorImage.m

@@ -1,28 +0,0 @@
-//
-//  UIImage+ColorImage.m
-//  
-//
-//  Created by emerys on 16/4/1.
-//  Copyright © 2016年 Emerys. All rights reserved.
-//
-
-#import "UIImage+ColorImage.h"
-
-@implementation UIImage (ColorImage)
-
-+(instancetype)imageWithColor:(UIColor *)color{
-    return [self imageWithColor:color size:CGSizeMake(1, 1)];
-}
-
-+ (instancetype)imageWithColor:(UIColor *)color size:(CGSize)size{
-    UIGraphicsBeginImageContext(size);
-    CGContextRef ctx = UIGraphicsGetCurrentContext();
-    CGContextAddEllipseInRect(ctx, CGRectMake(0, 0, size.width, size.height));
-    CGContextSetFillColorWithColor(ctx, color.CGColor);
-    CGContextFillPath(ctx);
-    UIImage *img = UIGraphicsGetImageFromCurrentImageContext();
-    UIGraphicsEndImageContext();
-    return img;
-}
-
-@end