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
commit 82ad4f93ebf956ab4e06a746bb408c536f0544cd | |
Merge: 85ba3f7 a5d6b82 | |
Author: Oliver Drobnik <[email protected]> | |
Date: Wed Jan 23 16:10:30 2013 +0100 | |
Merge branch 'master' of github.com:Cocoanetics/DTFoundation | |
commit a5d6b825e721a2d26dca70eadbffd4659d5fe604 | |
Merge: f43764c c6cdd6e | |
Author: gugmaster <[email protected]> |
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
Pod::Spec.new do |spec| | |
spec.name = 'DTFoundation' | |
spec.version = '1.0.0' | |
spec.summary = "Standard toolset classes and categories." | |
spec.homepage = "https://github.com/Cocoanetics/DTFoundation" | |
spec.author = { "Oliver Drobnik" => "[email protected]" } | |
spec.source = { :git => "https://github.com/Cocoanetics/DTFoundation.git", :tag => spec.version.to_s } | |
spec.license = 'BSD' | |
spec.requires_arc = true |
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
Bug Report: Tweetbot fails to sign in for retweet from other account after restore from iCloud | |
Steps to Reproduce: | |
1) Have Tweetbot set up for multiple Twitter accounts | |
2) backup to iCloud | |
3) reset device and restore from iCloud | |
4) open Tweetbot, when prompted re-authorize first account | |
5) in timeline of first account retweet something via the second account | |
6) Tweetbot wants to re-authorize the second account |
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
- (void)goToProductListWithEvent:(NSEvent *)event | |
{ | |
self.selectedViewController = _productListViewController; | |
// make the search bar first responder | |
NSWindow *window = self.view.window; | |
[window makeFirstResponder:_productListViewController.searchField]; | |
// set the keyDown character into the search field | |
_productListViewController.searchField.stringValue = [event characters]; |
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
NSURL *a = [NSURL URLWithString:@"http://google.com/oliver.html"]; | |
NSURL *b = [NSURL URLWithString:@"oliver.html" relativeToURL:[NSURL URLWithString:@"http://google.com"]]; | |
if([a isEqual:b]) { | |
NSLog(@"Same"); // Not run | |
} | |
if([[a absoluteURL] isEqual:[b absoluteURL]]) { | |
NSLog(@"Same"); // Still not run | |
} |
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
#pragma mark - Undo Support | |
- (void)addUndoObservers | |
{ | |
for (CatalogPage *onePage in _catalog.pages) | |
{ | |
NSArray *undoableHotZoneKeys = [CatalogPageHotZone undoableKeys]; | |
for (CatalogPageHotZone *oneHotZone in onePage.hotZones) | |
{ |
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
// | |
// NSWindow+DTViewControllerPresenting.m | |
// DTFoundation | |
// | |
// Created by Oliver Drobnik on 10/1/12. | |
// Copyright (c) 2012 Cocoanetics. All rights reserved. | |
// | |
#import "objc/runtime.h" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>CFBundleDevelopmentRegion</key> | |
<string>en</string> | |
<key>CFBundleDocumentTypes</key> | |
<array> | |
<dict> | |
<key>CFBundleTypeExtensions</key> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>CFBundleDevelopmentRegion</key> | |
<string>en</string> | |
<key>CFBundleDocumentTypes</key> | |
<array> | |
<dict> | |
<key>CFBundleTypeExtensions</key> |
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
// | |
// DTTextSelectionRect.h | |
// DTRichTextEditor | |
// | |
// Created by Oliver Drobnik on 9/11/12. | |
// Copyright (c) 2012 Cocoanetics. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |