How To Make Your App Stand Out With The New iOS 5 Appearance API

This is a guest post by +Tope who is Vault Overseer at App Design Vault where you get stunning iPhone App Design templates for developers with a budget or lack of good design contacts.

The App Store with over half a million Apps is now a crowded place. To succeed, your app needs to stand out both in design and functionality. Customizing the appearance of your User interface is a good way to separate your App from the others out there.

Making custom interfaces used to be a painful process in previous releases of the iOS SDK. With iOS 5, Apple made the process easier by introducing the Appearance API.

In this tutorial, I am going to show you how to design an app similar to the cool Find my Friends App.

Basically, at the end of this tutorial, you will be able to transform your app like the screenshot below.

I will be using a fictional recipe app. The screen will have a navigation toolbar with two UIBarButtonItems, Edit and Cancel. There will also be an image with the dish we are making a recipe for, ingredients for the dish and lastly a button that will show the steps needed to prepare the dish. The design elements for this app are part of the suite of iPhone App Design elements called Foody on App Design Vault.

Let’s get started.

Create a new Xcode Project

First, let’s create a new Xcode Single View project and call it styletutorial.

Add the UI Components needed

Now in the ViewController.xib file. Add two instances of UIImageView and a UILabel to the screen. The Image views will be our background for the dish and the ingredients respectively.

Add a Label for the title of the Ingredients list and change the colour to Red.

Add a UITextView component to the screen and change the background to transparent by clicking on the Background tab, then choose the Clear Color option.

Select the top Image View and change the Image field to the “details-photo-mask.png” image. This image is a mask image that gives a photo-frame illusion to the main dish image. Also, choose the “ingredients-list.png” for the image view behind the ingredients. This image is a “scrunched” paper texture so it gives a “Take a note” feeling to our ingredients list.

Now we need to add the Image View that will hold the dish itself. Add another Image view to the screen just above the Image View we just modified. Change the Image field to “food-large.jpg”. Resize the new Image view so that is just slightly smaller than the Image View with the Photo-frame/mask.

If you run the application, you should see our View with all the elements, we have just added. You will not be able to see the navigation controller toolbar at the top because we haven’t added it yet.

Add a Navigation Controller

To add a navigation controller, go to the AppDelegate.m file and modify the application didFinishLaunchingWithOptions: method to look like this.

This will add a navigation controller and then add our initial view as the first view of the navigation controller. Now let’s add some buttons to that navigation controller.

Add Buttons To The Navigation Controller

Add this bit of code as the viewDidLoad method of the ViewController.m class

This is will add two UIBarButton items “Edit” and “Cancel” to our navigation controller . Now, let’s run the application in the simulator and you should see something similar to this.

Let the Styling Begin

Ok, now the magic starts. Let us customise the background of the UINavigationController. To do this, we shall use the Appearance API which is new in iOS 5. Create a method in the AppDelegate.m file and call it customizeAppearance.

In this method, we shall replace the background of the Navigation Bar with the file navar.png. Note: These files are all included in the source files for this tutorial.

In the code above, we created a new Image with the “navbar.png” file and then used the static function UINavigationBar appearance: to modify the background image.

This will set the background image of your Navigation globally across your app.

Now run the application in the Simulator and you should see our new navigation bar with a cool leather theme.

Styling UIBarButtonItems

Our Edit and Cancel buttons look like fish out of water so let’s fix that. All we need to do is add a couple of lines to our customizeAppearance: method

The two new lines uses the same principle used to customise the navigation bar. Create a UIImage instance and then set the background image of our buttons. Check out our new navigation bar. We are getting there. :-)

Changing the background of the View

The next step is to change the background of our view. Gray just doesn’t look like a cool colour to have. Luckily, we have a leather background image we can use to make it look better. To do this, we will need to switch to the ViewController.m file again and the add these lines to our viewDidLoad: method

This bit of code creates a pattern with our image and then sets this as the background of the view.

Lastly, Styling the Button

Lastly, we need to style our button.

First, connect the button to the ViewController.h file to create a reference. I have called this button “stepsButton”.

Change the button Type to default in the Interface Builder and then change the text colour to white with a tray drop shadow.

To style the button, we need to set the background image of our button for two states. The selected and default states. The following code snippet resides in the viewDidLoad: method again.

Run , the app in the simulator and now we have our final product, fully customized and looking almost like the Find my Friends app.

