Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 21 of 21
Search took 0.02 seconds.
Search: Posts Made By: FrankNatoli
Forum: BOOK: Beginning iOS 4 Application Development May 2nd, 2012, 01:19 PM
Replies: 2
Views: 2,392
Posted By FrankNatoli
Multi-dimensional plist

Great, exactly what I needed to know.

I'm actually implementing something a bit more complicated than the chapter demo, so I will have an inner array of dicts, but your plist shows that the outer...
Forum: BOOK: Beginning iOS 4 Application Development May 2nd, 2012, 08:07 AM
Replies: 2
Views: 2,392
Posted By FrankNatoli
Multi-dimensional plist

Chapter 8, Using the Table View, starts with a relatively simple plist. Although the book doesn't show the XML source of the plist, I believe the simple example is an array of "dict" objects.

But...
Forum: BOOK: Beginning iOS 4 Application Development July 27th, 2011, 10:08 AM
Replies: 3
Views: 708
Posted By FrankNatoli
I know paraphrasing is dangerous, but essentially...

I know paraphrasing is dangerous, but essentially a UIWindow is a crippled UIViewController? Can do basic things but not more complex things?
Forum: BOOK: Beginning iOS 4 Application Development July 26th, 2011, 07:15 PM
Replies: 3
Views: 708
Posted By FrankNatoli
Windows based versus View based

The Chapter 4 example of a Windows based application, pages 85-91, drags and drops a View Controller onto the window and then populates the view with various objects.

But it seems that one can...
Forum: BOOK: Beginning iOS 4 Application Development July 10th, 2011, 01:11 PM
Replies: 6
Views: 1,223
Posted By FrankNatoli
Chapter 9 -- Application Preferences

Does anyone have any experience with attempting to implement the Chapter 9 "try it out" with Xcode 4? Create settings bundle, start app, no application settings visible. Go to next section, tweak...
Forum: BOOK: Beginning iOS 4 Application Development July 3rd, 2011, 01:52 PM
Replies: 3
Views: 2,478
Posted By FrankNatoli
Resolved

Used Dashcode to remove the "root" dictionary within a dictionary and now the program runs fine. Figure 8-15 is erroneous showing "root".
Forum: BOOK: Beginning iOS 4 Application Development July 3rd, 2011, 12:53 PM
Replies: 3
Views: 2,478
Posted By FrankNatoli
Chapter 8 TableView Blows Up

My effort to enter Chapter 8's "Table View", pages 211-215, results in ka-boom, see below:

GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)
Copyright 2004 Free...
Forum: BOOK: Beginning iOS 4 Application Development June 20th, 2011, 09:30 PM
Replies: 0
Views: 739
Posted By FrankNatoli
Chapter 7 ScreenRotations Errata

Apologies if this was already noted...

Initial "try out" of ScreenRotations doesn't work. You can rotate the iPhone, but the button doesn't reposition.

Looked at the downloaded project and found...
Forum: BOOK: Beginning iOS 4 Application Development June 13th, 2011, 08:55 PM
Replies: 17
Views: 4,982
Posted By FrankNatoli
I believe there is a getImage that is the reverse...

I believe there is a getImage that is the reverse of setImage. With that, you can get the parameters of the image in the view object.
Forum: BOOK: Beginning iOS 4 Application Development June 12th, 2011, 09:33 PM
Replies: 17
Views: 4,982
Posted By FrankNatoli
tempImageView is a pointer to an ImageView...

tempImageView is a pointer to an ImageView object, not an object in its own right. Thus the switch statement cases, when they invoke method setImage indirect tempImageView, are actually setting the...
Forum: BOOK: Beginning iOS 4 Application Development June 12th, 2011, 07:49 PM
Replies: 17
Views: 4,982
Posted By FrankNatoli
"The tag is NOT zero (Why?) so we enter the...

"The tag is NOT zero (Why?) so we enter the 'else' condition"

