Daily Snippet
Default behavior of every document-based application is to open a blank (new) document at startup - but sometimes one want to open the last used document:
- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender
{
NSDocumentController *docController = [NSDocumentController sharedDocumentController];
NSArray *docs = [docController recentDocumentURLs];
if ([docs count] > 0)
{
NSError *error = nil;
[docController openDocumentWithContentsOfURL:[docs objectAtIndex:0] display:YES error:&error];
if (!error)
{
return NO;
}
}
return YES;
}
Loading...
myTumblr update available!

This update adds rewritten tags and some improvements and bug fixes. You can now search for tags and easily delete them if needed…
myTumblr Website
myTumblr Screen shots
Download myTumblr (.app | Mac OS 10.5.8+ (Intel) | 3.4 MB)
Loading...
Loading...
“Life is a mirror and will reflect back to the thinker what he thinks into it.”
Loading...
Loading...
Loading...
Loading...
Creature Of Habit

defaults write com.apple.iTunes full-window -1
Loading...
Loading...
“Every second you spend thinking about someone else’s dreams you take time away from your own.”
Loading...
Loading...

(via)
Loading...
Loading...

(via)
Loading...







