Commit bbbf7d07 authored by ztsyyb's avatar ztsyyb

修改UIView (Layout) --> UIView (TZLayout)

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