Skip to content

A collection of useful methods that we need in almost all projects

License

Notifications You must be signed in to change notification settings

yipalber/AppUtility

 
 

Repository files navigation

AppUtility

AppUtility is a library which contains small code snippets that we need in almost every project like converting color hex to rgb, checking internet connectivity, etc.

#Installation Just drag the folder "AppUtility" with the source files into your project.

#Usage

//Using direct RGB value no need to divide every time with 255.0
UIColor.init(redValue: 199, greenValue: 165, blueValue: 247)

//Getting color with hex value
UIColor.init(hex: 0xffffff)

//Display alert view
AUAlertMessage().showAlertView("Title", message: "Message", cancelButtonTitle: "Cancel")

#Contribution Feel free to add code which you think is necessary in almost every project.

#License AppUtility is available under the MIT License.

About

A collection of useful methods that we need in almost all projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%