🎯
Focusing
Just a simple iOS developer, who wants to become CEO one day
Pinned Loading
-
iOSMegnetometer
iOSMegnetometer PublicThis iOS package provides all functionality of magnetometer.
Swift 1
-
-
Format Double or Float values withou...
Format Double or Float values without rounded. Use this method and set maximum decimals according to your need. 1func IWADoubleFormat(_ a: Double, max: Int) -> Double {
2let stringArr = String(a).split(separator: ".")
3let decimals = Array(stringArr[1])
4var string = "\(stringArr[0])."
5 -
UIColor Properties for Hex into RGB
UIColor Properties for Hex into RGB 1//
2// UIColor+Extensions.swift
3// AnimationSeries
4//
5// Created by Mihir vyas on 27/06/23.
-
iOS Status bar color change working ...
iOS Status bar color change working with iOS13+. Call this function in viewDidLoad() method 1func SetupStatusBar(color:String) {
2if #available(iOS 13.0, *) {
3let app = UIApplication.shared
4let statusBarHeight: CGFloat = app.statusBarFrame.size.height
5 -
UiImage Extension for different imag...
UiImage Extension for different image conversions 1extension UIImage {
23/// Convert UIImage into Black & White
4var noir: UIImage? {
5let context = CIContext(options: nil)
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.