Skip to content

Instantly share code, notes, and snippets.

//
// This example shows a problem with swift compile times
//
// After the most recent update of PaintCode to 2.4.1, the compiletime for the generated StyleKit file exploded from
// few seconds to a few minutes.
//
// It seems, that they changed the generated code for creating a CGRect from using `CGRectMake` to `CGRect()` which seems to cause the problem.
//
// Below is a reduced example that showcases the problem.
//
@iv-mexx
iv-mexx / retry_authentication.swift
Created October 1, 2015 14:30
Retry Request after Authentication
import UIKit
import ReactiveCocoa
import XCPlayground
XCPSetExecutionShouldContinueIndefinitely(true)
var authenticated = false
var authenticationAttempts = 0
// The request you want to perform
#
# Uncrustify Configuration File
# File Created With UncrustifyX 0.4.3 (252)
#
# Alignment
# ---------
## Alignment
//
// AppDelegate.m
// UncrustifyBugDemo
//
#import "AppDelegate.h"
@interface AppDelegate ()
@end
@iv-mexx
iv-mexx / keybase.io
Created October 3, 2014 15:09
keybase.io verification
### Keybase proof
I hereby claim:
* I am iv-mexx on github.
* I am mexx (https://keybase.io/mexx) on keybase.
* I have a public key whose fingerprint is 6D2A 35AA 8897 59CF FC66 D92B 52F0 830E BE71 61F3
To claim this, I am signing this object: