iOS slide in menu

Slide in Menu as an UIViewController Extension

  We often need to add a slide in menu to a UIViewController. It’s no easy task in Interface Builder. Here’s how to make one in code… Slide in Menu as an UIViewController Extension   First create a new file called MenuMgr.swift in your project. Declare the class… (link to the code at the bottom) Read more about Slide in Menu as an UIViewController Extension[…]

app development costs

App Development Cost – What Does it Cost?

The all important question everyone has to ask is: how much will it cost? App development cost varies based on several factors and can range widely. App Development Cost Of course the requirements of the app drive the app development cost. However, that’s not very clear since some requirements are easy/cheap and some are very Read more about App Development Cost – What Does it Cost?[…]

xcode 7 - invalid bundle

Xcode 7 Invalid Bundle – iPad Multitasking Required Orientations

I started getting the Xcode 7 Invalid Bundle error: ERROR ITMS-90474: “Bundle Invalid. iPad Multitasking support requires there orientations:’UIInterfaceOrientationPortrait,UIIinterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight’. Found ‘UIInterfaceOrientationPortrait’ in bundle. Xcode 7 Invalid Bundle Fortunately the fix is easy: Select your project Select the General Tab Select your Target Check the box titled “Requires full screen” Done. More: xcode submit invalid bundle ipad Read more about Xcode 7 Invalid Bundle – iPad Multitasking Required Orientations[…]

iOS 9 Hidden Features: Settings Search, Selfie Folder, Home Sharing for Music, Go Back to App, and More – Mac Rumors

From MacRumors.com… There are quite a few major changes in iOS 9, like split-screen multitasking for the iPad, improvements to search and Siri, under-the-hood performance boosts, and revamped apps, but there are also dozens if not hundreds of lesser-known tweaks and refinements that make the iOS 9 experience better than ever before. Weve had a Read more about iOS 9 Hidden Features: Settings Search, Selfie Folder, Home Sharing for Music, Go Back to App, and More – Mac Rumors[…]

Mac Rumors: ‘Hey Siri’ Event Roundup: iPhone 6s, iPad Pro, New Apple TV and More

  There were several new big announcements at the apple ‘hey siri’ events. iPhone 6s with 3D touch, tvOS for the new Apple TV and the large iPad Pro were the highlights… Hey Siri Source: Mac Rumors: Apple Mac iOS Rumors and News You Care About Apple was on stage at the Bill Graham Civic Read more about Mac Rumors: ‘Hey Siri’ Event Roundup: iPhone 6s, iPad Pro, New Apple TV and More[…]

Mac Rumors: ‘iPhone 7’ Thickness Likely to Approach iPod Touch

KGI Securities analyst Ming-Chi Kuo has issued a new report that suggests next year’s “iPhone 7” could be Apple’s thinnest smartphone yet, with a thickness of somewhere between 6.0mm and 6.5mm, which Kuo mentions is a near similar measurement of the current iPod touch’s 6.1mm. As a comparison, the current model of the iPhone 6 Read more about Mac Rumors: ‘iPhone 7’ Thickness Likely to Approach iPod Touch[…]

libGPUSupportMercury.dylib iOS Crash

libGPUSupportMercury.dylib iOS Crash

I’ve been seeing the libGPUSupportMercury.dylib iOS Crash and having a tough time nailing it down. I still can’t reproduce it predictably. However, I believe I have enough to avoid it. libGPUSupportMercury.dylib iOS Crash For me it’s happening in the initWithFrame: call for MKMapView in the background. The app monitors for significant location changes. When it’s Read more about libGPUSupportMercury.dylib iOS Crash[…]

significant location change

Test Significant Location Change – iOS Simulator

Testing location functionality can be tough. Significant location change updates especially so. Here’s how to test SLC in the simulator… Test Significant Location Change You may need to reset the simulator  (iOS Simulator>Reset Contents and Settings…) to test Significant Location Change. These steps assume you have setup your app to use the Location Manager to monitor Read more about Test Significant Location Change – iOS Simulator[…]

gripper calculator

Invanko Super Gripper App – Resistance Calculator

Drew Baye had a great idea for an app to be able to calculate the resistance on an Ivanko Super Gripper. He had the data and I created a simple app: Invanko Super Gripper App Invanko Super Gripper App       The calculator allows you to quickly and easily determine the spring configuration required for Read more about Invanko Super Gripper App – Resistance Calculator[…]

create new account

Messages Not Syncing in Yosemite OSX MacBookPro – FIX!

So when Mavericks came out, Messages synced across my iOS devices and OS X/MacBook. Then it stopped. I long waited for the day when Yosemite and iOS 8 would come out and fix it all. No dice. I couldn’t even send to other Messages users. With iOS 8 and Yosemite I could now send texts to Read more about Messages Not Syncing in Yosemite OSX MacBookPro – FIX![…]

