Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
0answers
23 views

NSData == nil is slow

I have a method which checks an NSData's value as follows: if (data == nil) { //Method } But despite all of the stuff inside the method, it turns out that over 80% of the time is spent on the ...
0
votes
3answers
26 views

How send NSData using POST from a iOS application?

NSData *imageData = UIImagePNGRepresentation(image); How send imageData using POST?
0
votes
0answers
19 views

iOS crash #memcpy

I have some code that sets a UIImage of a UIImageView. self.image = [[UIImageView alloc] init]; image.image = [UIImage imageWithData:data]; data is set using data = [NSData ...
0
votes
1answer
23 views

Archived NSData, isEqualToData: and Empty Strings

I have a custom object containing several NSString objects, some ints and a few bools. I am using NSKeyedArchiver to archive a copy of the object into an NSData object. The user than makes changes ...
0
votes
1answer
26 views

Encode All Properties of NSObject to NSData

So I'm new to iOS, but I'm a bit baffled by the complexity of a simple task. I'm trying to store my custom NSObject class called 'Vehicle' in NSUserDefaults. Obviously, this can't be done, so I'll ...
0
votes
2answers
16 views

Accessing a song loaded with AVPlayer

I want to save a song that I loaded with method - (id)initWithURL: of AVPlayer, so I don't need to load it next time I want to play it. I've spent hours browsing Apple documentation, but haven't found ...
0
votes
2answers
60 views

Convert NSData to byte array

I want to convert the NSData into byte array and given below is the code that i have used NSData *imageData = UIImagePNGRepresentation(recipeImage.image); NSUInteger len = [imageData ...
0
votes
0answers
16 views

Encode response of HTTP , it's MIME but dont' show final part of its

- (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (_receivedData) { NSString* _str = [[NSString alloc]initWithData:_receivedData encoding:NSASCIIStringEncoding]; ...
-1
votes
2answers
12 views

Download Data from SQL Database for use in iPhone App

Can someone point me to a tutorial or some resource that will show me how I can download or use a sql database from a web server and use that content in an app. I want to control content in an app ...
0
votes
0answers
24 views

Unzip data to use on monotouch

My app contains zip files of data like audio that when need to use, my strategies is to unzip spatial file on memory and use it. i use a Decompress method like this: static byte[] Decompress(byte[] ...
3
votes
2answers
57 views

Show NSData as binary in a NSString

I have a binary file (file.bin) in the resources folder, I want to read it and show it as binary. The idea its to put the binary information into a array, but, at first, I'm trying to show it in a ...
0
votes
0answers
36 views

iOS UIImage returns null after downloading from NSURL

I have a loop that cycles through an array of urls which then saves images from those urls. This all works fine until the last image which returns a null image. I have verified that the url is correct ...
2
votes
2answers
36 views

How to get a slice data of a huge video file

I wanna load a video file into NSData,if I use dataWithContentsOfFile:,it will spend lots of memory when the file is too huge. How can I get a specific data of a file with offset and length. I need to ...
0
votes
2answers
33 views

How to automatic call function every x time [closed]

Possible Duplicate: How to call function in every “X” minute? How to periodically call a certain function? - (void)viewDidLoad { [super viewDidLoad]; [self ...
0
votes
0answers
28 views

Displaying symbols in Label

I m having a trouble in displaying strings. I m using some symbols as below, m² represents square meters Ω represents ohms I want to display this symbols in label, currents its displays "Ω" or ...

1 2 3 4 5 47
15 30 50 per page