- CIDocumentEnhancer
- CIGaborGradients
- CIKeystoneCorrectionCombined
- CIKeystoneCorrectionHorizontal
- CIKeystoneCorrectionVertical
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/ppave/1555d7d95f74a563eb11c0dd649a3a52 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in application:didFinishLaunchingWithOptions: in app delegate | |
// before [window makeKeyAndVisible]; | |
UIImageView *splashView = [[UIImageView alloc] initWithFrame:CGRectMake(0,0, 320, 480)]; | |
splashView.image = [UIImage imageNamed:@"background.png"]; | |
// after [window makeKeyAndVisible]; | |
splashView = [[UIImageView alloc] initWithFrame:CGRectMake(0,0, 320, 480)]; | |
splashView.image = [UIImage imageNamed:@"Default.png"]; | |
[window addSubview:splashView]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// debounce-throttle.swift | |
// | |
// Created by Simon Ljungberg on 19/12/16. | |
// License: MIT | |
// | |
import Foundation | |
extension TimeInterval { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
public class Disposable { | |
private var isDisposed = false | |
private let _dispose: () -> Void | |
public func dispose() { | |
if !isDisposed { | |
_dispose() | |
isDisposed = true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
class Disposable { | |
let dispose: () -> Void | |
init(dispose: @escaping () -> Void) { self.dispose = dispose } | |
deinit { | |
dispose() | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
excluded: | |
- Carthage | |
- Pods | |
- DerivedData | |
disabled_rules: | |
- discarded_notification_center_observer | |
- notification_center_detachment | |
- orphaned_doc_comment | |
- todo |