Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
iPhone User Interface Cookbook
iPhone User Interface Cookbook

iPhone User Interface Cookbook: A concise dissection of Apple's iOS user interface design principles

eBook
€25.99 €28.99
Paperback
€37.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

iPhone User Interface Cookbook

Chapter 2. Customizing our Icon, the Navigation Bar, and the Tab Bar

In this chapter, we will cover:

  • Designing an application icon and preparing it for the user home screen

  • Creating the rounded edges effect on our icon

  • Removing the app icon's gloss effect

  • Optimizing our newspaper or magazine app's icon for Newsstand in iOS 5

  • Creating a custom Tab Bar for our iPhone application

Introduction

The application icon and essential interaction elements such as the Navigation Bar and Tab Bar are crucial for the success of our work. The user will be tapping the icon every time they go to use our app, and interact with our navigation elements throughout their entire experience in our application.

If we want success, we must focus on making these components attractive and functional. Attention to detail and the presentation of these pieces will be key, and we'll need to produce our best work if we want to stand out in a sea of apps.

In this chapter, we'll discuss the all-important application icon, along with...

Introduction


The application icon and essential interaction elements such as the Navigation Bar and Tab Bar are crucial for the success of our work. The user will be tapping the icon every time they go to use our app, and interact with our navigation elements throughout their entire experience in our application.

If we want success, we must focus on making these components attractive and functional. Attention to detail and the presentation of these pieces will be key, and we'll need to produce our best work if we want to stand out in a sea of apps.

In this chapter, we'll discuss the all-important application icon, along with a couple of other ways in which we can make our work shine on the iPhone, iPod touch, and iPad.

Designing an application icon and preparing it for the user home screen


It's often said that a book shouldn't be judged by its cover, but the harsh reality of mobile development is that an app is often judged by its icon. This rounded rectangle will appear on the home screen of every user, and it's important that we create something that is attractive and also a good indication as to what the user should expect after downloading our application.

In this recipe, we'll create a strategy for successful app icon design.

Getting ready

Adobe Photoshop will be our primary tool in the design of our app icon. It may also be helpful to grab some paper and a pencil so that we can sketch out any concepts we may have before we begin working on our computer.

How to do it...

The application icon is a primary component of any work. Appearing in the App Store, on a user's home screen, in Spotlight searches, and more, it's an important part of our job.

Let's take a look at several steps that will...

Creating the rounded edges effect on our icon


The raised, rounded rectangle bezel is a common trait on many application icons. Made popular by developers such as Electronic Arts, Lima Sky, Gameloft, and others, such icons often look as if they almost have a wooden or metal frame.

Let's take a look at how we can go about creating our own rounded edge effect so that our icons stick out on the App Store.

Getting ready

For this recipe, we'll need a copy of Adobe Photoshop or another similar raster image editing application. It will also be useful to have the source file, titled IconBezel.PSD, to be downloaded from the Packt website.

How to do it...

Creating a rounded bezel effect on our icon is relatively simple; we'll just have to work in some rounded rectangles and proper sizing requirements. Let's take a look at the simple steps that we must take to create such an icon:

  1. 1. Create a new Photoshop file for the icon, square in shape, measuring at least 512 pixels by 512 pixels. Then, give a color...

Removing the app icon's gloss effect


Apple created iOS to offer a standard icon, originally equal to 57 pixels by 57 pixels. On top of these icons, a standard glass reflection effect was placed on top of all icons.

But there will be times at which we feel that our icon will look better without the gloss effect. In this recipe, we'll discuss how we can remove this effect and create a crisp and bright icon.

Getting ready

For this recipe, we'll need XCode installed on a Macintosh computer. We'll also need the project file for our application in order to edit its Info.plist.

How to do it...

With a few simple steps, we'll easily remove the ship from our iOS icon on the user's home screen. Let's take a look at what is needed in order to remove the effect:

  1. 1. Open our application project in XCode. We should begin by opening our project in XCode. If we need to check the code out of a repository or just open it from our computer, we should do so now.

  2. 2. In XCode, open the project's Info.plist file....

Optimizing our newspaper or magazine app's icon for Newsstand in iOS 5


With iOS 5, Apple has developed a new set of application icon attributes to help make our periodical stand out in the new Newsstand feature. Our icon can now look different than the standard glossy rounded rectangle, allowing for our work to gain greater attention from our users.

In this recipe, we'll look at different ways in which we can customize our periodical icon in Newsstand.

Getting ready

