SMW 0.1.0

SMW 0.1.0

测试已测试
语言语言 Obj-CObjective C
许可协议 MIT
发布日期最后发布日期2015年1月

Sam Meech-Ward 维护。



SMW 0.1.0

  • Sam Meech-Ward

一些在某些时候有用的全局函数。我还想练习制作 Cocoapod。

用法

要运行示例项目,先克隆仓库,然后从 Example 目录运行 pod install

#import <SMW/SMW.h>

// Like NSLog but better
SMWLog(args...)

// Check if the device is an ipad
BOOL deviceIsiPad();

// Remove any implicit animations
// Example: Change the frame of a CALayer without it animating
void unAnimateBlock(void (^block)(void));

// Log a CGRect
void printFrame(CGRect frame);

要求

安装

SMW 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中:

pod "SMW"

作者

Sam Meech-Ward, [邮箱地址保护]

许可协议

SMW 可在 MIT 许可协议下使用。有关更多信息,请参阅 LICENSE 文件。