This file contains hidden or 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
(lldb) po [self.contentView _autolayoutTrace] | |
UIWindow:0x7bb6bee0 | |
| UIView:0x7ae41990 | |
| | MainLayerView:0x7b843e20 | |
| | | FadingView:0x7ae6e2e0 | |
| | | | UIView:0x7ae5f1d0 | |
| | | | | UIImageView:0x7ae65810 | |
| | | | | CatalinaAugustImages.bund...:0x7ae60130 | |
| | | | | UIView:0x7ae5f870 |
This file contains hidden or 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
#Take the last commit message, show only the message, remove the hash, send as a note to harvest | |
git log -1 --pretty=oneline --abbrev-commit|cut -c9-|xargs hcl note |
This file contains hidden or 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
diff --git a/Catalina/Podfile b/Catalina/Podfile | |
index 0e007db..8ee0f49 100644 | |
--- a/Catalina/Podfile | |
+++ b/Catalina/Podfile | |
@@ -16,7 +16,7 @@ pod 'ReactiveViewModel' | |
pod 'libextobjc' | |
pod 'InnerBand' | |
pod 'SkyLab' | |
-pod 'SDWebImage', '< 3.7' | |
+pod 'SDWebImage' |
This file contains hidden or 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
diff --git a/AetherCone/AetherCone/TuneKey.swift b/AetherCone/AetherCone/TuneKey.swift | |
index 7332d8d..62218c2 100644 | |
--- a/AetherCone/AetherCone/TuneKey.swift | |
+++ b/AetherCone/AetherCone/TuneKey.swift | |
@@ -22,7 +22,8 @@ enum TuneKey{ | |
case RdioEmptyKey | |
init(_ key:String){ | |
- switch key.substringToIndex(1){ | |
+ var firstLetter : String = key.bridgeToObjectiveC().substringWithRange(NSMakeRange(0,1)) |
This file contains hidden or 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 Cocoa | |
class StringHolder { | |
var a : String? | |
var b : String? | |
var c : String? | |
func naiveDescription() -> String { | |
return a! + b! + c! |
This file contains hidden or 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
[[headerView.clearSearchButton rac_signalForControlEvents:UIControlEventTouchUpInside] subscribeNext:^(id x) { | |
@strongify(headerView) | |
[headerView.textField setText:@""]; | |
headerView.clearSearchButton.hidden = YES; | |
headerView.rightButton.hidden = YES; | |
}]; |
This file contains hidden or 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
[[(id)self.tableView.delegate rac_signalForSelector:@selector(scrollViewDidScroll:)] subscribeNext:^(RACTuple *tuple) { | |
UITableView *tableView = [[tuple allObjects] firstObject]; | |
if (tableView.contentOffset.y < -90) { | |
@strongify(self) | |
[self.navigationController dismissViewControllerAnimated:YES completion:nil]; | |
} | |
}]; |
This file contains hidden or 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
TuneObjectCell |
This file contains hidden or 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
@weakify(headerView) | |
RAC(headerView.textField, font) = [headerView.textField.rac_textSignal map:^id(NSString * s) | |
{ | |
@strongify(headerView) | |
UIFont *thin = [UIFont fontWithName:FONT_THIN size:headerView.textField.font.pointSize]; | |
UIFont *normal = [UIFont fontWithName:FONT_LIGHT size:headerView.textField.font.pointSize]; | |
return [s length] == 0 ? thin : normal; | |
}]; |
This file contains hidden or 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
RAC(self.rightButton, hidden) = [self.searchTextView.rac_textSignal map:^id(NSString *value) { | |
return [NSNumber numberWithBool:[value length] == 0]; | |
}]; |