Xcode 6 Auto-Increment Build Number Script

Xcode 6 Auto-Increment Build Number Script

I recently started using Parse.com’ crash reporting and wanted to pay better attention to my build numbers in Xcode.   I found this post on stackoverflow about it and used the solution. It works great and I certainly want to give credit where it’s due.     Xcode 6 Auto-Increment Build Number     Steps: Read more about Xcode 6 Auto-Increment Build Number Script[…]

simulate slow network

iOS/iPhone Simulator – Simulate Slow Network Speeds

I needed to simulate slow network speeds for the iOS simulator. There’s a pretty easy provided way to do it. Click on Xcode>Open Developer Tool>More Developer Tools… This will take you to an Apple website to download more tools (or just click here).   Pick “Hardware IO Tools for Xcode” and download it. The dmg Read more about iOS/iPhone Simulator – Simulate Slow Network Speeds[…]

NSMergeConflict CoreData Crash in iOS 7

I kept getting an error like this… NSCocoaErrorDomain Code=133020 “The operation couldn’t be completed. (Cocoa error 133020.)” UserInfo=0x1115a6d0 {conflictList=( “NSMergeConflict (0x1115a670) for NSManagedObject   I chased the bug for a while looking at all types of threading issues. In the end, it was just that my background context didn’t have a merge policy set on it… Read more about NSMergeConflict CoreData Crash in iOS 7[…]

Only the 5.5-Inch iPhone 6 May Offer 128GB Models – Mac Rumors

In addition to a larger display, the iPhone 6 is expected to launch this September with a thinner design, a faster processor, and an improved camera. The larger 5.5-inch iPhone 6 is also rumored to exclusively have optical image stabilization to also differentiate it from the smaller iPhone 6, which will instead have an advanced Read more about Only the 5.5-Inch iPhone 6 May Offer 128GB Models – Mac Rumors[…]

Disable ARC Compilation in Xcode for an iOS/Objective-C File

In some cases, you want to disable ARC in your project just for one or some subset of files. Usually this is the case, for me, that I’m using a file from an online repository that I don’t want to change for various reasons. The way to disable ARC for that file is in the Read more about Disable ARC Compilation in Xcode for an iOS/Objective-C File[…]

Featured on ContractIQ

Brainwash Inc. is featured today on ContractIQ. They are showcasing the ITGO app developed for interval training using the user’s fast/slow playlists for the various intervals. ITGO utilizes a very custom interface with dials and nobs. Also, the interval timing is displayed with a circle of on/off LED-like images. The playlists are created by the Read more about Featured on ContractIQ[…]

Changing iOS Font on All Widgets (UILabel, UIButton, etc.)

Sometimes it’s necessary to change the font on an app and you don’t want to go into Interface Builder and manually change them all. Ug. So you can recursively call a method to change the font on all subviews that respond to the setFont: method.

Check that it responds to the selector and call Read more about Changing iOS Font on All Widgets (UILabel, UIButton, etc.)[…]

iOS UIWebView Handle window.open/window.close PopUp Page

  I had a unique problem today – if a page opens a new ‘window’ in a UIWebView and then calls window.close to close it, how is that handled in iOS? UPDATE: Swift version added at the bottom. On top of that, the pop-up window was to allow the user to select a value for Read more about iOS UIWebView Handle window.open/window.close PopUp Page[…]

UIPopoverBackgroundView

I found my popover’s going to iOS 7 didn’t look so great. I searched around and posts were pointing to subclassing the abstract UIPopoverBackgroundView class. I found GIKPopoverBackgroundView and the demo app for it looked good. It was fairly easy to use – Copy GIKPopoverBackgroundView.h/.m into my project Copy the images from the images folder Read more about UIPopoverBackgroundView[…]

Fit4Today – Fitness App

No In-App Purchases – one price you get it. A simple tool to track your 400 rep workout. Randomly generated 4-move workout. 10 reps, 10 times. 400 reps. Great for a quick, at-home workout. A variation of the deck-of-cards workout but with out the variation of 2, 3, 4 reps – it’s all 10 reps. Read more about Fit4Today – Fitness App[…]

iOS Email Aliases for From field

I have several domains and a) want to check them all from 1 account and b) want to be able to write from them using that one account.

This isn’t tough w/ web clients (I use Yahoo!) but for my iOS devices it has the added challenge that I want to use the native client. That way if an app kicks me to the email UI, I can carry on as usual.

So the other emails are just forwards to my Yahoo account. No problem. But to have them as options to write from is different.

I found a couple sites that helped me figure out how to do this…
[…]

iOS Dynamic Method Resolution

