Category Archive: iOS App Development for Beginners

iOS How To – Adding a Loading Label to a (UIWebView)

Finished ScreenShot 2If you already have an app with a Web View, you may want to add some kind of notification to the user that a website is being loaded, otherwise Apple will probably reject it. If you don’t have an app with a web view, I suggest you complete THIS tutorial before continuing. Read More…

iOS How To – Using the Proximity Sensor

If you’re going to create an app that plays audio, one great feature to have is the ability for the user to be able to listen to the audio through the headset of the device (when they put it to their head) rather than the speaker at the bottom. Doing so is fairly simple. I recommend reading iOS How To – Playing Audio before continuing. Read More…

OSX How To – View The NSDocumentDirectory Using Finder

This morning I was working on an iOS app that required saving various files to the device.  I wanted to track these files while running the iPhone Simulator to make sure my code was handling the files as it was supposed to.  To do this I could dig through the folder structure in Terminal or output a bunch of NSLogs with the data I wanted, but the easiest method would be to open Finder and watch the directory as changes were made.  Since I know this will come up again in the future, I decided to make an AppleScript that will help me Quickly navigate to the iPhone Simulator path. Below are the steps I used to create the script. Read More…

Add Texture To The UINavigationBar

iPhone Development Quick Tip

One thing iPhone designers love to do these days is add texture to the navigation bar.  Leather and wood grain texures are very popular.  Luckily for iPhone developers, it’s actually a very simple task to incorporate these images into our Apps.  In this iOS Quick Tip.  I’m going to show you how add textures to your iPhone app Navigation Bar.

Read More…

iOS Tutorial – Switching Views

Its been a while since our last tutorial. We’ve been rather busy developing apps. Hope this makes up for it. This is something nearly every app has.

Unless everything you wanted to do in your app is on one page, you’ll need to use either a push view or a modal view. There is a significant difference between the two.

A good example of a push view is the iPod (Music) app. When you tap on an artist, a push view slides in from the right to reveal that artist’s songs. A push view “pushes” the current view out of the way to reveal the new view. The new view usually has an arrow-shaped button in the top (navigation) bar, and the button title has the title of the page the new view pushed away.

Read More…

iOS Animation of a Spinning Tile – Part 2

iOS Spinning AnimationIn part 1 of this 2 part tutorial we discussed how to create the image frames that are needed to put together an animation of a spinning tile. This tile was actually used in our new iPhone game called Memory Gizmo Words. In part 2 we’re going to open Xcode and write the code that will animate these images.

For this tutorial I’ll create a new project called Flip Tile and, I’ll be using the UIImageView to display the first frame. If you’ve never worked with Image Views you can check out our tutorial called iOS Tutorial – Creating an Image View (UIImageView) to get started. Read More…

iOS Tutorial – Creating an Image View (UIImageView)

Create An Image ViewThis tutorial will be just about as simple as the Splash Screen tutorial a little while back. We are going to load an image that we add to our project, resize it, and color the background. This will be done with absolutely no code.

(Note: In future tutorials, we will be adding more functionality to our apps.)

Let’s begin.
Read More…

iOS Tutorial – Text Field, Label, Button

Text Field, Label, ButtonText fields, buttons and labels. You will find nearly all of these in almost every app. They are key elements for getting and displaying information to and from the user.

We’re going to use all three in this fun, geeky little tutorial.

(Note: In future tutorials, we will be adding more functionality to our apps.) Read More…

iOS Tutorial – Creating a Web View (UIWebView)

Create a Web View

UPDATED for Xcode 4.4, ARC (Automatic Reference Counting), Storyboards, and Universal Devices (iPhone, iPod, & iPad)!

If your app is dependent on web content, there are a couple ways you can go about outputting that content. JSON Parsing and Web Views. We’ll be covering JSON Parsing in a later tutorial. Also, be sure to check out the continuation of this tutorial where I explain how to add a Loading Label when a web page loads.

A web view displays a website on the device’s screen. Mobile Safari is a prime example. Safari uses all kinds of bars and buttons to interact with the view. We’re not going to go into that much detail…yet. For now, we’re just going to display a web page. Read More…

iOS Tutorial – Creating a Splash Screen

Create a Splash ScreenThe first thing you see with a lot of iPhone apps, when they launch, is a splash screen.  So creating our own splash screen will be a great place to start off this series of tutorials.

Splash screens are the “title page” of your app. While, at times, it will display the name of the app, more often than not, it displays the company that created the app. Or it’ll do both. You may have also noticed that several splash screens will allow you to tap to skip ahead to the next screen. Unless, of course, the developer wants you to see their logo for a certain period of time, or the screen is being displayed as a “curtain” while the app gets loaded in the background. Read More…