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
// Performance hit taken with this approach | |
@testable import TestProduct | |
// Best way stays adding the files you want to test to the test target... |
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
defaults write com.apple.dt.Xcode ShowBuildOperationDuration -bool YES |
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
private extension String { | |
var urlEscaped: String? { | |
return self.addingPercentEncoding(withAllowedCharacters: .urlHostAllowed) | |
} | |
} |
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
defaults write com.apple.Finder AppleShowAllFiles YES | |
killall Finder |
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/Foundation.h> | |
@interface NSString (Mod97Check) | |
- (BOOL)passesMod97Check; // Returns result of mod 97 checking algorithm. Might be used to check IBAN. | |
// Expects string to contain digits and/or upper-/lowercase letters; space and all the rest symbols are not acceptable. | |
@end |