Skip to content

Instantly share code, notes, and snippets.

View MuhammadAhmedBaig's full-sized avatar

Muhammad Ahmed Baig MuhammadAhmedBaig

  • Airlift Technologies
  • Karachi, Pakistan
View GitHub Profile
@lpbas
lpbas / FadeView.swift
Last active June 9, 2023 17:06
Fade a UIView in iOS using Gradient (Swift Extension)
//
// This program is free software. It comes without any warranty, to
// the extent permitted by applicable law. You can redistribute it
// and/or modify it under the terms of the Do What The Fuck You Want
// To Public License, Version 2, as published by Sam Hocevar. See
//
// http://sam.zoy.org/wtfpl/COPYING
//
// for more details.
//
@alexisakers
alexisakers / Array+Suffix.swift
Created November 17, 2016 11:50
Remove trailing elements in a Swift array
/*
* ==---------------------------------------------------------------------------------==
*
* File : Array+Suffix.swift
* Project : Array+Suffix
* Author : ALEXIS AUBRY RADANOVIC
*
* License : The MIT License (MIT)
*
* ==---------------------------------------------------------------------------------==