We've Moved - eBookFrenzy is now Payload Publishing.

Visit our new site at https://www.payloadbooks.com.


iOS 7 App Development Essentials Errata

iOS 7 App Development Essentials was published on September 26, 2013. The current revision is 1.0e. The revision of your copy of the book can be found in the copyright page at the start of the book.

Known Issues with Revision 1.0d

82.4 Accessing the Twitter API

Due to changes in version 1.1 of the Twitter API, some code changes are necessary in the getTimeLine method located in the TwitterAppViewController.m file:

Previous code:
NSURL *requestURL = [NSURL
  URLWithString:@"https://api.twitter.com/1/statuses/home_timeline.json"];

NSMutableDictionary *parameters = [[NSMutableDictionary alloc] init];

[parameters setObject:@"20" forKey:@"count"];
[parameters setObject:@"1" forKey:@"include_entities"];
New code:
NSURL *requestURL =
  [NSURL URLWithString:@"https://api.twitter.com/1.1/statuses/user_timeline.json"];

NSDictionary *parameters = @{@"screen_name" : @"@techotopia",
                             @"include_rts" : @"0",
                             @"trim_user" : @"1",
                             @"count" : @"20"};

The above code downloads the Twitter stream for the @techotopia user. To access a different user, change the screen_name value in the parameters dictionary.

Known Issues with Revision 1.0c

73.4 - Accessing Current Reminders

The code fragment in this section of the book should read as follows:
    NSArray *calendars = [_eventStore
       calendarsForEntityType:EKEntityTypeReminder];

    NSPredicate *predicates = 
       [_eventStore predicateForRemindersInCalendars:calendars];

    [_eventStore fetchRemindersMatchingPredicate:predicates 
      completion:^(NSArray *reminders) {
        for (EKReminder *reminder in reminders) {
                                NSLog(@"Reminder = %@", reminder.title);
       }
   }];

Known Issues with Revision 1.0

16.3 - Adding Auto Layout Constraints

The instructions outlined in the section are best performed if the orientation of the scene is first rotated back to portrait mode.

26.6 - Configuring the Detail View Controller

This section refers to selecting the SplitViewControllerViewCOntroller scene. This should refer to the SplitViewDetailViewController scene.

If you have encountered an issue with the book not listed above please contact us as at [email protected] and we will work to resolve the issue for you as quickly as possible.





Featured Titles


$32.99$32.99$32.99$19.99
Tell me more... Tell me more... Tell me more... Tell me more...

$32.99$19.99$9.99$19.99
Tell me more... Tell me more... Tell me more... Tell me more...