Hi to all,
I am creating a game named space invaders in opengl. i am creating a windows based application.i have imported my existing space invaders project which does not have any .xib into this windows based application. in this application i have one .xib .In this .xib i have one button. when i click on this button i want my existing...
Hello Everybody!
I'm testing my app on simulator 3.1.3 release, it runs fine. When it come to simulator 3.2 or 4.0, it crashes right from the beginning:
2010-09-28 18:36:39.957 Angeloni[23268:207] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'This coder requires that replaced objects be returned from init...
In my application i want to set inactivity timeout (IdleTime).
How can i set this?
Is there any way to monitor all events in myappdelegate?
For eg i have two UIViewController classes.
when i click one control in UIViewController1 or UIViewController2 it should be monitored by myappdelegate
...
Hi,
I am working on a app where i need to get a image from camera but before that i want to allow cropping of the image. I am using UIImagePickerControllerCropRect in UiImagePicker to get the cropped rectangle. I am able to get the original image from the picker but i am not able to crop it using UIImagePickerControllerCropRect. Can som...
Hi
I want to convet int to string in objective c how to do that.
my code.
for (i=0; i<=200; i=i+10) {
// here i want to convet the value of i into string how to do this
}
Thanks in Advance.
...
How to save and retrive previous context from iphone ?
I am using the following code
int lineX=0;lineY=0;Xpos = 0;Ypos = 20;
CGContextRef context1;
context1 = UIGraphicsGetCurrentContext();
for(int i=0;i<[DataTable count];i++)
{
NSString *strVal = [DataTable objectAtIndex:i];
[strVal retain];
NSLog(@"strval = %@",strVal);...
Will it cause any issues with submission.I dont want to remove it as it works well for me.
...
Hi to all,
hello I have the game project which is create on the opengles application .And I have some page which I have to display starting of the game on button action .How can I do this .can I create window base application for for button action to call game loop which create on the opengles .Can it pssible to do that .If yes how can ...
Hi,
Currently I am getting the values from statement like this:
[[NSString stringWithUTF8String:(char *)sqlite3_column_text(ReturnStatement,0)] retain];
I want to get the values by entering the column name like this:
[[NSString stringWithUTF8String:(char *)sqlite3_column_text(ReturnStatement,@"FirstColumn")] retain];
Is there any ...
Hello All,
Is it possible to use higher resolution images as it is i.e 1800 *1200.
After checking with instrument come to know. image unpacking is done by [ width * height * 4 ] and in this case it takes 8 MB.
Problem comes when we have two UIImageViews and both are holding UIImages with 1800 * 1200 res.
it is clear application will ...
I have a .NET web service that is returning the following:
<ArrayOfAddressLocation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/">
<AddressLocation>
<AddressLocationId>0</AddressLocationId>
<SubscribedCount>0</SubscribedCount>
<City>Flor...
A read some posts here and google and don´t find a substancial answer. Supose I have a largest number and I have to assing to a variable. The problem raise when I have a GUI where the user will enter the number. How I can´t know what the value the user will put in a field (let´s think in a UItextField), when I get the number and then ass...
NSString *ref = [item stringByMatching:myregex1 capture:2];
NSString *value = [item stringByMatching:myregex1 capture:3];
I simply need to add this to my orderTable uitableview, how the hell do i do it:P. i cannot find a simple way of doing this please help :)
i would like it to be in the uitableview like this
(@"%@ :: %@", ref, valu...
How to debug iPhone aplication? How can i find out what's going on in simulator? i'm beginner in xcode development and don't know what's problem with code below.. the app is just crashing on button click..
- (void)viewDidLoad {
myLabel = [[UILabel alloc]init];
[myLabel setText:@"Labela"];
myLabel.frame = CGRectMake(50.0,5...
Hi everyone
I'm debugging an iphone app in iphone simulator and need to do a job described as title
there is a socks proxy in mac's system network setting
the proxy works fine when using NSMutableURLRequest, but can not works with MPMoviePlayerController
please help, thanks.
...
Heres my array
NSMutableArray *arrayTmp= [[NSMutableArray alloc] init];
I populate it like this
double price = sqlite3_column_double(stm, 3);
double accumPrice = sqlite3_column_double(stm, 4);
[arrayTmp addObject:[NSDictionary dictionaryWithObjectsAndKeys:desc,@"desc",
due,@"due", price,@"price", accumPrice,@"accum",nil]];
...
Fetching http://graph.facebook.com/514417 from the Facebook Graph API gives me the NSString @"http://www.facebook.com/mattdipasquale". How do I extract just mattdipasquale every time? Can I assume the link will be the same format every time? In that case, I could just do:
NSString *fbUsername = [[result valueForKey:@"link"] substringFro...
Hi all,
I have this very strange problem. I create an MPMoviePlayerController in my view controller with the following code:
player = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"vid96" ofType:@"mov"]]];
player.fullscreen = YES;
player.controlStyle = MPMovieControl...
Hi All,
I have tableview with custom cells.The cell is having 2 textfields.From viewcontroller i need to find the changed text in that textfield.
if i use
* (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string
this method is not at calling calling from the mainvie...
NSURL *url = [NSURL URLWithString:
[NSString stringWithFormat:@"%@%@%@%@%@",[ConfigDB valueForKey:categoryURL], @"?ownerId=", 20,@"&userId=",64]];
can any one tell me wat wrong with this
...