If you have any questions, let me know in the comments and I will make sure to get you an answer.

Effektive Hilfe gegen extremes Schnarchen, Schlafapnoe, Knirschen
http://www.daub-methode.de
Naples Florida real estate condos and homes for sale and rent.
http://naples-fl-real-estate.com

Young programmer gives back to hospital that saved his life

The story behind the new app released by young programmer Cameron Cohen is really quite remarkable.

At a mere age of 13 Cameron has already released two successful Apps, however the real story is what motivated him to write these apps and what he does with the money earned through the Apps.

When Cameron Cohen was 11 he had surgery to remove a benign tumor from his leg. Since he couldn’t play any of the sports he loved during his 9-month recovery he turned to his other big interest, computers. As he states “I began to read anything about programming that I could get my hands on. I watched Stanford University professors on iTunes, scoured the web for articles on programming and taught myself several different programming languages.”

Determined to somehow give thanks to the hospital where he had received treatment, Mattel Children’s Hospital UCLA, Cameron decided to create iSketch, a drawing app, which he sold on the App Store for just $0.99. The app became a huge success and Cohen donated $20,000 from the sales to the hospital. The money was used to purchase computers, iPads, iPods and entertainment for patients to use during their recovery.

Now at 13 Cameron has done it again with the release of his newest app, AnimalGrams, Race against the clock to unscramble words! Once again Cohen states that a significant portion of the proceeds with be donated to Mattel Children’s Hospital UCLA.

We wish Cameron the best of luck in the future.

 

UK Prime Minister to receive personalized iPad app for government news

UK Prime Minister and long time iPad fan David Cameron will receive a custom iPad app for keeping on top of government news, according to The Telegraph. Cabinet Office programmers have been working on the app that will deliver information such as crime stats, unemployment numbers and much more to the Prime Minister.

Mr. Cameron is a full-on Apple fan. Last year he described how he uses his iMac, iPad and remote speakers to enjoy wireless music in his office. He told The Telegraph, “I’m very proud of the fact that I’ve got an iMac and I’ve got a speaker remotely linked without a wire which I did myself. I have all the music on the iMac. The cool thing is that I now control my iMac from the iPad, to play out through the speaker but I have to admit I had a little bit of help from someone in IT on that.”

Of course, Prime Minister Cameron isn’t the only world leader to enjoy Apple hardware and software. The iPad is popular in Washington, DC, Saudi Arabia and South Korea.

UK Prime Minister to receive personalized iPad app for government news originally appeared on TUAW – The Unofficial Apple Weblog on Wed, 28 Dec 2011 10:00:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Daily iPhone App: Seal Force

Seal Force is an interesting app from Tactile Entertainment, makers of Pocket Creatures and the recent Pigs in Trees line-drawing game. It tries to combine two relatively new genres in iOS games: Line-drawing and running. You play as the Seal Force team (they have their own Saturday morning-style intro), who must “run” underwater, in a similar style to Jetpack Joyride. The twist is that you’re also line-drawing paths for each member of the team, trying to take out differently colored krill as you move along.

The controls are simple, but things get confusing fast. You have to match up the color of your seals with the krill on the right side of the screen. There are also shells to collect and, in a mechanic stolen directly from Jetpack Joyride, you work on three missions at a time, each with its own rewards.

Seal Force is interesting but not entirely successful. You can only control one seal at a time, which makes things a slow. It’d be more fun, for example, to send them out on different paths all the time (and there is a powerup to do just that, though it’s limited use). But the game is fun enough, and it does have that addictive “I can do better, just one more time” feel that this kind of running game requires. The setting is Seal Force’s highlight. It’s very cute when the characters call in with their catchphrases every time you send them out, as if this old TV show did really exist once upon a time.

The price is right, too. Seal Force is a freemium title, with more shells available as an in-app purchase. Seal Force is available as a universal download right now, so if the mix of genres sounds intriguing, check it out.

Daily iPhone App: Seal Force originally appeared on TUAW – The Unofficial Apple Weblog on Wed, 28 Dec 2011 08:30:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Flawed study decides iPhone is for games, Android for apps

Trumpeting in its headline that “iPhone is for games, Android is for apps,” Xyologic has managed to pull a singular feat: it’s undermined 5/8 of its own name with the analysis that follows.

Xyologic compares the entire US Android Market against just the free iPhone offerings in the App Store, which is the first warning that its data and analysis is going to be skewed. Comparing the top 150 downloads between these weirdly disparate markets yields the following results:

