Skip to content

Instantly share code, notes, and snippets.

View thomasgruebler's full-sized avatar
🛰️
OroraTech

Thomas thomasgruebler

🛰️
OroraTech
View GitHub Profile
@thomasgruebler
thomasgruebler / .gitignore
Created June 17, 2015 08:07 — forked from kogakure/.gitignore
More files to ignore with pdflatex use
*.aux
*.glo
*.idx
*.log
*.toc
*.ist
*.acn
*.acr
*.alg
*.bbl
@thomasgruebler
thomasgruebler / DismissSegue.swift
Created June 14, 2015 19:26
Create Storyboard "dismiss" Segue
/* Original from: http://jeffreysambells.com/2014/02/19/dismissing-a-modal-view-using-a-storyboard-segue
Now updated to swift
*/
import UIKit
class DismissSegue : UIStoryboardSegue {
override func perform() {
let sourceViewController = self.sourceViewController as! UIViewController
sourceViewController.presentingViewController!.dismissViewControllerAnimated(true, completion: nil)