Errata

Developing Enterprise iOS Applications

Errata for Developing Enterprise iOS Applications

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 40
United Kingdom

In the first else branch of the completionHandler block, there is the line: [self displayResponse:data]; outside of the second if/else, which could result in it being called twice.

I believe the mistake is that the second if/else that follows that line should not be there as it is shown on page 43 minus the the [self displayResponse:data]; line, as a more robust example.

William Boles  Apr 10, 2012 
Printed Page 46
Example 4-4

Don't need the [df release]; line

William Boles  Apr 10, 2012 
Printed Page 50
Example 4-7

"<newsitem\" should not have the "\" symbol following "<newsitem"

William Boles  Apr 10, 2012 
Printed Page 50
Example 4.7

<subject> tag is not closed with </subject> tag

William Boles  Apr 10, 2012 
Printed Page 51
Print out of example 4-7

Print out would not be formatted in that fashion, in example 4-7 the second <subject> tag does not have a following "\"

William Boles  Apr 10, 2012 
55
Frist Paragraph

Hi:

Thanks for a wonderful book. I am enjoying reading the book so far as I am learning Enterprise Application development with iOS, I am using iOS 5 with Xcode 4.3

I want to draw your attention towards a possible bug on Page 55 in the code snippet below

NSString *latitudeString =
[postalCode valueForKey:@"lat"];
NSString *northSouth = @"N";
if ([latitudeString characterAtIndex:0]== '-') {
northSouth = @"S";
latitudeString =
[latitudeString substringFromIndex:1];
}

The runtime throws the following exception because latitudeString is assigned a type NSDecimalNumber

2012-06-29 05:40:07.538 ButtonFun[6300:f803] Postal Code: 77027
2012-06-29 05:40:07.587 ButtonFun[6300:f803] City: Houston
2012-06-29 05:40:07.587 ButtonFun[6300:f803] County: Harris
2012-06-29 05:40:07.588 ButtonFun[6300:f803] State: Texas
2012-06-29 05:40:07.588 ButtonFun[6300:f803] lat: 29.739571
2012-06-29 05:40:07.589 ButtonFun[6300:f803] -[NSDecimalNumber characterAtIndex:]: unrecognized selector sent to instance 0x6843ec0
2012-06-29 05:40:07.590 ButtonFun[6300:f803] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSDecimalNumber characterAtIndex:]: unrecognized selector sent to instance 0x6843ec0'
*** First throw call stack:
(0x13bc052 0x154dd0a 0x13bdced 0x1322f00 0x1322ce2 0x3460 0x3c6a 0xa0656e 0x94364e 0x93c1f7 0x93befa 0x9cc0bd 0x3d8b445 0x3d8d4f0 0x12f3833 0x12f2db4 0x12f2ccb 0x12a5879 0x12a593e 0x13a9b 0x286d 0x27d5)
terminate called throwing an exception(lldb)

Please let me know if my finding is correct.

Thanks

Rizwan Raza  Jun 29, 2012 
PDF Page 97
Last paragraph

Paragraph claims that Apperian is an Apple spinoff. It's not, it's unconnected to Apple (other than that one of its founders used to work there.)

Anonymous  Jan 19, 2012