This page provides documentation for the DryUtilities library. DryUtilities is a set of utility classes and functions that can be used to enhance your iOS application development process.

Getting Started

To get started with DryUtilities, follow these steps:

  1. Install DryUtilities via Cocoapods.
  2. Import the DryUtilities module in your Swift file.
  3. You are now ready to use the various utility functions and classes provided by DryUtilities in your project.


Feature 1: JSON Serialization

DryUtilities provides a set of utility functions and classes for effortless JSON serialization and deserialization.

Feature 2: Font Utilities

FontUtils class in DryUtilities offers various utility functions to manage fonts in your iOS application.

Feature 3: Date Utilities

DryUtilities simplifies date operations by providing a set of utility functions to handle common date manipulations.

Feature 4: Networking Helpers

NetworkingUtils class in DryUtilities offers various helper functions to handle common networking tasks such as making API requests, handling errors, and parsing responses.

Usage Guide

Usage 1: JSON Serialization

To serialize an object to JSON using DryUtilities:

let myObject: [String: Any] = ["name": "John", "age": 25]
let json = JSONUtils.jsonString(from: myObject)

Usage 2: Font Utilities

To set a custom font using FontUtils:

let customFont = FontUtils.customFont(name: "Arial-BoldMT", size: 18.0)
myLabel.font = customFont

Usage 3: Date Utilities

To get the current date using DryUtilities:

let currentDate = DateUtils.currentDate()

Usage 4: Networking Helpers

To make a GET request using NetworkingUtils:

NetworkingUtils.makeGETRequest(url: "https://api.example.com/data") { response, error in
  if let error = error {
    print("An error occurred: \(error.localizedDescription)")
  } else if let response = response {
    print("Response received: \(response)")


DryUtilities is a powerful library that provides valuable utility functions and classes to simplify your iOS application development. Whether you need JSON serialization, font management, date operations, or networking helpers, DryUtilities has got you covered.