iOS Developer Tips - Visitor Stats:
|
|
|
Apps World – Olympia London, Nov 29th and 30th
Apps World is truly an international event, with over 150 speakers from many well known companies, including Rovio Mobile (Angry Birds), Orange, BT, Sky TV, Yahoo and T-mobile.
This is a two day event and offers over 25 sessions across four tracks, covering a range of topics from social media to application ecosystems.
In addition, there is a free developer zone, including technical presentations from developers, handset operators and application stores.
Check out the Apps World website for more information.
iOS Open Source : Reveal Sidebar Control
JTRevealSidebar is an interesting control that slides a view horizontally to reveal a new view, leaving a sidebar in place to return to the original view. The control also handles pushing a subview onto the screen.
As James Tang, the author points out, the control is in early development and is essentially a work in process/demo. However, with some additional coding, I think this could be a very nice control to display and manage content on a small screen (the iPhone).
Continue reading this post »
iOS 5 : Twitter Framework – Part 3 – Display List of Twitter Accounts
In the previous two iOS 5 Twitter Framework posts, I covered using TWTweetComposeViewController to display a pre-built controller for posting to Twitter and also wrote an example on how to use the TWRequest object to create an HTTP request to access the Twitter API.
Over the past few weeks I’ve had a number of requests to take this series one step further and show how to access the Twitter account data and display the information in a tableview. One of the common threads in the requests was how to do user interface updates as part of the completion handler code.
In this post I will create a short example to create and populate a tableview with the active Twitter account(s), calling code to update the UI from within the completion handler.
Continue reading this post »
Xcode 4 : Debug Breakpoints, Conditions and Actions
I recently bumped into a few new debugging features in Xcode 4 while looking at breakpoint options. To show how this works, let’s look at a small block of code where I’ve already set a breakpoint by clicking in the margin area on the left side in the editor:
Determine MAC Address
The MAC (Media Access Control) address is an identifier that is associated with a network adapter and uniquely identifies a device on a network. A MAC address consists of 12 hexadecimal numbers, typically formatted as follows
XX:XX:XX:YY:YY:YY
The XX values in a MAC address identify the manufacturer, the YY values are the serial number assigned to the network adapter.
The MAC address can be useful if you need a way to uniquely identify a device – this can be used as a substitute for the UDID value that is now deprecated in iOS 5 and greater.
Continue reading this post »
iOS Open Source : Custom Progress Indicator
DDProgressView, written by Damien DeVille, is an easy to implement control for showing an animated progress indicator. There are three customizable values in this control, the inner color, outer color and the color of the progress indicator when empty (essentially the background color). To move the indicator forward or backward, you update a value (a float) in the control, which affects how the control is drawn.
iOS 5 : UIStepper Control
There is a new pre-built control in iOS 5 for incrementing or decrementing a value, UIStepper. The control has two buttons aligned horizontally, one labeled with a plus (+) the other a minus (-).
One nice feature is a continuous option, wherein if the user presses and holds down either +/- button, the stepper value is incremented repeatedly. The longer the button is held down, the faster the increment will occur. Also, you can have the increment value wrap around when a range of values is specified, for example, if you set min and max to 0 and 99 respectively, when the value reaches 99, the next value will be 0 (and vice-versa).
Continue reading this post »
Xcode 4 : Related Files List
With Xcode 4 you can quickly access an assortment of files related to your project through the Related Files option in the Jump Bar. The screenshot below shows the related files based on the file that is open in the editor pane – the red box in the upper left highlights the icon to open the related files list.
iOS 5 : Twitter Framework – Part 2 – Call Twitter API with TWRequest
In the previous post on iOS 5 and the new Twitter framework, I walked through how to use TWTweetComposeViewController to display a pre-built controller for easily integrating and posting to Twitter.
In this post I will show you how to use the TWRequest object to create an HTTP request, and in turn, sending and processing the results of the request. There are three primary components of a Twitter request: the URL of the desired Twitter service you are after, the type of HTTP request (GET, POST or DELETE) and any query parameters (required or optional) of the service requested. It’s also worth noting, using when using TWRequest user authentication is handled for you.
Continue reading this post »
iOS Open Source : UITableView in UIAlertView with SBTableAlert
Here’s a unique idea, create a control that embeds a UITableView within a UIAlertView – SBTableAlert does just that. The screenshot below shows the control with a multi-select table.
Xcode 4 : Jump Bar Tips and Tricks
The Jump Bar is the navigation area at the top of the source editor pane, which is highlighted in red in the figure below:
iOS 5 : Twitter Framework – Part 1 – Compose a Tweet with TWTweetComposeViewController
This is the first post of two on how to work with the new Twitter framework in an iOS 5 app. This post will cover the basics to create and display a dialog for composing a tweet. Part 2 in this series can be found here.
The primary controller for working with Twitter in iOS 5 is TWTweetComposeViewController. This object handles all the UI related work to display and manage input – you can pre-populate the initial text, add an image as well as a URL. The code is straight forward to get things rolling:
Continue reading this post »
Simple Menus and Messages with UIActionSheet
If you need to create a quick menu or present a user with a short message, you may want to consider a UIActionSheet as an option. This control will slide up from the bottom of the screen, and offers a number of easily configurable options.
The code in the interface definition below creates an actionsheet (if you prefer, you can accomplish the same using Interface Builder to layout and define a UIActionSheet). Notice there is a delegate required if you define multiple buttons on the sheet and need to determine which was tapped:
Continue reading this post »
iOS Open Source : User Interface Debugging with DCIntrospect
DCIntrospect, written by Patrick Richards of Domestic Cat Software, provides a nice set of tools for viewing properties of UI components, while an application is running. Included are options for displaying view locations and sizes as well as a views distance from the edge of the primary window; options for moving and resizing frames; logging view properties including subclasses properties, actions and targets.
Take a look at the screenshot on the left below, I’ve pressed the spacebar to enable DCIntrospect and tapped on the circle image in the upper right. Notice the information displayed for the UIImageView across the top where the status bar was previously shown, including the view size and location on screen. With a few keystrokes I can move and resize the image, as shown in the screenshot on the right.
Continue reading this post »
Thank you Steve…












