iOS

Facebook Twitter

Building a simple AudioPlayer in iOS | YMC. This tutorial describes how to build a simple AudioPlayer Element for a native iPhone App.

Building a simple AudioPlayer in iOS | YMC

It will play an mp3 file with a simple AudioPlayer interface, containing a play and pause button, a slider with scrubbing functionality and a display for duration and elapsed time. The code is written with Xcode 5. iPhone Tutorials. This site contains a ton of fun written tutorials – so many that they were becoming hard to find!

iPhone Tutorials

So I put together this little page to help everyone quickly find the tutorial they’re looking for. Hope you enjoy! :] Open run log automatically in Xcode 4 | Martin's Dev Blog. When I switched to Xcode 4, I missed the ability to open a run log window automatically when I run a project.

Open run log automatically in Xcode 4 | Martin's Dev Blog

Instead, Xcode 4 has a debug area with log output on the bottom of the main window. Because there is lots of log output in our projects and I don’t want to resize the debug area every time, I tried to reproduce the behavior of Xcode 3 (sort of). Ios - How to change the name of an iPhone app. iPad Modal View Controllers - Blog. There were some minor tweaks to modal view controllers with iPhone OS 3.2 that are worth taking a look at if you need a modal view for an iPad or universal app.

iPad Modal View Controllers - Blog

For changes introduced in iOS 5 and iOS 6 including the deprecation of presentModalViewController:animated: see also this more recent post: Presenting View Controllers Modal View Controller Recap Modal view controllers are well documented in the View Controller Programming Guide for iPhone OS but here is a quick recap of how to present and dismiss a modal view. To keep things simple I will cover the steps for presenting the modal view when a button is pressed on a master view controller. When the button is pressed we need to create and show a detail view controller that contains a button that the user can use to dismiss the modal view controller.

Web color to UIColor convertor | Touch Code Magazine. Introduction to iOS Graphics APIs: Part 1. Download source code - 294 KB Introduction In the first article in this series, I provided a quick introduction to Objective-C, and talked a bit about memory management, working with the controls, and persisting information to files.

Introduction to iOS Graphics APIs: Part 1

In this article, I want to introduce some of the graphics functionality. Show TODO's And FIXME's As Warnings In Xcode 4 - Deallocated Objects by Jake Marsh. Here's a neat little snippet for Xcode 4 that will cause all of your //TODO: and //FIXME: comments in your code to appear as compiler warnings when you build.

Show TODO's And FIXME's As Warnings In Xcode 4 - Deallocated Objects by Jake Marsh

Here's how to use it: Instructions Head over to your project's item in the Project Navigator (usually at the very top)Find your target in the list of targets on the left, select itHead over to the "Build Phases" tab.Click the "Add Build Phase" in the bottom right of this screen.In the editor that appears insert the bash script shown below. Now just build and you'll see all your //TODO: and //FIXME: comments have become warnings. I love this technique, it might not be right for everyone, but hope it helps someone. SBJson. SBJson’s number one feature is chunk-based operation.

SBJson

Feed the parser one or more chunks of UTF8-encoded data and it will call a block you provide with each root-level document or array. Or, optionally, for each top-level entry in each root-level array. See more in the Version 4 API docs. Other features: Universal Framework iPhone iOS (2.0) Hello my friends, Due to some bugs and questions with the old tutorial, I'm creating this new one, much more simpler and less bugs than the another one.

Universal Framework iPhone iOS (2.0)

I'll not post the old link here because everything you need to know you can find right here. Nowadays, exist few alternatives to create a Framework to iOS, changing the default Xcode Script, which could not be a good choice if you want to publish the APPs constructed with your custom Framework. Cheat Code. iOS SDK 5.1 on Snow Leopard | Chad Scira. 2 years ago So apparently Apple wants us to upgrade to Lion in order to develop for the latest version of iOS.

iOS SDK 5.1 on Snow Leopard | Chad Scira

But Lion still has a few issues that are preventing me from upgrading. I quickly upgraded my phone to iOS 5.1/6.X not knowing that i wouldn't be able to use XCode with it on Snow Leopard. So the hacking started... Using Blocks in iOS 4: Designing with Blocks. In the first part of this series, we learned how to declare and call basic Objective-C blocks.

Using Blocks in iOS 4: Designing with Blocks

The motivation was to understand how to effectively use the new APIs in iOS 4 that take blocks as parameters. In this installment we're going to shift our focus toward writing our own methods that take blocks. By understanding how to use blocks in your own code, you'll have another design technique in your repertoire. And you might just find that blocks make your code easier to read and maintain. ASIHTTPRequest Documentation - All-Seeing Interactive. ASIHTTPRequest is an easy to use wrapper around the CFNetwork API that makes some of the more tedious aspects of communicating with web servers easier.

It is written in Objective-C and works in both Mac OS X and iPhone applications. It is suitable performing basic HTTP requests and interacting with REST-based services (GET / POST / PUT / DELETE). The included ASIFormDataRequest subclass makes it easy to submit POST data and files using multipart/form-data.

Games

UI. iPhone SDK Examples and Tutorials - About Objects. iOS SDK Examples and Tutorials Download our iOS developer examples. Feel free to download any or all of the example code for the Xcode projects shown below to aid your learning.