The shortcuts has changed a bit in each Xcode. In Xcode 4.0 and up the shortcut for toggling between your main and header files are, the .h and .m files: Ctrl + Cmd + [arrow up or down]
Tag: Mac
VirtualBox Missing Mouse
When running Oracle VM VirtualBox it happens the mouse disappear. To fix this Select Disable Mouse Integration from VirtualBox’s Machine menu. Next, click within the guest OS to capture the mouse.
Xcode Could Not Launch App No Such File Or Directory Error
Developing in Xcode can give a lot of different errors. Here’s yet another one: Could not launch app – No such file or directory. Then a path to Users/App/Library/Developer/Xcode/DerivedData/etc… Running into this problem on multiple occasions there have been two solutions depending on the situation. First issue is right during publishing and the scheme is set
Xcode Use Image On UINavigationbar
You can set an image to the UINavigationbar in Xcode for iPhone like this: UINavigationBar *navBar = [[self navigationController] navigationBar]; UIImage *backgroundImage = [UIImage imageNamed:@”nav-bar-background-normal”]; [navBar setBackgroundImage:backgroundImage forBarMetrics:UIBarMetricsDefault]; Works from iOS 5 and up.
Synology Create a Shared Folder
Creating shared folder on the Synology Disk Station: Log in to your Synology Station either via web or the Synology Assistants. Open File Explorer and press “Create Shared Folder” on the top left of the window. For more information take a look at the Synology wiki.
iTunes Add More Territories
When publishing your iPhone/iPad app you can select which countries/territories. You can add or remove territories at https://itunesconnect.apple.com. Log in and click “Manage Your Applications”. Select the app and locate “Rights and Pricing” in the right menu. The top blue button. Here you can set both the availability date, price and more. Bottom view you can select the territories it
Netflix Login At The Same Time
You can login as many times as you want on all different devices. The limit is on how many devices may play video at the same time. This is testes in Scandinavia. You may play on the same account on two devices at ones. Otherwise you will run into this error: Whoops, something went wrong… Netflix
Set The Text Of A Back Button On A UINavigationBar
To set the text of a back button on a UINavigationBar you can set it like this for you iPhone app: UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithTitle: @”Back Button Text” style: UIBarButtonItemStyleBordered target: nil action: nil]; [self.navigationItem setBackBarButtonItem: backButton]; [backButton release]; Further information
Download YouTube Video
Downloading videos from YouTube has becoming more difficult over the years. There use to be several good extensions for Chrome on https://chrome.google.com/webstore which easily added a download drop-down below the YouTube clip. Due to safety and other things these extensions is considered malicious and cannot be approved on Chrome Extensions store. “We’re constantly looking out for ways to make
Xcode background-568h@2x.png Not Working
background-568h@2x.png does not work! This is intended, sadly. It’s worth noting that [UIImage imageNamed:@”background.png”] will still only load either “background.png” or “background@2x.png”, it will not load “background-568h@2x.png” if it exists. To get a background use a proper size for iPhone 5, the infamous 1136×640 you have to change is programmatically. Do this at runtime: CGRect screenBounds