Skip to content

Instantly share code, notes, and snippets.

daoseng33 / StopJumpingTableViewOnInsertRows.swift
Created Jul 11, 2018 — forked from joshdholtz/StopJumpingTableViewOnInsertRows.swift
Used when loading more data into UITableView for a smooth "infinite scroll" feel
View StopJumpingTableViewOnInsertRows.swift
// I dont want my table jumping/animation when appending new rows
// for an infinite scroll feel
// Some of this might not be needed but it works
// TODO: Possibly garbage
extension UITableView {
func reloadDataSmoothly() {
daoseng33 /
Created Dec 9, 2017 — forked from chrisjlee/
Delete feature branch with prefix locally then remove all remote feature branches
# Stole from:
git branch -D $(printf "%s\n" $(git branch) | grep 'feature/')
# Or this will work too to remove all remote branches:
git branch -r | awk -F/ '/\/feature/{print $2}' | xargs -I {} git push origin :{}
# Prune all origin branches
git remote prune origin