In this recipe, we'll need a nearly completed periodical application for which we can complete the necessary icon files. It's important that we have an idea about what sort of art direction will be required for the icon as we complete this work.

How to do it...

Creating icon files for periodicals in iOS 5 and beyond is a bit more complex than the standard application, as we have the ability to have customizable covers that change as content changes with new issues in the app. We can also dress up our app icon to look like a real...

Creating a custom Tab Bar for our iPhone application


While we'll often want to implement a standard Tab Bar, there may be an occasional situation for which we will want to create a customized Tab Bar that offers up a bit of a different look.

This will require that we create the new bar entirely in Photoshop, and then use these buttons to transition through different views. As we're creating something custom, we don't have many rules to follow. However, we should still create a Tab Bar that is somewhat recognizable to the user.

In this recipe, we'll discuss a technique for creating a custom Tab Bar for our iPhone application.

Getting ready

For this recipe, we'll need a copy of Adobe Photoshop or another similar raster image editing application. It will also be useful to have the source file, titled TabBar.PSD, downloaded from the Packt website.

How to do it...

We will need to go about creating a very structured and organized set of image files in order to have an effective custom Tab Bar. Let...

Left arrow icon Right arrow icon

Key benefits

  • Learn how to build an intuitive interface for your future iOS application
  • Avoid app rejection with detailed insight into how to best abide by Apple’s interface guidelines
  • Written for designers new to iOS, who may be unfamiliar with Objective-C or coding an interface
  • Chapters cover a variety of subjects, from standard interface elements to optimizing custom game interfaces

Description

The incredible growth rates for the iPhone, iPod touch, and iPad have pushed consumers to a new “App” economy, with developers racing to the platform. Mobile touch-centric interfaces vary greatly from traditional computing platforms, and programmers as well as designers must learn to adapt to the new form-factor.The iPhone User Interface Cookbook offers a complete breakdown of standard interface design on the iPhone, iPod touch, and iPad. You will learn the tools behind the trade, how to properly utilize standard interface elements, and custom UI tricks that will help your work stand out on the App Store.The book is designed to be a complete overview of interface design on all iOS platforms, offering insight and an inside look into app design. A variety of topics are covered, starting with an overview of tools for the app interface designer, touching upon popular interface components such as the Tab Bar, and offering suggestions for complex game interfaces. Whether you’re new to the platform or a seasoned developer with numerous applications in the App Store, this book strives to teach everyone simple and easy to implement tips for iOS interface design. Regardless of skill level, the iPhone User Interface Cookbook offers a detailed breakdown of all things interface design.

Who is this book for?

The iPhone Interface Cookbook is written from the ground up for people who are new to iOS or application interface design in general. Each chapter discusses the reasoning and design strategy behind critical interface components, as well as how to best integrate each into any iPhone or iPad application. Detailed and straight-forward recipes help give guidance and build understanding far beyond what is offered through Apple’s Human Interface Guidelines.

What you will learn

  • Implementation of Apple designed interface components that meet the required standards
  • Make your application immediately familiar to the user
  • Customize your interface, so it stands out in the App Store
  • Practices to avoid so that Apple doesn’t reject your app
  • Differences between the iPhone and iPad interfaces
  • Preventing your interface from becoming obsolete with future operating system upgrades
  • Making iOS specific touch screen device interfaces
  • Guidelines to help keep your app accessible to all people
Estimated delivery fee Deliver to Czechia

Premium delivery 7 - 10 business days

€25.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Nov 25, 2011
Length: 262 pages
Edition : 1st
Language : English
ISBN-13 : 9781849691147
Concepts :
Tools :

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Czechia

Premium delivery 7 - 10 business days

€25.95
(Includes tracking information)

Product Details

Publication date : Nov 25, 2011
Length: 262 pages
Edition : 1st
Language : English
ISBN-13 : 9781849691147
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 37.99
iPhone User Interface Cookbook
€37.99
Total 37.99 Stars icon

Table of Contents

