Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional iOS Database Application Programming, 2nd Edition
This is the forum to discuss the Wrox book Professional iOS Database Application Programming, 2nd Edition by Patrick Alessi; ISBN: 978-1-118-39184-6-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional iOS Database Application Programming, 2nd Edition 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 13th, 2014, 11:26 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Chapter2

i have problems with chapter2, i tried to copy the codes from the sample codes, and even the database after i failed so many times. everything is the same. but in the

Code:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    if (!self.detailViewController) {
        self.detailViewController = [[DetailViewController alloc] initWithNibName:@"DetailViewController" bundle:nil];
    }
    
    self.detailViewController.detailItem = [self.products objectAtIndex:[indexPath row]];
    [self.navigationController pushViewController:self.detailViewController animated:YES];
}
part i have problems, as i select a widget, i got an error message as:


2014-08-13 23:23:37.644 Catalog[4880:60b] Cannot find executable for CFBundle 0x8e39470 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/CertUIFramework.axbundle> (not loaded)
2014-08-13 23:23:37.719 Catalog[4880:60b] Opening Database
2014-08-13 23:23:40.433 Catalog[4880:60b] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </Users/chh/Library/Application Support/iPhone Simulator/7.1/Applications/D4E29D47-2D05-4F2A-AD43-3C6BA232BF8B/Catalog.app> (loaded)' with name 'DetailViewController''
*** First throw call stack:
(
0 CoreFoundation 0x018dc1e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x0165b8e5 objc_exception_throw + 44
2 CoreFoundation 0x018dbfbb +[NSException raise:format:] + 139
3 UIKit 0x005d0b7b -[UINib instantiateWithOwner:options:] + 951
4 UIKit 0x004396f5 -[UIViewController _loadViewFromNibNamed:bundle:] + 280
5 UIKit 0x00439e9d -[UIViewController loadView] + 302
6 UIKit 0x0043a0d3 -[UIViewController loadViewIfRequired] + 78
7 UIKit 0x0043a5d9 -[UIViewController view] + 35
8 UIKit 0x00454942 -[UINavigationController _startCustomTransition:] + 778
9 UIKit 0x004618f7 -[UINavigationController _startDeferredTransitionIfNeeded:] + 688
10 UIKit 0x004624e9 -[UINavigationController __viewWillLayoutSubviews] + 57
11 UIKit 0x005a30d1 -[UILayoutContainerView layoutSubviews] + 213
12 UIKit 0x0e46021b -[UILayoutContainerViewAccessibility(SafeCategory) layoutSubviews] + 50
13 UIKit 0x0038a964 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 355
14 libobjc.A.dylib 0x0166d82b -[NSObject performSelector:withObject:] + 70
15 QuartzCore 0x03d4745a -[CALayer layoutSublayers] + 148
16 QuartzCore 0x03d3b244 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 380
17 QuartzCore 0x03d3b0b0 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11T ransactionE + 26
18 QuartzCore 0x03ca17fa _ZN2CA7Context18commit_transactionEPNS_11Transacti onE + 294
19 QuartzCore 0x03ca2b85 _ZN2CA11Transaction6commitEv + 393
20 QuartzCore 0x03ca3258 _ZN2CA11Transaction17observer_callbackEP19__CFRunL oopObservermPv + 92
21 CoreFoundation 0x018a436e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK _FUNCTION__ + 30
22 CoreFoundation 0x018a42bf __CFRunLoopDoObservers + 399
23 CoreFoundation 0x01882254 __CFRunLoopRun + 1076
24 CoreFoundation 0x018819d3 CFRunLoopRunSpecific + 467
25 CoreFoundation 0x018817eb CFRunLoopRunInMode + 123
26 GraphicsServices 0x038d05ee GSEventRunModal + 192
27 GraphicsServices 0x038d042b GSEventRun + 104
28 UIKit 0x0031bf9b UIApplicationMain + 1225
29 Catalog 0x0000480d main + 141
30 libdyld.dylib 0x01e25701 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

can anyone help me?

thank you.
Reply With Quote
  #2 (permalink)  
Old August 18th, 2014, 01:15 AM
史 良
Guest
 
Posts: n/a
Default hello

do not too much focus on what you are not understand if you study this book by yourself ,it is a good habit that when you meet something you are not understand just goto a small skip .

to solve the problem you can take a try if the code is in right documents,thank you
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter2-using startActivityForResult ArunKarkare BOOK: Beginning Android Application Development 3 May 20th, 2013 08:29 AM
Chapter2 : To Do List example albiert BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 2 June 1st, 2010 01:28 PM
Chapter2 error BlackSoul BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 1 January 4th, 2010 03:27 PM
Chapter2 netblue BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 2 June 5th, 2007 01:19 AM
Chapter2:problem in rendering weather table samouille666 JSP Basics 0 January 17th, 2007 09:50 AM



All times are GMT -4. The time now is 08:54 AM.


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