Skip to main content

All Questions

Tagged with
1 vote
8 answers
110 views

How to copy last three pieces data in an NSMutableArray to another NSMutableArray?

In an NSMutableArray I have data like this, MutableArray1:( "22.298166 , 73.165809", "22.300598 , 73.167183", "22.298101 , 73.166188", "22.298128 , 73....
Anki's user avatar
  • 589
1 vote
2 answers
216 views

Adding a Header to and NSArray for a Dynamic Table cell

[super viewDidLoad]; self.Lodgelist = [[NSArray alloc] initWithObjects:@"Sterling ", @"Sterling location 1234", @"Sterling location 12345",nil];...
Appsicode's user avatar
0 votes
3 answers
4k views

Reduce image file size

Is it possible to reduce the image size without changing dimension of image.Similar like photoshop does. e.g If Actual image size 400Kb with dimension 400 X 300 and if I edit & save image has low ...
Anand's user avatar
  • 2,096
0 votes
1 answer
3k views

NSMutableURLRequest checking for Https SSL certificate validation

I am trying to utilize ssl for my application and apparently I don't notice that NSURLConnection is throwing any exception when using https with self signed cert. I am curious what might be the ...
topgun's user avatar
  • 2,573
2 votes
0 answers
422 views

NSSortDescriptor with Comparator Changes Behavior on Fetch vs Initial Load

I'm getting really bizarre behavior with an NSSortDescriptor. Let's start with my code: NSSortDescriptor *nameExists = [NSSortDescriptor sortDescriptorWithKey:@"firstName" ascending:YES comparator:^(...
Michael D.'s user avatar
1 vote
1 answer
3k views

Problem with CGImageDestination and file naming

I am capturing images from the camera, using AVCapture as I have need of speed and the standard kit stuff is way too slow. I have problem whereby the file that is being output (an animated GIF) is ...
Cocoadelica's user avatar
  • 3,026
2 votes
4 answers
2k views

Check for Internet Connection

I need to develop an Iphone application which need to know whether the Iphone is connected to internet. If yes, I need load some data from server. So, is it possible to check internet connection in ...
cthesky's user avatar
  • 41
8 votes
3 answers
4k views

How to remove all NSLog statements in a file using a regular expression with the Xcode Find & Replace option

I have an Xcode project which has lots of NSLog statementS. I have to submit my app to get approval from Apple, and I would like to remove all NSLog statementS which I had used for debugging. I want ...
Vijay-Apple-Dev.blogspot.com's user avatar
4 votes
5 answers
2k views

Problem showing/hiding keyboard in iPhone app

In my iPhone app, I am facing some problems related to keyboard show/hide behavior. I have three text fields; when the third text field is clicked, I want to display a UIPickerView and hide the ...
ios's user avatar
  • 6,164
0 votes
2 answers
721 views

Core data fails in 'validateForInsert'

For a project I'm working on I'm using core data to store the application's data. The application loads XML from the internet and tries to store the objects generated from the parsed results in the ...
Emiel's user avatar
  • 1,502
0 votes
2 answers
373 views

iphone posting data to a url

This is the string I need to post http://www.mysite.com/save?details={"name"} Iam trying the following code; NSString *post =[NSString stringWithFormat:@"details={\"name\"}"]; NSString *hostStr = @"...
jaggi's user avatar
  • 19
0 votes
2 answers
6k views

getting the object passed to the NSThread selector

When I'm creating an NSThread I pass it a number that I want the process to be aware of. I can understand how to set the number but I cannot figure out how to read the number from the thread selector ...
dubbeat's user avatar
  • 7,847
3 votes
1 answer
359 views

How to improve the level of code standards in iPhone Development? [duplicate]

Possible Duplicate: iPhone/Cocoa Coding Standards I have done some of the applications and my apps are in the AppStore now. But i am always thinking how to write the optimized code and efficient ...
Pugalmuni's user avatar
  • 9,370
0 votes
3 answers
275 views

How to set predefined macro key for NSLog(@"mytext") typing and cursor focus and selected to edit between " mytext "

How to set predefined macro key for NSLog(@"mytext") typing and cursor focus and selected to edit between " mytext " Please we use NSLog almost everywhere. So if we get to type nslog then we will ...
rithik's user avatar
  • 778
2 votes
1 answer
188 views

icon selector using two view

Need help with the following. I am creating two different combinations of view/controllers that allow me to add/edit a set of information , think tasks or some type of to-do. I have all the data ...
jason's user avatar
  • 5,481

15 30 50 per page