Entire Android Market:

  • 85 of top 150 downloads are apps, with 91.5 million downloads
  • 65 of top 150 downloads are games, with 33.4 million downloads

Free iPhone Apps:

  • 50 of top 150 downloads are apps, with 25.6 million downloads
  • 100 of top 150 downloads are games, with 71.6 million downloads

If you didn’t know any better, you could easily look at the numbers Xyologic came up with and reach the same conclusion they do: Android users certainly appear to be downloading more apps than games compared to iPhone users. But the fact that Xyologic only chose to analyze the numbers for free iPhone apps skews the numbers so far that the study is essentially meaningless.

Without including the download numbers for paid iPhone apps, or the download numbers for any type of iPad apps at all, Xyologic’s study neglects the huge sales numbers of paid apps such as Camera+, Instapaper, Tweetbot, Snapseed, Apple’s own iWork apps, iMovie, and GarageBand. None of those apps offer a “lite” or freemium version, while most of the App Store’s most popular games do, which is another reason the free iPhone downloads tend to skew more toward games.

Looking through the current top paid downloads for both devices still shows a lot of games scattered throughout the category — something you’d expect to see after the recent massive sales on games and many young users getting new devices for Christmas — but that’s a far cry from Xyologic’s claim that Android users are downloading more non-game apps than iPhone users.

In the end, I wouldn’t be surprised at all if Xyologic’s claim actually is correct and that iOS users are indeed downloading far more games, both as a percentage of apps downloaded and in total number of downloads, compared to Android users. Apple’s own marketing touts the superior gaming performance of the iPhone 4S and iPad 2. Game developers are consistently targeting the App Store more than the Android Market for a variety of reasons, and you won’t find high-end titles like Infinity Blade II on the Android Market any time soon.

However, Xyologic’s methodology in reaching that conclusion is badly flawed; to make a true apps-to-apps comparison between the Android Market and the App Store, you have to compare the entirety of both stores if you want valid results.

Because of deep discounts on games and the general focus on games during the holiday season, December will probably skew even more heavily toward game downloads than in the download numbers Xyologic obtained for November. If Xyologic or another analysis firm takes a look at the app download numbers for January 2012 and compares the Android Market against the entire App Store instead of just one segment of it, we’ll have a far better idea whether “iPhone is for games, Android is for apps” rings true or not.

Flawed study decides iPhone is for games, Android for apps originally appeared on TUAW – The Unofficial Apple Weblog on Tue, 27 Dec 2011 21:00:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Daily iPad App: Sonic CD

Honestly, I can’t really profess to be that big a Sonic fan. I like and have played most of the 2D iterations of Sega’s headline platformer series on the Genesis, the Game Gear, and most recently, iOS. But I’m not a superfan by any means, and if I’ve ever played Sonic CD before, I don’t remember. I certainly never owned it (though I do remember renting a Sega CD with a friend and playing Night Trap and Sewer Shark over a few weekends).

All that said, Sonic CD, release just recently as a universal app for iOS, seems to me to be an exceptionally faithful port of what I do remember about Sonic, offering up colorful graphics, strong controls (performed with a virtual pad and jump button, and all of the standard complaints that come with virtual controls), and a great Sonic soundtrack. I do know that Sonic CD is heralded as one of the best Sonic 2D games, and this version of it comes off as a loving recreation of the original title. Especially on the iPad, these varied and well-designed worlds are big, bright, and beautiful to behold.

And Sonic CD for iOS also offers a nice mix of old-school spareness with modern features. There are achievements and online leaderboards, but they’re buried in very old-school style menus and are out of the way as you play the old games. I recently said that the Grand Theft Auto port was the best console recreation I’d seen on the iPad, but Sonic CD definitely gives that title a run for its money. It’s very well done.

Plus, the game’s only $2.99 for the universal app, which makes this one a no-brainer. You do have to enjoy Sonic’s frenzied platformer gameplay, but whether you’re a Sonic CD veteran or never got a chance to play this version of the running hedgehog, this one’s worth a look.

Daily iPad App: Sonic CD originally appeared on TUAW – The Unofficial Apple Weblog on Tue, 27 Dec 2011 20:30:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Postcard on the Run giveaway: discounts, free postcard packs and a personal card from Selena Gomez!

