Skip to content

Instantly share code, notes, and snippets.

Avatar
🛰️
OroraTech

Thomas thomasgruebler

🛰️
OroraTech
View GitHub Profile
@thomasgruebler
thomasgruebler / .gitignore
Created Jun 17, 2015 — forked from kogakure/.gitignore
More files to ignore with pdflatex use
View .gitignore
*.aux
*.glo
*.idx
*.log
*.toc
*.ist
*.acn
*.acr
*.alg
*.bbl
@thomasgruebler
thomasgruebler / DismissSegue.swift
Created Jun 14, 2015
Create Storyboard "dismiss" Segue
View DismissSegue.swift
/* 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)