This tutorial describes how to build a simple AudioPlayer Element for a native iPhone App. 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. Building a simple AudioPlayer in iOS | YMC
This site contains a ton of fun written tutorials – so many that they were becoming hard to find! So I put together this little page to help everyone quickly find the tutorial they’re looking for. Hope you enjoy! :]
When I switched to Xcode 4, I missed the ability to open a run log window automatically when I run a project. 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). Open run log automatically in Xcode 4 | Martin's Dev Blog
ios - How to change the name of an iPhone app For changing application name only (that will display along with app icon) in xcode 4 or later: Click on your project file icon from Groups & Files panel, choose Target -> Build Settings -> Packaging -> Product Name. Click on the row, a pop-up will come, type your new app name here.
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. 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
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. In this article, I want to introduce some of the graphics functionality. Introduction to iOS Graphics APIs: Part 1
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. 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’s number one feature is chunk-based operation. 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: SBJson
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. 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. Universal Framework iPhone iOS (2.0)
Up until recently I haven’t had the need to load images into a table view from the web. I will be showing two very useful items to add to your arsenal. That is if you don’t already know this. One very useful concept in Objective-C is Categories. In short Categories can allow you to extend existing classes. For instance I created a Category that Loads an Image from the web, I extended the NSString class. 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. 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...
The Pragmatic Studio | 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. 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.
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.