FrameAccessor

https://github.com/AlexDenisov/FrameAccessor

Manual Install(手动安装)

All you need to do is drop FrameAccessor files into your project, and add #include "FrameAccessor.h" to the top of files that will use it.

你需要做的就是把文件夹FrameAccessor拖到你的工程当中,然后引入头文件FrameAccessor.h即可.

Example Usage

以前你要这么做才能设置frame值,看起来真傻缺!!

CGRect newFrame = view.frame;
newFrame.origin.x = 15.;
newFrame.size.width = 167.;
view.frame = newFrame;

现在你只需要这样子做就行了.

view.x = 15.;
view.width = 167.;

一切尽在不言中......

最新文章

  1. proxool+hsqldb数据库
  2. JQuery 判断浏览器及其版本
  3. UIViewController的edgesForExtendedLayout属性
  4. HDU 3342 Legal or Not (图是否有环)
  5. C# 数据结构 线性表(顺序表 链表 IList 数组)
  6. UIImageView之我的动画为什么停了?UIImageView, highLighted,animationImages
  7. openssl 摘要和签名验证指令dgst使用详解
  8. Server.MapPath() 解析
  9. c/c++ 动态申请数组
  10. thinkphp 5.0 命名空间
  11. 处理 Vue 单页面应用 SEO 的另一种思路
  12. poj 2720 Last Digits
  13. oracle case when及decode的用法
  14. 【BZOJ4554】游戏(二分图匹配,网络流)
  15. 20175307《Java程序设计》第5周学习总结
  16. JAVA四则运算字符串解释器
  17. 百度基础架构组-实习生面试(2016.08 java后台开发)
  18. 牛腩学Kotlin做Android应用
  19. CStringArray error C2248: 'CObject::CObject' : cannot access private member declared in class
  20. nexus 私服跑一跑流程

热门文章

  1. 【51nod】1655 染色问题
  2. ubuntu编译安装postgresql
  3. JAVA 并发编程-多个线程之间共享数据
  4. ecshop,大商创后台设置增加字段方法
  5. Web安全漏洞深入分析及其安全编码
  6. poj3349(hash table)
  7. 【差分约束系统/SPFA】POJ3169-Layout
  8. chinese hacker-----WriteUp
  9. bzoj 3956: Count
  10. 洛谷OJ P2356 弹珠游戏 维护前缀和