Based off of the hit game 2048 by Gabriele Cirulli but with a twist. Take your number matching to the next level with Power3 on iOS. The game is iCloud and Game Center enabled for saved progress and competitive ranking against friends. Why play by 2 when 3’s company. Available on the iTunes App Store today.
If you plan on loading a game to the App Store via iTunes Connect, budget a lot of time for additional configurations and sandbox testing. I had hoped you could programmatically invoke the leaderboard and achievements but, they have to be predefined with icons, descriptions, titles, etc. This level of configuration is what makes the iTunes App Store what it is, but it is just one more task that can seem very tedious when trying to push out even the most bare bones app. I now know why game development takes so many team members.
I came across a slew of really cool tech tools and gadgets this week. So, I will share a few of the choice ones here. I really geeked out on a lot of these tools and technologies this week. My three favorite are below covering three specify areas, hardware, software and learning.
At work I do a lot of prototyping against API services that come from both internal and external sources. If you are on a Mac and testing locally a web page that leverages API calls from the client side in the Safari browser, there are no issues there. It is when you want to host these files and share your demo that issues arise. I am not a command line jockey, so configuring test boxes for server-side REST calls is not something I like to spend a ton of time on. So, I often have to rely on a Cross Domain Scripting hack or two for my client-side calls to work.
Today’s tip is short and sweet. I recently subscribed to Objc.io, which is self-described “periodical about best practices and advanced techniques in Objective-C.” In their very first issue they discuss view controllers and how they almost inherently become unwieldy beats within our application code. The first issue focuses on ideas, designs, and best practices for keeping view controllers light and flexible and moving your reusable code into a, such as, “myApplication.h/.m” class that can handle most of your application’s heavy lifting.
I learned two valuable lessons when working with Xcode projects this week. A lot of times developers will create Proof of Concept (POC) projects wherein they will not use all of the potential features offered; in this case Core Data in Xcode. If you’re lucky, you may find you have hit on something and want to expand the capabilities of a project. You can often just import a framework from the Project Overview screen in Xcode like to the right here. For most frameworks, merely adding the framework and including the reference to it in the header file of your desired class is enough. For Core Data, you have to go a bit further than this.
I’ve been under taking some of the most complex workouts I have ever tried after starting my new training program with TriDot Training Systems. Many of the workouts involve warm up, interval, cruise and cool down phases/steps with specific duration, heart rate, pace, or power/cadence goals for each segment. After doing the first couple of workouts, I realized that printing them out or glancing at my phone constantly to see what step was coming up next was just not going to work.
I dealt with a frustrating Xcode 5 situation earlier this week. I was trying to add a custom UICollectionView at the bottom of a standard UIView but was running into serious memory leaks. The app I was working on kept crashing and freezing up and what’s worse is that I was not getting any Xcode specific errors. I had a feeling that it had something to do with the UICollectionView I had added and was populating with data from a REST call. I was hoping to recreate the effect you see to the right here in the Flipboard app.
I purchased this really great accessory this week on advice from Tyler Lu. I had been reticent to try any of those goofy iPhone camera accessories you often see at those shady mall kiosks. However, I noticed Tyler using a zoom lens on his iPhone and asked him about it. Turns out it was one of those same odd looking accessories I had been avoiding. He showed me a few sample pictures he had taken and I was impressed. At the price of $10 on average I thought it would be worth a shot.
Today’s tip involves how to create custom view controllers in Xcode 5. Creating custom views that leverage multiple custom subviews such as tables and collections is a great way of presenting information to users. However, it is not so straight forward for new iOS developers to master the art of instantiating subviews within a standard view. This approach is especially frustrating when you try to load data into a UICollectionView dynamically from a REST API call.