Tag Archives: iphone

XCode 4 – Dismissing a Keyboard after UITextField input

I originally ran into this issue back in November of 2010, while writing the original version of my iCIDR tool (hey network admins, you should buy this awesome tool now, before the price goes up!).

It’s trivial to enable a keyboard and to change the button, BUT to make it go away, and then actually wire that event into your code to do something use is not as simple as I had originally hoped!

Strategy entails using the keyboards ‘Return’ key to signal that one is done. Seems useful, but only if you have a single line text input. In my case, that’s what I’m looking at, single line input, so that’s the solution I’m going to try.

First order of business is to highlight your text area (I’m only going to be addressing the text input object), and shift to the properties tab (icon looks like this: ). Change the dropdown to the ‘Return Button’ text you wish to use. I like to use ‘DONE’, so, that’s what this image shows. Oh.. and yeah, you are also getting a little sneak peak at the newest generation of iCIDR.

The tricky part is understanding that you need to make sure your ViewController’s header file is modified to implement UITextFieldDelegate.

This is how that might look:

@interface iPhoneCalculatorViewController : UIViewController {
UITextField* seeTextField;
}
@end

Now, when the view loads, the Text box in the view needs to be addressed and wired up to the Keyboard action. Even though I defined a nice fancy label name for my object, so far I’ve only found this method to address the object ID by it’s ID. I think this is pretty funky but, cest la vie. Here is where I set the tag, also in the same view organizer dialogs:

Following that I enabled viewDidLoad (boilerplate code normally commented out), created a local variable pointer to the View’s input text box, and then set a delegator to that pointer in the main ViewContoller.

// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad
{
UITextField *iPhoneInputText = (UITextField *) [self.view viewWithTag:1001]; // try to locate the object with the tag
iPhoneInputText.delegate = self; // assign a delegation.
[super viewDidLoad];
}

Moving along, I had to implement the The textFieldShouldReturn method in my ViewController class. This had to be defined to execute on the abandonment of the first responder:


// Should trap all Keyboard Return Events
- (BOOL) textFieldShouldReturn:(UITextField*)textField {
[textField resignFirstResponder];
//[self calculateOperation]; // ENTRY POINT
return NO; // default return value is YES, this is changed to NO to.... (sorry, now I've forgotten!)
}

Here is the keyboard that pops up, with the highlighted ‘Done’ button.

iCIDR 2.0 - keyboard in action (still photo)

The method (BOOL) textFieldShouldReturn is now registered to get the text input object the keyboard was typing into.

Now it’s your job (and mine…) do make it do something useful!!


Support the author, buy the App!

iCIDR - David DeMartini

iOS5 – 200 new features and improvements, the highlights


Here is a breakdown, from Apple, highlighting the over 200 and new features in iOS 5!!

Notifications

  • Swipe from the top of any screen to view notifications in one place with Notification Centerthis is one of my favorite features. When you receive messages, voicemail or calls while ‘away’ from your phone the alerts are stacked on a screen that can be accessed by simply swiping down the screen. Much less intrusive, and very, very useful
  • New notifications appear briefly at the top of the screenbig improvement over the modal dialogs that popped up on previous versions that disrupted anything you where doing at the time
  • View notifications from lock screenswipe down from the lock screen and jump right to a notice, message, call, etc.
  • Slide the notification app icon to the right on the lock screen to go directly to the app

iMessage

  • Send and receive unlimited text, photo, and video messages with other iOS 5 usersthis is a great feature. For instance I’m able to communicate with my daughter’s iPhone from my iPad, no need to grab my phone if I want to send her some info I found on my iPad – great productivity boost. Plus, it does not required the cellular SMS transport technology!
  • Track messages with delivery and read receiptsknow when the recipient read the message – very nice
  • Group messaging and secure encryption
  • Works over cellular network and Wi-Fi*very nice!! avoid SMS charges when roaming, especially overseas. While in Spain I communicated with my boss with SMS quite often, but when I got home 1/2 of big fat cell bill were SMS charges!!! This should reduce if not eliminate that.

Newsstand

  • Automatically organizes magazine and newspaper subscriptions on Home Screen
  • Displays the cover of the latest issue
  • Background downloads of new issues

Reminders for managing to do lists

  • Syncs with iCloud, iCal and Outlookkeep calendars on multiple devices in sync. I’ve had some issues with this where any calendar entry already synced across devices, now created a separate entry from each device, messy. Might be something I didn’t do right.. but I’m not totally tech ignorant, so I think others will find that glitch annoying
  • Location-based reminders when you leave or arrive at a location for iPhone 4S and iPhone 4