9 Chapters
Getting Started: Prototyping, Proper Tools, and Testing our Design Chevron down icon Chevron up icon
Customizing our Icon, the Navigation Bar, and the Tab Bar Chevron down icon Chevron up icon
Different Ways to "View" our Application Chevron down icon Chevron up icon
Utilizing Common UI Elements Chevron down icon Chevron up icon
All About Games Chevron down icon Chevron up icon
Starting, Stopping, and Multitasking Chevron down icon Chevron up icon
Notifications, Locations, and Sounds Chevron down icon Chevron up icon
Accessibility, Options, and Limited Opportunity to Help our User Chevron down icon Chevron up icon
Migrating to the iPad Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
(5 Ratings)
5 star 20%
4 star 60%
3 star 20%
2 star 0%
1 star 0%
n64girl Jul 02, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Fantastic book for beginners and anyone interested in knowing more about the world of app development. Very comprehensive and easy to read.
Amazon Verified review Amazon
sanderr Feb 20, 2012
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
I really enjoyed reading this book, it reads fast! I read it when commuting from home to work. It helps you to easily create applications either for the iPhone or iPad and discusses the differences between them. Even for me, without any experience developing applications for this platform, it was totally clear how things worked and what were the important bits.I liked the tone, attention to detail and readability.Though, it doesn't get into developing for iPhone/iPad from a non-Apple environment. This might be an option for another book.
Amazon Verified review Amazon
Mat Jan 26, 2012
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Two things I really enjoyed about this book: 1. It was a quick read. I was easily able to complete it in two short sessions. 2. It will make a handy reference guide for future projects for quick, precise information.One of the reasons the Cookbook series of books is a favorite of mine is that it gives precise, detailed information about specific things. Depending on what kind of learner you are, you may or may not like this. If your one who just sets out to conquer the world and gets stuck here and there, or wonders how something could be done better, then you'd probably enjoy this book. If you're more of a follow steps 1-100 to complete a project, then probably not so much. Your mileage will vary ultimately depending on what type of app your designing. That being said, the author does beat in concepts of good design and maximizing screen real estate.Just a word of warning: this book makes use of Adobe Photoshop for creating custom icons and your interfaces. I was able to complete this book using the Open Source equivalent, GIMP with little or no trouble at all.
Amazon Verified review Amazon
W Boudville Dec 28, 2011
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
The conciseness of this book is one of its attractions. Banga has done some nice work for you by focusing in on a minimum subset of information about the Apple iOS user interface. You can take this book and understand it in a day, so long as you have done some graphics programming before. And not necessarily on Apples.One distinctive aspect of this UI is the prevalence of modal interactions, compared to writing in the UI of a laptop or desktop machine. Apple made this a deliberate design. Based of course on the small size of the handheld iPhone screen. If you don't stress modal, then you as a programmer and worse as a user can find a tangle of windows, with only 1 or 2 visible. Also, due to the limited memory, having modal interactions reduces the amount of memory needed to hold the widgets that have been instantiated.This can take some getting used to for a programmer hailing from the experience of a larger machine. But it is inherent in this hardware context.The text also has numerous design hints and princples scattered throughout. Like not overdoing the audio accompanying your visuals. And being aware that when you use audio, some people won't be able to hear it.There is an all too brief mention of iAd. Apple's implementation of ad placement. For some readers who might be in startups, having ads could be a vital part of your business model. Take a look at Banga's explanations. Seems easy to implement. But I do get the feeling that more information here could have been good.
Amazon Verified review Amazon
Arnaud Wiehe Feb 13, 2012
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
This book provides an overview of interface design on all iOS platforms, from a purely design perspective, therefore don't expect any programming code. The topics covered include an overview of tools for iOS app interface designers, coverage of popular interface components and suggestions for game interfaces. The book is targeted at people who are new to iOS or application interface design in general. Chapters discuss the reasoning and design strategy behind critical interface components, as well as how to integrate these into iPhone or iPad applications.I view this book as a supplement to Apple's Human Interface Guidelines, to be read in conjunction with or alongside. The breadth of topics covered is fairly comprehensive, though I did find myself wanting a bit more depth of coverage in numerous instances. The real benefit of having this book comes from the numerous helpful references to external resources, including blogs, useful web sites and specific Apple documentation.I detected a number of typos which made me wonder whether this book wasn't rushed to press. I found the "cookbook" style of this book rather tedious and unlike a traditional cookbook, following a "recipe" in this book seldom resulted in a tangible result. The book is written using the first person narrative (using we, our) instead of the second person narrative which is common for "do-it-yourself manuals". This made me feel that the author was more interested in expressing his experiences rather than guiding the reader through a solution to a problem.Overall, I would say that this is a useful though not indispensable book for app designers.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the digital copy I get with my Print order? Chevron down icon Chevron up icon

When you buy any Print edition of our Books, you can redeem (for free) the eBook edition of the Print Book you’ve purchased. This gives you instant access to your book when you make an order via PDF, EPUB or our online Reader experience.

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela