1
vote
0answers
22 views

Converted app to StoryBoards, pre launch exception in libc++abi.dylib

I converted my existing app to +iOS5 with storyboards. I get an exception before the app reaches applicationDidLaunch.. I've pasted the log right here: http://pastebin.com/9us4K7t5 Any help is ...
0
votes
0answers
36 views

Editing the row of tableview(displaying a array of strings) which uses binding causes exception

I am a newbie in using Bindings. I started developing a sample application which has a table view and arraycontroller. My data is a array of strings. I am able to display the strings in the array ...
6
votes
1answer
75 views

NSKeyedUnarchiver - try/catch needed?

As I understand, the use of @try/@catch blocks is discouraged, because exceptions should only be thrown at unrecoverable, catastrophic errors (refer to this discussion with a nice answer by @bbum: ...
-5
votes
3answers
95 views

How to add try/catch in Objective-C? [closed]

I'm new in iOS. I worked on c#. How can I handle exceptions in iOS? Is it possible to use construct try { //Code } catch { //Exception } finally { //You shall pass! } Please help
1
vote
3answers
33 views

Error: catch parameter is not a pointer to an interface type iOS

I'm trying to use Exception handling in my Xcode project. - (void)viewDidLoad { [super viewDidLoad]; authenticate = [[UseDb alloc]init]; @try{ [authenticate createDatabase]; } ...
-2
votes
4answers
111 views

“this class is not key value coding-compliant for the key…”

for the past few days i keep on getting this error everytime i run a build in xCode: Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIApplication 0x1dd4a1c0> ...
0
votes
0answers
69 views

ARC memory leaks as the result of raising a NSException with dynamic content

Using ARC, the following examples all have memory leaks as the result of an exception being raised that have dynamic content. It is no surprise that the dynamic content has not been released because ...
0
votes
1answer
78 views

How to subclass NSException and use in a better way? [duplicate]

I would like to subclass NSException and use it in my app for the application specific errors or exceptions. Is it right way to do so? If YES, how to do it in a better way. If NO, why it is not the ...
0
votes
2answers
64 views

Unexpected exception with NSInvocation

Following code throws an exception. vcClass is a Class object (inheritor from UIViewController). Self contains my implementation of viewWillAppear: SEL viewWillAppearSEL = ...
0
votes
1answer
283 views

Objective-C exception handling

I'm trying to figure out how exception handling works in Objective-C. So I'm forcing an exception by performing a selector (boom) which does not exist. When I run it, the application crushes, the ...
-3
votes
1answer
77 views

NSURL image from URL iPhone

I'm getting error while getting image from url for some images, and again for other images not. NSURL* imageURL = [[API sharedInstance] urlForImageWithName:[NSString stringWithFormat:@"%@", [photo ...
1
vote
1answer
114 views

How to catch EXC_BAD_ACCESS (code=1, address=0x00XXXXXX)?

I'm trying to log all the crashes that are occurring in my app. I've written a signalHandler and an exceptionHandler. I'm registering the signalHandler for all the signals that are defined in ...
-2
votes
1answer
45 views

message sent to deallocated instance for MyClass [closed]

I am recieving this message from compiler -[MyClass performSelector:withObject:withObject:]: message sent to deallocated instance 0x821bf30 It is not taking me too any error line. How can i get the ...
1
vote
1answer
81 views

iOS - “This class is not key value coding-compliant” when using associations?

I have the following classes declared in my iOS application... @interface UserRegistrationRequest : BaseServiceRequest @property (nonatomic, retain) NSString *username; @property (nonatomic, retain) ...
14
votes
5answers
402 views

Under what conditions might instancesRespondToSelector: return true, but performSelector: throw an exception

I have code distributed in a library which looks like this: if ([[NSString class] instancesRespondToSelector: @selector(JSONValue)]) { NSString *jsonString = [[[NSString alloc] initWithData: ...

1 2 3 4 5 12
15 30 50 per page