Built-in support for Twitter

  • Sign-in once in Settings and tweet directly from Camera, Photos, Maps, Safari and YouTube
  • Add location to any tweet
  • View twitter profile pictures and usernames in Contacts

Camera improvements for devices with cameras

  • Double click the home button when device is asleep to bring up a camera shortcut on iPhone 4S, iPhone 4, iPhone 3GS and iPod touch (4th generation)
  • Volume Up button to take a pictureever hold the phone in landscape mode and fumbled to press the front button, well I have, and enabling a side button is a real awesome feature, sort of like a ‘real’ camera
  • Optional grid lines to line up shotsThis really helps me, I often tild my cameras for some reason, nothing like a little help
  • Pinch to zoom in the preview screen
  • Swipe to camera roll from preview screen
  • Tap and hold to lock focus and exposure, iPad 2 and iPod touch (4th generation) only support exposure lock

Photo improvements for devices with cameras

  • Crop and rotate
  • Red eye removal
  • One tap enhance
  • Organize photos into albums

Mail improvements

  • Format text using bold, italic, or underlined fonts
  • Indentation control
  • Drag to rearrange names in address fields
  • Flag messages
  • Mass mark messages as flagged, read or unreadwhat once was just an option to bulk delete, now offers these other bulk actions, a nice improvement
  • Customize mail alert soundsOK, this is the first I’ve not done myself, but I love the custom sounds for SMS, so I’m going to be trying this today!
  • S/MIME

Calendar improvements

  • Year view on iPad and new Week view for iPhone and iPod touch
  • Tap to create an event
  • View and add event attachments

Game Center improvements

  • Use personal photos for your Game Center account
  • Compare your overall achievement scores with your friends
  • Find new Game Center friends with friend recommendations and friends of friends
  • Discover new games with custom game recommendations