Ah. Step 4 on page 54 sez "with the first ImageView selected, open the Attributes Inspector window and set the Tag property to 0. Select...
Forum: BOOK: Beginning iOS 4 Application Development June 12th, 2011, 07:11 PM
Replies: 17
Views: 4,982
Posted By FrankNatoli
The "pageTurning" method does three things: (1)...

The "pageTurning" method does three things:

(1) the switch statement examines the updated "nextPage" and assigns the relevant image to "tempImageView"

(2) the if-then-else statement ping pongs...
Forum: BOOK: Beginning iOS 4 Application Development June 12th, 2011, 04:44 PM
Replies: 17
Views: 4,982
Posted By FrankNatoli
tempImageView is always the foreground...

tempImageView is always the foreground view.

bgImageView is always the background view.

The switch statement assigns the "nextPage" image to tempImageView.

The if-then-else statement flips between...
Forum: BOOK: Beginning iOS 4 Application Development June 12th, 2011, 12:17 PM
Replies: 17
Views: 4,982
Posted By FrankNatoli
I finally got the project working with Xcode 4....

I finally got the project working with Xcode 4. If you will list, step by step, exactly what you do for pages 54-62, I will repeat those exact steps and let you know where you went astray.

Would...
Forum: BOOK: Beginning iOS 4 Application Development June 5th, 2011, 08:47 PM
Replies: 2
Views: 1,814
Posted By FrankNatoli
So the messages to UIView are tweaking static...

So the messages to UIView are tweaking static members of a static class? And then when you "commit" the animation, the tweaks you've performed have their effect?

But what if more than one thread is...
Forum: BOOK: Beginning iOS 4 Application Development June 5th, 2011, 01:26 PM
Replies: 2
Views: 1,814
Posted By FrankNatoli
Chapter 4, Animating switching of views

Pages 101-103 provide a "try it out" to animate switching of views. It works. But how does Objective C associate the [UIView...] statements with the relevant view? UIView is a class, not an object,...
Forum: BOOK: Beginning iOS 4 Application Development May 31st, 2011, 08:29 PM
Replies: 4
Views: 1,219
Posted By FrankNatoli
windowBasedApp

Bob: thanks always for your help.

Regarding Core Data, when I first attempted windowBasedApp, as per Chapter 4, build failed, with some complaint about "no available environment" or something like...
Forum: BOOK: Beginning iOS 4 Application Development May 29th, 2011, 10:12 PM
Replies: 17
Views: 4,982
Posted By FrankNatoli
When you start as I am, an Apple neophyte, the...

When you start as I am, an Apple neophyte, the slightest error is a show stopper. A lot of the problems are Xcode 4 [the current release] versus Xcode 3.6 [the book version]. That's Apple's fault,...
Forum: BOOK: Beginning iOS 4 Application Development May 28th, 2011, 04:33 PM
Replies: 4
Views: 1,219
Posted By FrankNatoli
Had to do three things to make it work with Xcode...

Had to do three things to make it work with Xcode 4.

Step #4, had to drag the View Controller object from the Object Library not to the center Window but all the way to the Window object in the...
Forum: BOOK: Beginning iOS 4 Application Development May 27th, 2011, 12:47 PM
Replies: 4
Views: 1,219
Posted By FrankNatoli
Chapter 4, Dragging View Controller

Following "Try it out" for the windowBasedApp. Unfortunately, Xcode 4 not only looks different than the Xcode 3 examples in the book, but Xcode 4 doesn't function like the Xcode 3 examples in the...
Forum: BOOK: Beginning iOS 4 Application Development May 17th, 2011, 09:42 PM
Replies: 17
Views: 4,982
Posted By FrankNatoli
Chapter 3 Page Control and Image View

Did my very best to follow the instructions for "Page Control and Image View" on pages 54-62. I'm using Xcode 4.0 which is slightly later than the version the book uses. iPhone simulator shows the...
Showing results 1 to 21 of 21

 


All times are GMT -4. The time now is 09:01 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.