Trackpad gesture to switch to header/source

This is the correct and best answer. It works. It is posted by “@Buyin” above. Another individual commented that it doesn’t work. He is wrong. It works, I’ve confirmed it. It restores the three finger vertical swipe to switch between interface and implementation files (.h and .m) in xCode in Lion. From your terminal: Change … Read more

OS X Lion, Attempting Nokogiri install – libxml2 is missing

In Mavericks, installing the libraries with Homebrew and setting NOKOGIRI_USE_SYSTEM_LIBRARIES=1 before installing the gem did the trick for me. Summarising: If previously installed, uninstall the gem: $ gem uninstall nokogiri Use Homebrew to install libxml2, libxslt and libiconv: $ brew install libxml2 libxslt libiconv Install the gem specifying the paths to the libraries to be … Read more

Displaying a Cocoa Window as a Sheet in Xcode 4 (OSX 10.7.2) with ARC

Tutorial for Xcode 4 Create new project and add the following to AppDelegate.h and AppDelegate.m. AppDelegate.h #import <Cocoa/Cocoa.h> @interface AppDelegate : NSObject <NSApplicationDelegate> { IBOutlet NSPanel *theSheet; } @property (assign) IBOutlet NSWindow *window; @end AppDelegate.m #import “AppDelegate.h” @implementation AppDelegate @synthesize window = _window; – (IBAction) showTheSheet:(id)sender { [NSApp beginSheet:theSheet modalForWindow:(NSWindow *)_window modalDelegate:self didEndSelector:nil contextInfo:nil]; } … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)