Hi,
I was using an app the other day that crashed, but as it crashed also asked to send an email with the crash info.
Does anyone know how this is done?
Perhaps it was an exception handler in the code that before it lets the app die, sent the email, but just wondering if there are any onCrash type hooks in the iphone sdk.
Thanks,
Chr...
I'd like to use clang on my Xcode iPhone project. However this is the getting started guide:
http://clang.llvm.org/get_started.html
I've been working with Xcode for a year but this is far far far from being understandable to me! Can anyone explain in plain english how to install and use Clang with my existing iPhone project? I am not f...
Is it acceptable to have a NSMutableArray within an NSDictionary? Or does the NSDictionary also have to be mutable?
The NSMutableArray will have values added to it at runtime, the NSDictionary will always have the same 2 NSMutableArrays.
Thanks,
Dan
...
Is there a way to present a modal view controller view before an action sheet has completely been dismissed? I'm trying to do it here but it seems that the callback has to complete before the modal view appears:
- (void)actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex
{
if (0 == buttonInde...
I have three sections in my hypothetical UITableView. I'd like one section that is in editing mode. The rest of the sections to not be in editing mode. Is this possible at all?
...
Hello, I need a background process to run every minute or so. I do not want this process to interfere with the responsiveness of the rest of the app. Would this be a good candidate for a thread? If so, how would you suggest I set up the thread - in particular, what classes/methods would be good to look into?
...
I'm basically trying to add a UITextField to a UITableViewCell upon tableView:commitEditingStyle:forRowAtIndexPath:. On insert, I want to add a UITextField over the existing cell.
I setup the textField with something like this:
-(void) setUpIndexField {
inputField = [[UITextField alloc] init];
inputField.textAlignment = UITextA...
I would like to have a main UIView take care of adding one of multiple UIViews as a subview. Since only one subview is active at any time, and the subview completely covers the main view, I might as well replace the main view. But this takes some effort, and I'm not sure if it would be worth the small gain in performance. Am I going to s...
We're working on a couple simple games and we have some performance problems that we keep running into, and I was curious if it was a code issue or a "we're using the wrong objects" issue.
Our games are basically simple ones that work as follows:
We have a custom view that we load, and a custom object that is our game engine. The view ...
In my cocoa app I am displaying a NSPanel as a modal 'window' of another NSPanel using:
[modalPanel setWorksWhenModal:YES];
[[NSApplication sharedApplication] beginSheet:modalPanel modalForWindow:mainPanel modalDelegate:nil didEndSelector:nil contextInfo:nil];
This works, however the NSTextField's that show up in that modal 'window' a...
i'm using windows xp what would be a good c compiler?
i want to learn c so that i can better understand the objective-c language for the iphone.
i have a great background in php so hopefully something will make sense
ps:
what sections should i put more focus on when learning c in getting prepared for objective-c?
thanks
Duplicate:
...
Is it possible to create multiple view or window in a (Window based) iPhone app ? If possible Plz tell me.
...
I know its probably a really simple thing, but I need to reload some data if some changes have been made from a subview and then the master view is returned to.
...
That's an issue I still don't understand.
Sometimes I have to write:
NSString* myVariable;
myVariable = @"Hey!";
Then, for example I define a Structure "DemoStruct" and get an Variable that uses it. Lets say I have a Structure that has x and y vars from type double.
I want to pass this var to a method which then manipulates my var, ...
My iPhone app needs to do some URL escape sequence encoding for a form parameter. The NSString stringByAddingPercentEscapesUsingEncoding as stringByAddingPercentEscapesUsingEncoding doesn't escape a lot. This is what I have
-(NSString*)currentMessageUrlEncoded{
CFStringRef originalURLString = (CFStringRef) self.currentMessage;
CFSt...
Is it true, that the Asterisk always means "Hey, that is a pointer!"
And an Pointer always holds an memory adress?
(Yes I know for the exception that a * is used for math operation)
For Example:
NSString* myString;
or
SomeClass* thatClass;
or
(*somePointerToAStruct).myStructComponent = 5;
I feel that there is more I need to k...
I know Java pretty well. I know now most of the Basics in Objective-C.
I know nothing about Photoshop. I know how to use TurboCAD 10 Professional, so I do have some experience in 3D object modelling. Although not much.
What do I have to learn step-by-step, to come to 3D game Development for iPhone? What Tools do I need? Which Books help...
Hi,
I was wondering how the autorelese works on the iPhone. I though that once you send an autorelease to an object it is guaranteed to be retained in till the end of the scope of the block the autorelease was sent. Is that correct?
I was initializing a view from a NIB in the applicationDidFinishLaunching like below:
(void)applica...
Can someone give me a bit more information on this error please?
Console only logs
Program exited with status value:101.
If you imagine I have a nsmutablearray:
It holds TimeEntry objects:
#import <Foundation/Foundation.h>
#import "Constants.h"
/*
#define KTimeEntryInformationKey @"TEInformation"
#define KTimeEntryFromKey @"TE...
I want to perform the same action over several objects stored in a NSSet.
My first attempt was using a fast enumeration:
for (id item in mySetOfObjects)
[item action];
which works pretty fine. Then I thought of:
[mySetOfObjects makeObjectsPerformSelector:@selector(action)];
And now, I don't know what is the best choice. As far...