SNPUtilities 2.0.0

SNPUtilities 2.0.0

Arash Z.Jahangiri 维护。



  • Arash Z. Jahangiri

SNPUtilities

CI Status Version License Platform

SNPUtilities 是一个基于 Swift 的 iOS 辅助库。我们的计划是在这个存储库中添加任何辅助函数、类、扩展。当前版本包含以下内容

  1. 与文件管理相关的任务,如清除临时文件。
  2. SNPError,我们在 Snapp 应用程序中需要的自定义错误生成器。这个 SNPError 用于 API 回调或作为函数输入参数的类型。
  3. SNPDecodable。
  4. 对 Bundle 的扩展。
  5. 对 Dictionary 的扩展。
  6. 对 Int 的扩展。
  7. 对 UIDevice 的扩展。
  8. 对 UIImage (Objective-C) 的 Category。
  9. Keychain 包装器。
  10. 对 NSString 的扩展。
  11. 对 UIViewController 的扩展。
  12. String 扩展,用于将数字转换为波斯语。
  13. String 扩展,用于处理价格格式数字。

入门

  1. 添加 Podfile。在终端中,导航到您的 Xcode 项目目录。通过运行以下命令创建 Podfile。
$ pod init
  1. 编辑您的 Podfile。在 Podfile 中添加以下内容,位置在您的项目目标下方。
target 'YourAppTarget' do
platform :ios, '9.0'
pod 'SNPUtilities'
end
  1. 安装 SNPUtilities。导航到您的 Xcode 项目目录并运行以下命令。
$ pod install

作者

Arash Z. Jahangiri,[email protected]

问题

如果您对项目有任何问题,请通过电子邮件联系:[email protected]

欢迎Pull requests!

许可

SNPUtilities遵循MIT许可。请参阅LICENSE文件获取更多信息。