January 31, 2014
Best Buy and AT&T kinda suck

Turns out, if you buy a cell phone in the US and get it at BestBuy, AT&T doesn’t have to unlock it for you after it’s paid in full. I have a pile of phones (iPhones, Android, Windows Phone 8) that I purchased from BestBuy and paid off contracts in full. They(AT&T) refuse to unlock them because their systems don’t show them originating from AT&T, but instead Brightstar Inc.

I always bought devices from BestBuy because it was more convenient. Not anymore.

December 5, 2013
Reset iOS Simulator quick and easy 1-2-3!

If you do work in the iOS simulator and regularly reset it, you’ll appreciate this shortcut.

iOS simulator has a menu setting, “Reset Content and Settings…” which basically resets it to vanilla settings/apps/keychain/etc.

You can assign a hotkey/shortcut to this by

1. Navigate to system preferences,
2. Click Keyboard
3. Click shortcuts
4. Click app shortcuts and then + at the bottom. Give it the Simulator app (/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app)
5. Assign some unused hotkey and save.

August 7, 2013
iOS casting desktop to Chromecast / ChromeKey

Quick prototype casting iOS vnc style to Google Chromecast.
Very crude, renderer is like 4 lines of code (dropped frames, flickering, etc).

If there is enough interest I might create an app to stream Airplay from iOS(or Mac) to ChromeKey.

July 25, 2013
Native Emoji Keyboard in OS X 10.9 Mavericks

⌘+⌃+Spacebar (CMD+Control+Spacebar) opens a native emoji character palette in OS X Mavericks.

For bonus points you can create a custom keyboard shortcut to make it easier.

If you open the character palette with your cursor in a text field it will do direct input, otherwise its just a viewer.

1. Open System preferences and click Keyboard
2. Click on Shortcuts tab
3. In the left list click “App Shortcuts”
4. Click the + under the list of shortcuts
5. Choose “All Applications”, “Special Characters…” for menu title, and whatever shortcut you like better (I use ⌘+E).
6. EMOJIS

*Credit for the new hotkey @nitoTV

July 19, 2013
Show / Hide hidden files on OS X Mavericks

defaults write com.apple.Finder AppleShowAllFiles TRUE is what you will most likely google to show hidden files, but in 10.9 it must be com.apple.finder with a lowercase F

put this in your ~/.profile (~./bash_profile on 10.9)
# Show hidden files in Finder
alias showhidden=”defaults write com.apple.finder AppleShowAllFiles TRUE && killall Finder”
# Hide hidden files in Finder
alias hidehidden=”defaults write com.apple.finder AppleShowAllFiles FALSE && killall Finder”

Now in your terminal just type showhidden or hidehidden.

July 8, 2013
UIDevice and UIViewController orientations off

Once in a great while you will have rotational issues with UIViewController and on these rare occasions your view controllers interfaceOrientation property is WRONG(when comparing to the UIDevice/statusbar orientation).
This class method will cause the orientations from the device to be pushed down the responder chain.

[UIViewController attemptRotationToDeviceOrientation]

If you have this un fixable bug try this and see if it helps.

September 25, 2012
If you upgraded to Xcode 4.5 recently and your unit tests are causing build failures, you’re in luck.

Find that build target for the tests and wrap the framework search paths in quotes. Seems dumb, but I’m sure someone will find it helpful.

If you upgraded to Xcode 4.5 recently and your unit tests are causing build failures, you’re in luck.

Find that build target for the tests and wrap the framework search paths in quotes. Seems dumb, but I’m sure someone will find it helpful.

September 25, 2012
Cutting Corners Hurts Everybody

You get what you pay for.

10:16am  |   URL: http://tmblr.co/ZOXs1yU3PuyL
(View comments  
Filed under: cost profit 
April 28, 2012
Mr. Meowgi

March 10, 2012
Xcode distributed as stand alone app on MAS

If you notice some command line things stop building, or your package managers are failing, try (re)setting your Xcode path

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

Liked posts on Tumblr: More liked posts »