Wrox Programmer Forums
|
BOOK: Professional iPhone and iPad Database Application Programming
This is the forum to discuss the Wrox book Professional iPhone and iPad Database Application Programming by Patrick Alessi; ISBN: 978-0-470-63617-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional iPhone and iPad Database Application Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 23rd, 2011, 01:58 PM
Registered User
 
Join Date: May 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 7: saving date

Get the following error. Need help interpreting it:

I did check that the spelling of the selector is the same as the function name.

Code:
2011-06-23 10:54:19.027 Tasks[3903:207] -[EditDateController saveButtonPressed]: unrecognized selector sent to instance 0x4d5e3b0
2011-06-23 10:54:19.029 Tasks[3903:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[EditDateController saveButtonPressed]: unrecognized selector sent to instance 0x4d5e3b0'
*** Call stack at first throw:
(
	0   CoreFoundation                      0x00fac5a9 __exceptionPreprocess + 185
	1   libobjc.A.dylib                     0x01100313 objc_exception_throw + 44
	2   CoreFoundation                      0x00fae0bb -[NSObject(NSObject) doesNotRecognizeSelector:] + 187
	3   CoreFoundation                      0x00f1d966 ___forwarding___ + 966
	4   CoreFoundation                      0x00f1d522 _CF_forwarding_prep_0 + 50
	5   UIKit                               0x002c54fd -[UIApplication sendAction:to:from:forEvent:] + 119
	6   UIKit                               0x004d7cc3 -[UIBarButtonItem(UIInternal) _sendAction:withEvent:] + 156
	7   UIKit                               0x002c54fd -[UIApplication sendAction:to:from:forEvent:] + 119
	8   UIKit                               0x00355799 -[UIControl sendAction:to:forEvent:] + 67
	9   UIKit                               0x00357c2b -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 527
	10  UIKit                               0x003567d8 -[UIControl touchesEnded:withEvent:] + 458
	11  UIKit                               0x002e9ded -[UIWindow _sendTouchesForEvent:] + 567
	12  UIKit                               0x002cac37 -[UIApplication sendEvent:] + 447
	13  UIKit                               0x002cff2e _UIApplicationHandleEvent + 7576
	14  GraphicsServices                    0x01904992 PurpleEventCallback + 1550
	15  CoreFoundation                      0x00f8d944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
	16  CoreFoundation                      0x00eedcf7 __CFRunLoopDoSource1 + 215
	17  CoreFoundation                      0x00eeaf83 __CFRunLoopRun + 979
	18  CoreFoundation                      0x00eea840 CFRunLoopRunSpecific + 208
	19  CoreFoundation                      0x00eea761 CFRunLoopRunInMode + 97
	20  GraphicsServices                    0x019031c4 GSEventRunModal + 217
	21  GraphicsServices                    0x01903289 GSEventRun + 115
	22  UIKit                               0x002d3c93 UIApplicationMain + 1160
	23  Tasks                               0x000020e0 main + 102
	24  Tasks                               0x00002071 start + 53
	25  ???                                 0x00000001 0x0 + 1
)
 
Old June 24th, 2011, 08:27 AM
Friend of Wrox
 
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default

It would be helpful to see your code for the EditLocationController. I would also suggest that, if you haven't already done it, compare your code to the download. There are omissions in the book that are present in the download.

Bob





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 7: saving date spcalia BOOK: Professional iPhone and iPad Database Application Programming 0 June 23rd, 2011 01:57 PM
Chapter 8: Saving/Resuming Ace BOOK: Professional Windows Phone 7 Game Development: Creating Games using XNA Game Studio 4 0 June 22nd, 2011 06:35 PM
How to determine whether a date falls in Day Light Saving Time (DST) smandeh XSLT 2 November 5th, 2009 11:04 AM
Saving Date problem suhabassam JSP Basics 0 September 25th, 2005 01:50 AM
Saving Date value stephanel SQL Language 5 August 22nd, 2003 10:11 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.