Unverified Commit 58df5cea authored by 谭真's avatar 谭真 Committed by GitHub

Merge pull request #1435 from cnjsyyb/master

UIView (Layout) --> UIView (TZLayout)
parents 34b76d72 8aba9758
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#import "LxGridViewFlowLayout.h" #import "LxGridViewFlowLayout.h"
#import "TZTestCell.h" #import "TZTestCell.h"
#import "UIView+Layout.h" #import "UIView+TZLayout.h"
#define stringify __STRING #define stringify __STRING
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#import "TZAssetCell.h" #import "TZAssetCell.h"
#import "TZAssetModel.h" #import "TZAssetModel.h"
#import "UIView+Layout.h" #import "UIView+TZLayout.h"
#import "TZImageManager.h" #import "TZImageManager.h"
#import "TZImagePickerController.h" #import "TZImagePickerController.h"
#import "TZProgressView.h" #import "TZProgressView.h"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#import "TZGifPhotoPreviewController.h" #import "TZGifPhotoPreviewController.h"
#import "TZImagePickerController.h" #import "TZImagePickerController.h"
#import "TZAssetModel.h" #import "TZAssetModel.h"
#import "UIView+Layout.h" #import "UIView+TZLayout.h"
#import "TZPhotoPreviewCell.h" #import "TZPhotoPreviewCell.h"
#import "TZImageManager.h" #import "TZImageManager.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
// //
#import "TZImageCropManager.h" #import "TZImageCropManager.h"
#import "UIView+Layout.h" #import "UIView+TZLayout.h"
#import <ImageIO/ImageIO.h> #import <ImageIO/ImageIO.h>
#import "TZImageManager.h" #import "TZImageManager.h"
#import "TZImagePickerController.h" #import "TZImagePickerController.h"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#import "TZPhotoPreviewController.h" #import "TZPhotoPreviewController.h"
#import "TZAssetModel.h" #import "TZAssetModel.h"
#import "TZAssetCell.h" #import "TZAssetCell.h"
#import "UIView+Layout.h" #import "UIView+TZLayout.h"
#import "TZImageManager.h" #import "TZImageManager.h"
@interface TZImagePickerController () { @interface TZImagePickerController () {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#import "TZPhotoPreviewController.h" #import "TZPhotoPreviewController.h"
#import "TZAssetCell.h" #import "TZAssetCell.h"
#import "TZAssetModel.h" #import "TZAssetModel.h"
#import "UIView+Layout.h" #import "UIView+TZLayout.h"
#import "TZImageManager.h" #import "TZImageManager.h"
#import "TZVideoPlayerController.h" #import "TZVideoPlayerController.h"
#import "TZGifPhotoPreviewController.h" #import "TZGifPhotoPreviewController.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#import "TZPhotoPreviewCell.h" #import "TZPhotoPreviewCell.h"
#import "TZAssetModel.h" #import "TZAssetModel.h"
#import "UIView+Layout.h" #import "UIView+TZLayout.h"
#import "TZImageManager.h" #import "TZImageManager.h"
#import "TZProgressView.h" #import "TZProgressView.h"
#import "TZImageCropManager.h" #import "TZImageCropManager.h"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#import "TZPhotoPreviewController.h" #import "TZPhotoPreviewController.h"
#import "TZPhotoPreviewCell.h" #import "TZPhotoPreviewCell.h"
#import "TZAssetModel.h" #import "TZAssetModel.h"
#import "UIView+Layout.h" #import "UIView+TZLayout.h"
#import "TZImagePickerController.h" #import "TZImagePickerController.h"
#import "TZImageManager.h" #import "TZImageManager.h"
#import "TZImageCropManager.h" #import "TZImageCropManager.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#import "TZVideoPlayerController.h" #import "TZVideoPlayerController.h"
#import <MediaPlayer/MediaPlayer.h> #import <MediaPlayer/MediaPlayer.h>
#import "UIView+Layout.h" #import "UIView+TZLayout.h"
#import "TZImageManager.h" #import "TZImageManager.h"
#import "TZAssetModel.h" #import "TZAssetModel.h"
#import "TZImagePickerController.h" #import "TZImagePickerController.h"
......
// //
// UIView+Layout.h // UIView+TZLayout.h
// TZImagePickerController
// //
// Created by 谭真 on 15/2/24. // Created by 谭真 on 15/2/24.
// Copyright © 2015年 谭真. All rights reserved. // Copyright © 2015年 谭真. All rights reserved.
...@@ -12,7 +13,7 @@ typedef enum : NSUInteger { ...@@ -12,7 +13,7 @@ typedef enum : NSUInteger {
TZOscillatoryAnimationToSmaller, TZOscillatoryAnimationToSmaller,
} TZOscillatoryAnimationType; } TZOscillatoryAnimationType;
@interface UIView (Layout) @interface UIView (TZLayout)
@property (nonatomic) CGFloat tz_left; ///< Shortcut for frame.origin.x. @property (nonatomic) CGFloat tz_left; ///< Shortcut for frame.origin.x.
@property (nonatomic) CGFloat tz_top; ///< Shortcut for frame.origin.y @property (nonatomic) CGFloat tz_top; ///< Shortcut for frame.origin.y
......
// //
// UIView+Layout.m // UIView+TZLayout.m
// TZImagePickerController
// //
// Created by 谭真 on 15/2/24. // Created by 谭真 on 15/2/24.
// Copyright © 2015年 谭真. All rights reserved. // Copyright © 2015年 谭真. All rights reserved.
// //
#import "UIView+Layout.h" #import "UIView+TZLayout.h"
@implementation UIView (Layout) @implementation UIView (TZLayout)
- (CGFloat)tz_left { - (CGFloat)tz_left {
return self.frame.origin.x; return self.frame.origin.x;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
// //
#import "TZTestCell.h" #import "TZTestCell.h"
#import "UIView+Layout.h" #import "UIView+TZLayout.h"
#import <Photos/Photos.h> #import <Photos/Photos.h>
#import "TZImagePickerController/TZImagePickerController.h" #import "TZImagePickerController/TZImagePickerController.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#import "ViewController.h" #import "ViewController.h"
#import "TZImagePickerController.h" #import "TZImagePickerController.h"
#import "UIView+Layout.h" #import "UIView+TZLayout.h"
#import "TZTestCell.h" #import "TZTestCell.h"
#import <Photos/Photos.h> #import <Photos/Photos.h>
#import "LxGridViewFlowLayout.h" #import "LxGridViewFlowLayout.h"
......
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