objective-extensions 0.1.1

objective-extensions 0.1.1

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布上次发布2016年2月

Lee Irvine 维护。



  • 作者
  • Lee Irvine

用法

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

#import "objective-extensions.h"

  NSDictionary *dict = @{@"hello": @"world"};
  [dict forEachKey:^(id key, id value) {

  }];

  NSObject *obj = [[NSObject alloc] init];

  [obj forEachProperty:^(NSString *key, NSObject *value) {

  }];


  UIColor *purple = [UIColor colorWithHex:@"FF00FF"];

要求

安装

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

pod "objective-extensions"

作者

Lee Irvine,[email protected]

许可证

objective-extensions 可在 MIT 许可证下使用。有关更多信息,请参阅 LICENSE 文件。