Skip to content

snapp-cab/SNPUtilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNPUtilities

CI Status Version License Platform

SNPUtilities is a Swift-based helper library for iOS. Our plan is to add any helper function, class, Extension in this repo. Current version contains:

  1. File manager related tasks such as clear temp files.
  2. SNPError, a custom error maker we need in our application, Snapp. This SNPError is used in API callbacks or as input parameter type in a function.
  3. SNPDecodable.
  4. Extension to Bundle.
  5. Extension to Dictionary.
  6. Extension to Int.
  7. Extension to UIDevice.
  8. Category for UIImage(Objective-C).
  9. Keychain wrapper.
  10. Extension to NSString.
  11. Extension to UIViewController.
  12. Extention to String for converting digits to persian.
  13. Extention to String for handling price format numbers.

Getting Started

  1. Add a Podfile. In the terminal, navigate to your Xcode project directory. Create a Podfile by running the following command.
$ pod init
  1. Edit your Podfile. Add the following in your Podfile under your project's target.
target 'YourAppTarget' do
platform :ios, '9.0'
pod 'SNPUtilities'
end
  1. Install SNPUtilities. Navigate to your Xcode project directory and run the following command.
$ pod install

Author

Arash Z. Jahangiri, [email protected]

Questions

If you have any questions about the project, please contact via email: [email protected]

Pull requests are welcome!

License

SNPUtilities is available under the MIT license. See the LICENSE file for more info.