Skip to content

Instantly share code, notes, and snippets.

View boominadhaprakash's full-sized avatar

Boominadha Prakash boominadhaprakash

  • Sonata Software Ltd
  • Bangalore
View GitHub Profile
@ranmyfriend
ranmyfriend / 3rdPartyTools.txt
Created February 13, 2019 06:21
3rd Party Dependency Tool commands
3rd Party Dependency Tool commands
Cocoapod:
1)Pod initialization
Command: pod init
2)Pod installation or updation
Command: pod install or pod update
Carthage:
1)Carthage initialization
@ranmyfriend
ranmyfriend / MyError.swift
Last active June 1, 2018 09:47
This MyError Helper can help us to build a concrete Errors in Swift
/* Error Handling in Swift*/
struct MyError: Error {
private let possibleErrors: [Int:String] = {
return [
200: "Success",
403: "Forbidden",
404: "Not Found",
500: "Internal Server Error",
-999: "Make use of this Error code with your own usage"]