I have this code in one of my classes:
- (void) processArray
{
NSMutableArray* array = [self getArray];
. . .
[array release];
array = nil;
}
- (NSMutableArray*) getArray
{
//NO 1:
NSMutableArray* array = [[NSMutableArray alloc]init];
//NO 2:
NSMutableArray* array = [NSMutableArray array];
. . .
return...
Hello i have an CLLocation which is my userLocation,
now in another class i have to open the maps app and make a route from the userLocation to
another point.
But how can i get in the another class the Coordinates of userLocation?
please help me i have no idea
...
Hello all,
I am facing the error of "error for object 0x1c8250: double free" when delloc for my controller is called. I causes some memory issues. Kindly guide me about this error. What is the best thing to do to prevent this error.
...
how can i create a executable file to iphone? i have written my code in objective c using xcode i want to create a application that must run on any iphone..
i want to go by a legal way with no jail breaking.
please any body help..
...
Hello,
Can you give me some links or example programs to create UIButtons on a view and on action on it, we need to create one more button on other view..
plz help
...
this is my code :
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale...
HI all,
When I tried to access the IM list of the contact using the following code:
ABMultiValueRef IMS = ABRecordCopyValue(record, kABPersonInstantMessageProperty);
if(IMS)
{
int IMSCount = ABMultiValueGetCount(IMS);
for(int iIM =0; iIM < IMSCount; ++iIM)
{
CFDictionaryRef dict = ABMultiValueC...
Hey,
does anybody know, how i could create automatically a UML class diagram from an already existent iphone project. Is it possible?
Thanks in advance.
...
Hi, I'm using some of the 3D effects in core animation and am noticing a very unpleasant flicker when some of my layers enter into positive territory on the zAxis (just around the point they go behind the "camera" i guess... is there anyway to resolve this?
...
I have an app where I need a BOOL value to persist across launches.
The value should be YES on the first launch and user-customizable thereafter.
But if it's the first launch, how do I set the default to YES before the program is run?
...
hi all, my question is that i want to write a simple code in xcode, by which if i bring another iphone closer to mine, and make contact... then certain function is called ?
help ..
...
I'm developing for the iPhone using C# and Mono's Full AOT technology. According to their Limitations page (link text), unlike traditional Mono/.NET, code on the iPhone is statically compiled ahead of time instead of being compiled on demand by a JIT compiler.
When running on the hardware, the following exception occurs:
ExecutionEngin...
Hey,
I am releasing a Core Data based app and wondered what I need to consider if, in an update later down the line, I need to change the model.
How do I move existing user data on the device from the old data model into a new updated model?
Thanks
...
How bad is it to use Location Manager to retrieve the location information when MapView.showUserLocation is also TRUE?
I have a situation where i want to show the blue dot to indicate the user's current location, and i want to record the user's current location after some time interval. Having said that, there may be situations where th...
Hi all,
I have added both a UIPickerView and a UIDatePickerView to a single view. I set the
pickerview delegate to self.view and it works fine.
However, if I select the UIDatePicker first, I cannot get the value of 'selectedRowInComponent`. If I select the UIPickerView first I can.
Does UIDatePickerView respond to selectedRowInCompo...
Xcode is throwing an error at me:
malloc: * error for object
0x103f000: pointer being freed was not
allocated
* set a breakpoint in malloc_error_break to debug
I tracked down the code until a line where I do this:
- (void)inputValueCommitted:(NSString *)animationID finished:(BOOL)finished context:(void *)context {
//...
Hi,
how i can deploy an application to iphone but not run the application. is it possible ?
...
Something must be wrong with this code right here:
+ (UIImage*)captureView:(UIView *)theView {
UIGraphicsBeginImageContext(theView.frame.size);
[theView.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
return newImage;
...
Hi ,
i have few questions regarding flash components in iphone
I would like to know if a safari browser in iphone can play a flash component(swf file).
Do i need to download a plugin for safari ? If so will the plugin update the existing safari browser or will it be another standalone application which plays the swf file in the safari ...
I have anViewA and anViewB. They're plain UIView objects with a lot of subviews. I need just the bitmap representation or lets say the "image" of anViewA copied over to anViewB, so that anViewB looks like anViewA (without having subviews like anViewA).
First I tried to use the -copy message, but unfortunately UIView doesn't conform to N...