AirPlay Mirroring for iPad 2 and iPhone 4S

    Multitasking Gestures for iPad

    • Use four or five fingers to pinch to the Home Screen
    • Swipe up to reveal the multitasking bar
    • Swipe left or right to switch between apps

    On-device setup, activation and configuration with Setup Assistant

      Software updates available over the air without tethering

      • this is great, no longer need to plug into the computer, get your apps and music ‘magically’ over the air via iCloud.. awesomeness

      iCloud support

      • iTunes in the Cloudawesome, using it a lot
      • Photo Stream
      • Documents in the Cloud
      • Apps and Books automatic download and purchase historymega awesomeness, new apps I bought appeared everywhere I wanted it, no need to do much of anything at all!
      • Backup
      • Contacts, Calendar, and MailSyncing all devices behind the scenes, off-line and without hands-on action. As noted, the only thing I’ve had issues with were some duplicate calendar entries
      • Find My iPhone

      Redesigned Music app for iPad

        Hourly weather forecast

          Real-time stock quotes

            Wireless sync to iTunes

              Keyboard improvements

              • Split keyboard for iPadI dig this (see my other post) thumbs much happier now
              • Improved autocorrection accuracy
              • Improved Chinese and Japanese input
              • New Emoji keyboard
              • Personal dictionary for autocorrection
              • Optionally create keyboard short cuts for frequently used words

              Accessibility improvements

              • Option to light LED flash on incoming calls and alerts for iPhone 4S and iPhone 4
              • Custom vibration patterns for incoming calls on iPhone
              • New interface for using iOS with mobility-impairment input devices
              • Option to speak a selection of text
              • Custom element labeling for VoiceOver

              Exchange ActiveSync improvements

              • Wirelessly sync tasks
              • Mark messages as flagged, read or unread
              • Improved offline support
              • Save a new contact from a GAL service

              Products compatible with this software update:

              • iPhone 4S
              • iPhone 4
              • iPhone 3GS
              • iPad 2
              • iPad
              • iPod touch (4th generation)
              • iPod touch (3rd generation)

              iPhone 4S almost here, FedEx tracking site not even NRT.

              I received the shipping confirmation and tracking code yesterday. I’m quite excited about tracking my little phone package back and forth across the US:

              The FedEx site seems to lag several hours behind the tracking updates. As of midnight, the status was still showing;

              At 03:00 this morning, it’s showing that it arrived at BFI yesterday evening:

              iPhone Package Tracking

              I was hoping for a something a little more NRT (Near Real Time).

              Those of you that have checked out my new website see that I’m all about displaying the latest data I can acquire.

              Then there is the question of why I am awake at 03:00 PDT to even LOOK at this data. Insomnia is a regular part of my life.. something I’ve battled for years.. and some of it might be childish anticipation of playing with an awesome new toy, phone.

              Even when it arrives some time Friday (today), I will have to go through several steps to get it activated. How many.. a lot.. (me thinks). This is direct from my ‘Welcome to the Borg’ e-mail sent from AT&T:

              Congratulations! With AT&T, you get the nations’ fastest mobile broadband network* and the best coverage worldwide – more phones that work in more countries**.

              To Activate your Device and utilize the entire suite of features included with your service, you MUST follow these steps IN ORDER;

              1. Charge your iPhone.

              2. Check all voicemail messages on your existing device. Once your new iPhone has been activated, all voicemail messages and greetings on the former device will be lost. (Existing AT&T Customers Only).

              3. Turn it ON and follow the on-screen instructions. Your iPhone may prompt you to connect to iTunes via a Mac or PC. Install it for FREE!

              4. Synch iPhone with your contacts, calendars and bookmarks on your computer and with music, video and other content from your iTunes library.

              5. Activate your device online at some-website or by calling 1-555-555-1212 from another phone.

              6. Turn ON your iPhone and make a test call. If your test call is not successful, wait one hour to allow the activation process to complete then try to make another call.

              Once in hand, it’s going to be at least an hour of charging before I can even start to migrate the many gigabytes of information, contacts, photos, songs, videos and notes from the old white 3GS to my new white 4S.

              I’m glad they released the white phone right out of the gate this time. I think they lost some initial iPhone 4 sales while people who like white phones (such as myself) waited out the initial order surge. Could this explain the massive initial orders that completely blew away the iPhone 4 release records? Probably not, but it was a factor for me. It removed the decision to wait for the white phone or order the new black one and live with it.

              So.. here I sit, at 04:12, typing up a half-coherent ranty blog, wondering if I’ll get back to sleep or I’ll simply fire up the VPN and perform some of my day job.

              iOS 5 – what I really like about the new iPhone OS

              What’s not to like about a shiny new OS update for the Apple Mobile platforms? It’s new, so, it has to be better? RIGHT?

              Well, yes, it IS BETTER! And it fixes some long nagging short complaints I’d had, mostly simple little things. The most interesting ones I have tried so far, are discussed here.

              Check out my ‘iOS New Features Rundown Post for more details!

              Now you can assign custom Text Notification Tones

              YES! Finally! I can set a custom tune (like a silent one.. for those really annoying people) for both phone and text communications for any Contact in your Contacts List. And not only that, they implemented it so you don’t need to use the same tone for both. This is something I really REALLY like!

              Setting separate Ringtone and SMS Tones - new in iOS5

              iPad Split Keyboard. Thumb-typing made easy!

              Every wish that your thumbs were a little longer to reach the keys in the center of the iPad keyboard? Well, maybe you wouldn’t want them longer, how weird would your hand look, right? Well, at least they could have done something….. and…. they did. Introducing the split keyboard on the iPad.

              Split keyboard makes thumb-typing easier on the iPad!

              Above, I am testing out this cool new feature while updating my Brewer’s Log. Too bad most of you won’t be able to taste this amazing Pumpkin IPA when it get’s kegged in less than a week!

              iCloud delivery of your purchased Apps, from the cloud!

              I’ve already found this to be one VERY useful feature. What I’m showing here is the App Store on my phone, and you can see one of the Apps has the little cloud icon next to it. That means I’ve purchased this application, but it’s not installed on this device. Now, instead of having to be wired into a computer to get easy access to my already purchased Apps, it’s available, over the cellular network, or WiFi, from a cloud storage area just for your apps. So, what’s the big deal? Well, if you want to add the app to this device, it’s as simple as pushing the ‘iCloud’ button and viola.. it’s downloading to your device!

              iCloud and App Store working together

              Another really nice feature, that is not illustrated in this photo, is that you can configure your account to automatically download any purchased app to ALL your devices (automatically, not need to sync) from this iCloud account. I’ve use this feature already as well and I love it. Again, no need to plug into the computer, or track down the app in the App store. It’s all done for you (of course you can turn this feature off it you like), easy as Apple pie!

              News Stand – get your electronic magazines on your mobile device!

              Do you have a hard-copy magazine that you subscribe to? Maybe they have a mobile version too. If that is the case, you can (again automatically) receive the latest edition, downloaded to your News Stand (here comes that iCloud thing again…) as soon as it’s published. This is a feature I’ll be making use of for certain (sorry, I’d not yet tracked down my magazines when I took this photo… I’ll be sure to update it when I do).

              New App - the Apple Newstand - get it hot off the presses!

              Handling of SMS and E-mail alerts on various screens

              For you current iPhone users, you know how annoying it is to get an SMS (or if you have e-mail alerts on, and e-mail) while on the phone or using another app. It pops up a modal dialog box and completely interferes with whatever it is that you are doing.

              NO MORE! The alert boxes are no longer modal, and if you receive an voice mail and an SMS at nearly the same time, the alerts are neatly stacked together, and after a few seconds, these automatically disappear from the screen. They are smaller, less obnoxious and they GO AWAY on their own! Finally!

              IPad, Tool with no Purpose or Technology Masterpiece

              Unpublished from last year. this entry was started on this iPad when I purchased it almost exactly one year ago today. At the end of the article Is an update on how this first year with the devices has been.

              October 2010
              What is that weird little device that seems to serve no purpose? It’s not a laptop, not phone, not a book nor hot plate.

              Well, I am about to find out, and those of you following my blog can too. In fact I’m typing this blog entry with one right now. It’s only spent 4 days in my care to date, but so far this weird ‘little’ thing has engendered itself to me, my kids and a couple of other people whom have had some time to really try one out, beyond a little demo at the local electronics retailer

              Even if this becomes little more than an eBook reader, I feel good about the investment. I do think this will find a place in my daily technology and recreation routines.

              For instance, I can say already that it’s a fantastic way to enjoy a streamed movie or TV show anywhere you have some network but no TV. My first test of this was to enjoy 3 episodes of Galactica, streamed by Netflix to the iPad. I loved it.

              I’ll have much more to say about it as I try out some daily business tasks. One of the first will be setting up some sample photography galleries to show prospective clients.

              Another will be use of the device in the day to day administration of systems and IT management.

              Stick around as I explore the ups and downs of the iPad over the next month or so.

              Along with the iPad I am testing out Apples new Apple TV. Both are getting rave reviews in my house right now.

              October 2011

              iPad

              It’s been a year with the iPad and I find it far more useful today than I had anticipated. it finds duty as a video blog reader (keeping up on the latest on CSS3 and HTML5 is a lot more comfortable to do on the couch with the little iPad than in my office at the laptop), as a second device to keep reference material handy while developing websites, and also as a very handy entertainment device.

              An example of it’s utility would be as a very handy repository of Radio Control reference, setup and instruction documentation while at the race track. not needing to haul around my expensive laptop, power supplies for a long day, and the space a laptop would take up in the pits are all reasons the iPad shines.

              in fact , I am comfortably using it to update this blog entry. I just wish I’d kept on task with the plan to write reviews as I explored this very cool device. and now with iOS 5 installed,it’s even
              more useful (for instance I can send SMS like iMessage communications to other iOS5 devices over WiFi (no. cellular network required).

              AppleTV

              In short. it’s fantastic. So happy and impressed am I with the AppleTV that I’ve recommended it to (and sometimes installed for) friends and family. It’s ability to access and deliver online content to the comfort of a living room.

              Integration with Netflix was impressive enough that I totally cancelled my cable, switched to DSL and saved myself several hundred dollars a year. My kids and I have not missed it at all. If I need to get any sort of broadcast news, I can pull true HD off the air for free, with a $5 set of old-school rabbit ears. Talk about bargain.

              If you enjoy YouTube, Vimeo or Internet Radio, Apple TV has that covered as well. It’s an integrated entertainment system in a box little more than a pack of cards I size. You do need an HDMI compatible TV / entertainment system to take advantage of this awesome little black box that pulls content off a CAT5 cable or WiFi network. You do need a high speed Internet connection of some type for it to function.

              That’s all for today’s update. I’ll make an honest effort to write a more detailed review of each, but we are having a rare sunny day and I’m going to go and take advantage of that!!

              IPad, Tool with no Purpose or Technology Masterpiece

              iPad? Really?
              What is that weird little device that seems to serve no purpose? It’s not a laptop, not phone, not a book nor hot plate.

              Well, I am about to find out, and those of you following my blog can too. In fact I’m typing this blog entry with one right now. It’s only spent 4 days in my care to date, but so far this weird ‘little’ thing has engendered itself to me, my kids and a couple of other people whom have had some time to really try one out, beyond a little demo at the local electronics retailer

              Even if this becomes little more than an eBook reader, I feel good about the investment. I do think this will find a place in my daily technology and recreation routines.

              For instance, I can say already that it’s a fantastic way to enjoy a streamed movie or TV show anywhere you have some network but no TV. My first test of this was to enjoy 3 episodes od Galactica, streamed by Netflix to the iPad. I loved it.

              I’ll have much more to say about it as I try out some daily business tasks. One of the first will be setting up some sample photography galleries to show prospective clients.

              Another will be use of the device in the day to day administration of systems and IT management.

              Stick around as I explore the ups and downs of the iPad over the next month or so.

              Along with the iPad I am testing out Apples new Apple TV. Both are getting rave reviews in my house right now.

              Next step completed, Apple Developer Program signup.

              Well, after reading the 37-page EULA, which, for a 37 page EULA was not that tough to stomach, I completed the registration request, sent off my annual fees and now I await to here the disposition of my request for acceptance into the Apple iPod/iPad/iPhone Application Development family.

              In the mean time, I continue to narrow in on the first of what I hope to be a few lucrative and useful Apps, and begin physical device testing next week.

              It’s almost 4:00PM now, maybe I should go and get some lunch…


              UPDATE:

              Developer License delivered! It takes a while to get the CSR generated, sent to Apple the the completed Certificate returned. Then it has to be installed and integrated into the IDE/SDK. But once that’s done, I’m deploying apps for test to my iPhone.

              The stakes (and motivation) just got a lot higher!

              First image manipulation App – DONE

              Shot of image manip app, here with the image shunk to a fractional size.

              I have been writing code like a mad-man. 8-10 hours per day for the company I work for, then another 6-8 for my own education. Well beyond the ‘Hello World’ apps of just a week or so ago.

              Of the apps I’ve worked on in the last few days, this one involved the most code writing. Well mostly copying from examples in the books. Some examples were downright scary! Like one that executed a division of two calculated numbers without doing a check to see if the divisor was zero! Want to crash a program? Divide some number by zero. I’ve not yet any language that takes too kindly to such shenanigans!

              So.. back on topic. The App. It’s pretty simple and uses and embedded image (you can’t just pick one and mess it up), but it leverages a bunch of the built in functions in the SDK that are just fantastic.

              It’s pretty easy to handle event driving multi-touch gestures in the code. The design of the iPhone itself was groundbreaking.. but now seeing he amazing work Apple developers did in the SDK.. it’s.. jaw dropping. They really designed a full system, not some bolted together pile of .DLLs and crap that competitors doe (ever written an app in the old MFC? NIGHTMARE!).

              So.. the education continues. I’m at little bit closer to getting the match functions of my first *real to be published* app spec’d out. I don’t think I’ll need tangent and radian calculations, or need to use the Pythagorean Theorem to solve for the distance between two points in Cartesian space…. but if I do, I now have it well embedded in my brain how to do it.

              Upward and onward…. just another day in the life of a professional computer geek working hard to comfortably retire before he dies.

              iPhone Apping – 5 more Apps (3 completed, 2 underway)

              A little peek at the apps I've been working on.
              It’s been a really good and really bad few days of writing iPhone Apps based on a couple of books I’ve been reading. About 8 hours were burned slamming my head on the table, because the tutorial was just not *quite* clear enough on the exact actions suggested to accomplish a task.

              It was not until I decided to just S-can it (for the 3rd time) and move onto the next task, and finally another after that, when I realized just exactly what the author really meant to say when wiring up a bunch of Objective-C code. Then I also found that I’d checked a checkbox (I have a newer SDK version with an option not shows in the texts) that really hosed me up by creating a TABLE based window when I wanted a NORMAL window. Lesson learned.

              No matter what, I have deleted all the old ‘Hello World’ apps and have constructed 3 complete functioning aps that display, overlay and swap images. I picked a few of my favorites from recent work. The results are pretty good! It’s not *easy* to write iPhone apps, but with some planning, and not Boat in the Water shot-gun hacky-do programming.. it can be a pretty quick development cycle.

              So the two Apps I intend to release for public consumption are now underway. Once is about 50% complete (I need to port some PERL code I have to Objective-C) and the other is a just a bare-bones framework and a bunch of scribbled notes. No matter.. progress has been made!

              iPhone tutorial app #5 – images meet the road

              Writing code for another iPhone App.

              Finally, an app that has moving parts. Things are starting to get interesting.

              This next app is again, a View Application (single view). The tutorial indicates that we’ll just have to play some tricks to give the illusion of the changes.. image overlays as you will.

              Now.. finally, some code has to be written, so here is the first block that is from the controllers main header file:


              hello005ViewController.h

              //
              //  hello005ViewController.h
              //  hello005
              //
              //  Created by David DeMartini on 10/3/10.
              //  Copyright 2010 David DeMartini. All rights reserved.
              //
              
              #import <UIKit/UIKit.h>
              
              @interface hello005ViewController : UIViewController {
               IBOutlet UILabel *label;
               IBOutlet UIImageView *uiImageView;
              }
              
              // Tell the compiler about these properties of our little object-method pointers
              //   nonatomic - let the Apple core code handle the mutability (dynamics) of object
              //   retain    - tell compiler that we reserve the right to fuck up our own meory management
              @property (nonatomic, retain) IBOutlet UILabel *label;
              @property (nonatomic, retain) IBOutlet UIImageView *UIImageView;
              
              // Inform compiler that a Button Action (IB) will be part of this application
              - (IBAction)buttonPressed:(id)sendr;
              
              @end

              Next, the Implementation file must be written.

              hello005ViewController.m

              //
              //  hello005ViewController.m
              //  hello005
              //
              //  Created by David DeMartini on 10/3/10.
              //  Copyright 2010 David DeMartini. All rights reserved.
              //
              
              #import "hello005ViewController.h"
              
              @implementation hello005ViewController
              
              // Command synthesis
              @synthesize label, uiImageView;  // defined that which needs synthesis
              
              - (IBAction)buttonPressed:(id)sendr {
               
              //  This modifies the text in object pointed to by 'label' to this string
               label.text = @"The only thing better than a cute girl, is two!";
              
               // Defining a pointer to the physical Image file (UIImage)
               UIImage    *imageSource = [UIImage imageNamed: @"top.jpg"];
               // Setting the synthsized object image property to the pointer to image file
               uiImageView.image = imageSource;
              }
              
              - (void)didReceiveMemoryWarning {
               // Releases the view if it doesn't have a superview.
               [super didReceiveMemoryWarning];
              
               // Release any cached data, images, etc that aren't in use.
              }
              
              - (void)viewDidUnload {
               // Release any retained subviews of the main view.
               // e.g. self.myOutlet = nil;
              }
              
              - (void)dealloc {
               [super dealloc];
              }
              
              @end

              Now that the primary parts of the code are in place, it’s time to assemble a UI. Adding the main text label (at the top – temporary text displayed for design purposes) and the big button that will cause stuff to execute.

              Deep in the UI layout phase using the SDK User Interface Builder.

              Shortly after this however, everything went sideways. It would appear there are more brain-dead errors in the book frustrating my progress. It is forcing me to read more and more of the Objective-C documentation than the book suggested I’d have to. But to fix the errors, I must first gain at least a minimum understanding of their nature.

              About 5 hours of work. Most of it burned trying to get the last bit of it working… the image swap. Outside of that everything else worked great. With intent to use a fair bit of image swapping when I put the final first app out.. I’d better get a handle on this.


              Update: 4-October-2010

              After sleeping on it last night, I rebuilt the entire thing from the ground up again. This time going in phases from the initial background image to the label an the button, compiling and executing. That worked perfectly.

              Next part I fired up the screen cast the Professor made of him stepping through the process. It then became quite clear (it was not in the book) that the overlay container does NOT reference the second (upper) image directly, but instead is used simply as it’s container. This (of course, being the smart guy I am) made sense the first time around, and I did (what I though) was exactly that. Created a view with not image. Regardless, I re-created my steps this morning, created the empty container, re-compiled and ran. WORKED! Except it looked like doo-doo because the upper level image was NOT properly sized, and the overlay effect did not work. The book (and the screen cast) made it seem like it would expand as required. IT DOES NOT.

              iPhone simulator with icon for my 'CuteGirl' app.

              So, I referenced the the image view to the top image so I could size and position it to create just the desired effect, then I removed the image association and re-compiled again. This time.. PERFECTION

              And the icing on the cake is that it now has a custom icon image for the application. That was pretty simple too. Once I checked online and found that despite what the book said (image size 320×480 which made ZERO sense..) the icon image size should be 57 x 57 pixels and of the format .png (at least the book had the latter part right).


              Geek Links:

            • iPhone & iPad Application Custom Icon Design Guidelines