Skip to content

Instantly share code, notes, and snippets.

View noorulain17's full-sized avatar
📱
mobile developer

Noor ul Ain Ali noorulain17

📱
mobile developer
View GitHub Profile
@noorulain17
noorulain17 / SwiftDocumentation.md
Last active March 18, 2021 08:26
swift-documentation

Sample class for SwiftDocumentation :-

Created by Noor ul Ain Ali on 13/02/2021.


Variables

Adding code with Summary and Discussion

area

alias gb='git branch'
alias gbd='git branch -D'
alias gbr='git branch -m'
alias grb='git branch -r'
alias gba='git branch -all'
alias gbru='git remote update origin --prune'
alias gf='git fetch'
alias gp='git pull'
alias gpf='git push -f'
alias gb='git branch'
alias gbd='git branch -D'
alias gbr='git branch -m'
alias grb='git branch -r'
alias gba='git branch -all'
alias gbru='git remote update origin --prune'
alias gf='git fetch'
alias gp='git pull'
alias gpf='git push -f'
@noorulain17
noorulain17 / WKCookieWebView.swift
Created July 9, 2019 13:11 — forked from novemberfiveco-gists/WKCookieWebView.swift
A WKWebView subclass that passes cookies after a 302 redirect response.
//
// WKCookieWebView.swift
//
// Created by Jens Reynders on 30/03/2018.
// Copyright (c) 2018 November Five
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
import Foundation
import UIKit
// Usage Examples
let shadowColor = Color.shadow.value
let shadowColorWithAlpha = Color.shadow.withAlpha(0.5)
let customColorWithAlpha = Color.custom(hexString: "#123edd", alpha: 0.25).value
enum Color {