Selena Gomez, Postcard on the Run, and TUAW have teamed up for an awesome promotion for all our readers, as well as the chance to win some pretty sweet prizes to boot.

Postcard on the Run is an iOS and Android app that allows you to bring a physical touch to your digital memories by letting you turn any image on your iOS device into a physical postcard that can be mailed by the postal service to anyone, anywhere in the world. Besides being a great app, Postcard on the Run has some serious star power behind it with investor and creative advisor Selena Gomez. You can check out my review of Postcard on the Run here and read my interview with Selena here. Then be sure to leave a comment in this post to enter the prize giveaways.

Just what are those prizes? A little something for everyone.

Everyone reading this post can use the promo code “TUAWSG” when ordering postcards through Postcard on the Run. All you need to do is download the free app, then enter the code after you’ve customized your postcard and are ready to check out. The promo code is worth 30% off your order. The code is good until January 15th, 2012.

10 First Prizes: We’re also giving away codes for 10-postcard packs to ten lucky readers. Each prize gives a single winner a code for ten free postcards they can create and mail for free through the Postcard on the Run app.

Grand Prize: One lucky winner will receive a personal postcard from Selena Gomez. The winner will be the envy of her 25 million Facebook fans and 9.1 million Twitter followers. And chances are it will be the coolest postcard you’ve ever received.

So, want to win 10 free Postcard on the Run postcards or a postcard from Selena Gomez herself? Here are the rules:

  • Open to legal US residents of the 50 United States and the District of Columbia and Canada (excluding Quebec) who are 18 and older.
  • To enter simply leave a comment on this post.
  • The comment must be left before Thursday, December 29, 2011, 11:59 PM Eastern Daylight Time.
  • You may enter only once.
  • Ten First Prize winners will be selected in a random drawing. Each winner will receive one Postcard on the Run promo code good for ten free postcards (Total Value: Up to US$19.99 per winner).
  • One Grand Prize winner will be selected in a random drawing. Winner will receive one personal postcard from Selena Gomez.
  • Click Here for complete Official Rules.
  • Winners will be contacted by email after the conclusion of the drawing.

Now leave your comment below and good luck!

Postcard on the Run giveaway: discounts, free postcard packs and a personal card from Selena Gomez! originally appeared on TUAW – The Unofficial Apple Weblog on Tue, 27 Dec 2011 20:00:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Foxconn doubles factory size to meet iPhone demand

Chinese manufacturer Foxconn is growing again, with recent reports stating that the company is doubling the size of one of its production lines in order to keep up with production for current and future Apple products. The Foxconn Science Park in Zhengzhou is undergoing a $1.1 billion expansion, which will double the current output of about 200,000, with more than 130,000 workers kicking out tons of products for sale all over the world.

The facilities are apparently going through constant updates, so Foxconn is pushing for more and more production all the time, rather than waiting for a big plan to finish and then updating everything. But by this time next year, the work is all scheduled to be finished, which should make for getting plenty of iPhone 5s out the door.

Foxconn looks to be the most direct and open beneficiary of all of Apple’s success, and it’s wasting no time at all in expanding its operations to make even more money off of the sustained demand for Apple’s products. You have to wonder what the endgame of this looks like, if Apple ever decides to go with another production line. I don’t know if there will ever be another company that would need this kind of setup in the same way. We’ll have to see.

Foxconn doubles factory size to meet iPhone demand originally appeared on TUAW – The Unofficial Apple Weblog on Tue, 27 Dec 2011 19:00:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Nominate your favorite iPad social networking app for TUAW’s Best of 2011

During December and January, The Unofficial Apple Weblog is soliciting your nominations and votes for the best products for Mac, iPhone/iPod touch, and iPad. We’ll start with nominations in a category, and then tally your votes for the top-nominated products a few days later. The winner in each category receives the highly-coveted title of TUAW Best of 2011.

In the next category for the TUAW Best of 2011 awards, we want to know what you consider your favorite iPad social networking app.

You’ve got a lot of choices in this category. One of my personal favorites is the Tapatalk Forum App (US$2.99) that makes working with online forums a piece of cake. Maybe you like making Skype (free) calls, posting on Facebook (free), or looking for the love of your life with the eHarmony (free) app

It’s up to you to tell TUAW about your favorite iPad social networking app. Leave your nomination in the comments below. Voting will start soon!

Nominations close at 11:59 PM ET on December 29, 2011.

