iphone

multithreading library for iPhone/iPad

I have been developing an iPad application in which I want to implement multithreading, so that I can use background threads for network communication. I tried NSThread and NSOperation but I can't get a proper mechanism for thread communication in NSThread and the application crashes randomly when I use NSOperation and NSOperatioQueue.....

How can I use structured files in objective-C?

Hello I am developing for iPhone/iPad. I already know how to read/write text files from/to the documents folder and now I need to write structured files, e.g. let's say I have a class in my application that is called A which contains an integer i and integer j and an instance of another class B, let's call it b, now I want to write A t...

Automatically observing filesystem changes in UITableView

Hello, I'm hoping someone could suggest a way that I could automatically "observe" changes in a filesystem with a UITableView. I have a UITableView populated with the contents of files in my directory. NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [path...

Need a calendar control for iPhone app.

Does anyone know where I can find a ready to use calendar control (open source or library) that looks more or less like the calendar found in the built in iPhone app? ...

how can i close view after completion of playing sound

hi i am new to iphone. what i did is displaying a grid of images and by selecting the image from the grid selected image will be displayed on imageview along with sound i am using the fallowing code to play audio NSString *newAudioFile = [[NSBundle mainBundle] pathForResource:@”MusicFile” ofType:@”mp3″]; AVAudioPlayer *audioPlayer = ...

iphone bluetooth multiple detection errors

HI I am trying to establish bluetooth connection between multiple iphone devices. I am stuck with the problem of multiple detection. i.e one of the devices getting detected twice in the other device and some times device is getting detected as peer in its own connected devices list. Please help me out of this problem Thanks in advance....

Dismiss other popovercontrollers for ipad app

My program has four PopOverControllers. How can I make sure that when i open one of them the other three are closed? ...

Editing Core Data row from entity linked to managedObjectContext via relationship

Hi All I need to edit a row of data in an Entity that has a relationship with my main Entity from my fetchedResultsController, in this case "theUser" being an instance of my User entity. I basically need to edit one of the CannedMessage rows that already exist and save it. I can access the "Messages" fine as you see below, but am unsur...

iPad frame width and height mixup in landscape

THANKS FOR THE OVERWHELMING HELP HERE. I'VE JUST GIVEN THE BOUNTY TO THE CLOSEST ANSWER BECAUSE I WANT TO START A NEW BOUNTY, SO ONCE AGAIN THANKS IN ABSOLUTE TRUCKLOADS FOR THE TOP QUALITY HELP GIVEN HERE </sarc> I have done what this question said here: http://stackoverflow.com/questions/2647786/landscape-mode-only-for-iphone-or-ipad ...

Finishing an app - getting the binary file?

I've finished developing my app and I want to release it. What is the binary file that apple is looking for in the submission for in iTunes connect? ...

Edit Tempo of the song through iphone application

I need to edit the tempo of the live song means when song is playing its tempo can be made slow,medium etc in iphone through code. I am very much new to this. Any Tutorial or sample code demonstrating this application will be highly appreciated Thanking you ...

iPhone Settings.bundle - how to disable/enable a setting based on other settings?

Hard to explain, but luckily there's an example. On an iPhone, when you go to Settings > Nike + iPod, in the app's settings, when you set Nike+iPod to off, it disables the rest of the settings. How do I do that? Use one setting to disable or toggle off another setting? ...

iPhone : TabBar overlaps above UIScrollView

I have created an iPhone UI programmatically but I just can't figure out how to fit a view so that it doesn't get overlapped by the TabBar. Here's the ownership hierarchy: - AppDelegate UITabBarController UINavigationController x UITableViewController UIViewController (with XIB) UIScrollViewController (in the same XIB as parent) ...

NSURLConnection or NSurl?

Hi, what is the difference between NSURLConnection and NSUrl? i mean if i am downloading a file, does it make and difference which one i use? Rgds for: NSString *myUrl = @"http://www.test.com/"; NSString *returnData = [NSString stringWithContentsOfURL:[NSURL URLWithString: myUrl]]; or NSString *myUrl = @"http://w...

How do I join two video files in my iPhone application using FFMPEG?

I would like to join two video files within my iPhone application using the FFMPEG library, but I can't figure out how to do this. Does anyone have any experience with this? ...

problem wile calling the class from another class

hi i am new to iphone what i did is i am creating two classes named classA and classB. I am displaying 10 thumbs in classA ViewDidLoad and adding the images in classB by declaring the function.Along with images sound is also added.While click on thumb it will be displayed on imageview. it works fine. But After completion of sound play i ...

crash when loading big sizes images on scroll view iPad

Hi Folks , I have a 31 images with sizes 1448 *2048 . I have to add it on scroll view and swap horizontly on iPad. But problem is when i swap across 6th images . It crashes with memory warning . I have used the logic of page control example from developer.apple.com. in ViewDidload of this class I have set the scroll view frame same ...

Send images to twitter through code

HI all, can we post images with tweets in twittter through code in iphone???? Check the screen shots I am using busyAgent.this helps me to tweet wiothout posting images, i need to send images to at the time of tweeting Guidence regards ...

timer automatically starts while application launch

hi i ma new to iphone. what i did is crating a timer and calling a function afer 4 sec intervel. (I write code for timer in viewdidload).Timer will run automatically while application lunch in simulator it self. But i need the timer will start after first 8 sec and timer will repeat for every 4 sec how can i done this pls help me post s...

Tutorial for MGTwitterEngine for Iphone

Is there a good tutorial available to use MGTwitterEngine on the Iphone? Call me dumb but I cant figure it out. All I want to do is update the users twitter status through my Iphone app. Basic Authentication is not supported any more. So how do i do this? Im looking for the easiest most simple way available. ...