# UIViewExt-Swift **Repository Path**: liufile/UIViewExt-Swift ## Basic Information - **Project Name**: UIViewExt-Swift - **Description**: UIViewExt的Swift版本 - **Primary Language**: Swift - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-04-21 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # UIViewExt-Swift UIViewExt的Swift版本 使用与OC版的UIViewExt一样简单: ``` self.x == self.frame.origin.x self.y == self.frame.origin.y self.width == self.frame.size.width self.height == self.frame.size.height self.top self.bottom self.left self.right ... ``` 加入工程方法: ``` 1.直接下载UIViewExt.swift放入工程 2.使用CocoaPods管理依赖,在Podfile中加入 pod 'UIViewExt-Swift' 任意swift文件中import UIViewExt_Swift即可 ``` 方法暂时没有扩展,有什么想法给我留言吧:)