Nominate your favorite iPad social networking app for TUAW’s Best of 2011 originally appeared on TUAW – The Unofficial Apple Weblog on Tue, 27 Dec 2011 18:30:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Reports suggest Apple retail had a great Christmas

We’ve already heard that the iPhone and iOS had a record day this Christmas weekend, and here’s even more stats proving that’s the case. First up, the latest data from Flurry Analytics points out that both iOS and Android saw not only record activations over the holiday weekend, with as many as 6.8 million new devices connecting up to their respective app stores for the first time. And of course with new devices comes new app downloads: Flurry says there were around 242 million app downloads on Christmas Day alone, a rise of more than 125% compared to the previous month’s average (which itself has been high, I believe, ever since Thanksgiving).

GigaOm also cites some other usage figures, including the fact that over 7% of new purchases made on a mobile device this past Sunday were on an iPad. That means people wasted no time at all in breaking open their new Apple tablets and using them to buy more stuff.

All in all, it sounds like quite the phenomenal weekend for Apple, and all of the various developers and services that rely on the App Store for their livelihoods. I’m sure we haven’t seen the last of these kinds of statistics. Stay tuned for more in the coming days and weeks to hear just how great a Christmas it was for the iOS ecosystem.

Reports suggest Apple retail had a great Christmas originally appeared on TUAW – The Unofficial Apple Weblog on Tue, 27 Dec 2011 18:00:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Navigon finds itself atop TUAW Best of 2011 voting results

The results of our reader poll for the best iPhone navigation app of 2011 are in. Navigon’s iPhone navigation products lead the pack with 46.7 percent of the votes, besting second-place TomTom with only 21.7 percent.

Navigon’s products include regional, national and continent-wide GPS navigation apps. Starting at US$19.99 for the Navigon U.S. West, Central or East apps and going up to $69.99 for the complete Navigon Europe, these apps are full-featured. They are easy to set up and run, give understandable voice turn-by-turn instructions, show the lane that you’re supposed to be in for turns off of major highways, include a 3D map display, and can even provide pedestrian navigation in major cities.

Congratulations to Navigon for coming out on top in this highly-contested category in the TUAW Best of 2011 voting.

Navigon finds itself atop TUAW Best of 2011 voting results originally appeared on TUAW – The Unofficial Apple Weblog on Tue, 27 Dec 2011 17:30:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Daily Mac App: Fireworks HD

Some apps deliver exactly what they say on the package. Fireworks HD provides a display of artistic explosions to the desktop. Retailing for just $0.99, Fireworks HD works both as an app and a screen saver.

Unlike most fireworks apps, HD uses actual video footage rather than simulated emitter effects. That means the app download is 1.5 GB, and the full app takes up 3.55 GB in its basic release.

If you work with a primary SSD with limited storage space like I do, this might not be the best app for you. Or you might want to move it to a secondary drive and run it from there.

Are its sound effects “shockingly great” as the marketing text suggests? Actually, yes. They are far better than those you normally get in these kinds of apps. And the fireworks are quite lovely to look at. For several minutes at a time.

There’s no “story” per se, the way there is in a real show and unless you really, really, really like fireworks, you might not feel that the huge disk requirements and the limited functionality make the app worth a purchase.

New Year’s is coming up. If you’re looking for a fireworks app, have lots of room on your disk, and are ready to supply your own music, it’s a good one to have.

Daily Mac App: Fireworks HD originally appeared on TUAW – The Unofficial Apple Weblog on Tue, 27 Dec 2011 17:00:00 EST. Please see our terms for use of feeds.

Source | Permalink | Email this | Comments

Open Source: Library For Easier iOS Game Center Implementation With Local Score And Achievement Caching

I’ve mentioned some excellent resources on using the iOS Game Center API in the past such as this tutorial on creating multiplayer games using the Game Center API and a library for in game achievement notifications to match the look of game center.

Today I came across a library not only wraps game center functionality making it easier to use your game with Apple’s Game Center, but also keeps a local cache of your achievements and scores.  The data is synchronized when you connect to Game Center.

The library also utilizes the above mentioned in game notifications library to generate its achievement notifications.

The library is from Funky Visions and You can find the library on Github here.

You can read more about the library and how to use it on the Funky Visions blog here.

A very handy library if you plan on using Game Center.

[via Alex Curylo]

©2011 iPhone, iOS 5, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.

.

DeliciousTwitterTechnoratiFacebookLinkedInEmail