Apple docs on Dynamic Method Resolution UPDATED FOR ARC BELOW. If you want a class to respond to a given method w/o knowing what that method is when coding, you can use Dynamic Method Resolution. In my case, I wanted to store some values in a dictionary not knowing what would be stored there (JSON Read more about iOS Dynamic Method Resolution[…]

App Developers Signal Apple Allegiance Ahead of WWDC and Google I/O

Some great content, quotes and charts in this article comparing analytics from iOS vs Android… For every 10 apps that developers build, roughly 7 are for iOS. via App Developers Signal Apple Allegiance Ahead of WWDC and Google I/O. Another good quote from the article… “For every $1.00 a developer earns on iOS, he can Read more about App Developers Signal Apple Allegiance Ahead of WWDC and Google I/O[…]

Todo List Item via Email – Todo4Today iOS App

Todo4Today‘s new email feature let’s you send an email to create a todo item in your todo list. Once you have the app and purchase the Email feature (Settings>Additional Features), you can email 4TodayApps.com using these guidelines: Email Address For Time: For todo’s without a time, just send to todo@4todayapps.com. If you want a reminder Read more about Todo List Item via Email – Todo4Today iOS App[…]

Saving JSON to Core Data | Cocoa Is My Girlfriend

Tom Harrington post on CoreData/JSON conversion… You may know me as @atomicbird on Twitter. Just a few days ago my book Core Data for iOS: Developing Data-Driven Applications for the iPad, iPhone, and iPod touch (co-written with the excellent Tim Isted) was published, and Matt invited me to contribute some Core Data tips to CIMGF. Read more about Saving JSON to Core Data | Cocoa Is My Girlfriend[…]

iPhone Development: Using Core Data with iCloud

A couple of good, similar posts about getting your Core Data database in iCloud for apps… iOS How-To : Using Core Data with iCloud – Une goutte d’eau dans la mare du web. http://timroadley.com/2012/04/03/core-data-in-icloud/ These steps/methods are pretty much cut-and-paste but require some Provisioning Portal steps, etc. I had to remove the dispatch call… dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, Read more about iPhone Development: Using Core Data with iCloud[…]

MacOSX 10.7.3 Update Breaks iOS App Validation

This was tricky… I kept getting: iPhone/iPod Touch: Icon.png: icon dimensions (0 x 0) don’t meet the size requirements. The icon file must be 57×57 pixels, in .png format (-19014) I found the fix here: MacOSX 10.7.3 Update Breaks iOS App Validation. Thanks Manbolo! Basically, get the latest version of Application Loader, run it and Read more about MacOSX 10.7.3 Update Breaks iOS App Validation[…]

How to Build an App: iOS Background Audio Controls

Allowing your app to receive remote audio control events is pretty easy. The gist of it is to just tell the OS you’re interested in being told of the events. Then you just have a callback for the events and you can act on them. For the view controller that’s playing music, you can declare Read more about How to Build an App: iOS Background Audio Controls[…]

How to Build an App: TestFlight – Testing Apps by Users

  I added a new category called ‘how to build an app‘ and this is a great post for it. It’s certainly not the very first step in how to make an app, but it’s important. TestFlight is a great, free service that allows you to send builds to testers for use on their device. Read more about How to Build an App: TestFlight – Testing Apps by Users[…]

imageNamed is evil « Under The Bridge

UIImage imageNamed is nice that it caches, but w/o being able to control when it clears the cache, it can be trouble. However, as this example (below) shows, there’s an easy way to avoid the imageNamed cache, create your own references and clear it when you’d like. via imageNamed is evil « Under The Bridge.

UITableView backgroundColor always gray on iPad – Stack Overflow

[myTableView setBackgroundView:nil]; via UITableView backgroundColor always gray on iPad – Stack Overflow. I ran into this problem where the view backgrounds were always gray. Confusing! As the post stats, try one of these:

Stack trace or more info on unhandled exception in Xcode/iPhone – Stack Overflow

A friend sent this to me and it sounds great – I’ll have to try it. If you do, let me know what you think… If you add two breakpoints, you should be able to debug these exceptions. To do this, go to Run | Show | Breakpoints and create two global breakpoints (I do Read more about Stack trace or more info on unhandled exception in Xcode/iPhone – Stack Overflow[…]

Dev Juice: How do I autocomplete in Xcode 4? | TUAW – The Unofficial Apple Weblog

Dev Juice: How do I autocomplete in Xcode 4? | TUAW – The Unofficial Apple Weblog. Creating your own custom snippets and naming them with shortcuts is just as easy. Select text in the Xcode code editor. Click and hold for a second in the selection and then drag it over to the library. It Read more about Dev Juice: How do I autocomplete in Xcode 4? | TUAW – The Unofficial Apple Weblog[…]