iphone

Audio latency OpenAL or RemoteIO Audio Unit

I have non-looping audio that I need to have as little latency as hardware-ically (technical term) possible on iPhone/iPod touch. At an extreme, something that smoothly plays 10-20 samples in under a second, based on touches. Who is king for this task? OpenAL or Remote IO Audio Unit, and why? ...

Moving image along predetermined path?

Is it possible to set an image into motion along a predetermined path with the push of a button in iphone SDK? I'm not looking for anything fancy. I working on a simple concept, but this would save a lot of animation work. ...

How do I include CSS resource in programmatically generated HTML for iPhone UIWebView?

I am programmatically generating HTML and want to link to a CSS file that I've included in my Resources folder. I am using a baseURL of nil, and my CSS file is at the top level of the project file, but this "link" is definitely not working (ie, the CSS file is clearly not being loaded/found when the UIWebView displays the HTML). Is it p...

Data loading systems for the iPhone

I’m trying to decide the best way to load data into my app, it’s basically a book, but I want to have control of the chapter line number and chapter name ( so I can add comments and notes under relevant lines) etc. Both options allow me to do this. There’s going to be about 25 large-ish chapters. What would be the best overall in term...

transferring images between two iphones using gestures

Hello all, I'm wondering if it would be possible at all to transfer data between two different iphones using gestures on one iphone? For instance, flick an image on iphone A and it would show up on iphone B. I realize this would require some sort of communication channel between the two iphones (may be bluetooth?). Assuming such a co...

TTThumbsViewController example

Hello, anyone has a working example of a TTThumbsViewController used with files included in the bundle? I tried on my own but I think I'm missing something relevant. My controller instantiates correctly and it's initialized with a photo source and objects with the TTPhoto protocol. maxPhotoIndex is called correctly but photoAtIndex...

Is it possible to be notified when a UITableView finishes scrolling?

I referenced this question: http://stackoverflow.com/questions/993280/how-to-detect-when-a-uiscrollview-has-finished-scrolling UITablewView is a subclass of UIScrollView, and my UITableView delegate does get the - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView message when I scroll the table by hand. However, when I call...

iPhone permanent data store

Hi, How to store information in iPhone so that it cannot be removed when application removed. For example to indicate if user already used all trial features. I tried to use [NSUserDefaults standardUserDefaults] - but it refreshed each time app deleted. Thanks in advance ...

Is there a way to force Interface Builder events to resolve?

i'm having issues where if I use draw commands in a UIView::drawRect method, components created through Interface Builder will not resolve their events. Is there a way to force events to resolve, kind of like how you can force a draw by calling [self setneedsdisplay]. yes, i'm having problems clicking on buttons and switches. the events...

Is there a way to create custom UIDataDetectorTypes?

Hi All, What I am trying to do is create tooltip functionality so that certain words in my instructional app can be tapped and the definition pops up. For the popup part I plan on using code from “AFInformationView” which provides bubbles on the iPhone. The part I'm struggling with is how to associate A particular word's location wit...

Options for iPhone app which requires VPN?

I was thinking about creating an iPhone app "front end" for one of our internal systems. I suspect this will need to run via a Cisco VPN (connecting with a key code). What are the options to do this on the iPhone? Do you need to manually connect to a VPN somehow using the iPhone and then start the iPhone app? Or can the app prompt us...

Edit JSON-Parser to parse geoJSON?

Hey, I want to use geoJSON-formatted Data in my iPhone app. THere is a JSON parser but no geoJason parser. Anyone can please help me? How do I have to edit the JSON parser to get geoJSON parsing successful? Is there any geoJson parser for Objective-C out there? Thanks a lot. ...

Can the iPhone render vector graphics files directly? What formats are supported?

Is it possible to render a vector image file on the iPhone in the same way that one can render a bitmap (png, jpeg) file? I have tried eps and pdf files, neither of which seems to work – they are displayed correctly in Interface Builder but do not display when run. The console outputs a message along the lines of 'Could not load the "i...

Generating HTML from a template on the iPhone

I have an iPhone application which needs to generate a local HTML file from a template and then render the HTML in a UIWebView. It basically needs simple Django-like template features, just to replace template tags with values and simple enumeration over collections (for instance to generate rows of a table). Is there some existing simp...

Is iPhone enterprise deployment appropriate for distribution to members of an association?

I've had a query about developing an app for members of an association and I can't determine from the Enterprise Deployment guide if this is an appropriate method for deploying the app. Members own their own devices, so can an enterprise app be deployed while allowing the users to continue to use their own Appstore logins? At any point...

iPhone dev - Set position of a view in viewDidLoad

So, in Interface Builder I have a view within the superview that contains two Image View objects. I'd like to move that view off the screen when the app launches so it can be animated to move into place. The view is described as pictureFrame in the .h file for the interface, and I have the view mapped to the outlet pictureFrame. Here is ...

Iphone questionnaire App

Hello, Im Try to make an Iphone questionnaire app... something to make test but im a beginner on Iphone Sdk and Objective-C so i would like to take any suggestions -thanks ...

Do most iPhone apps communicate via web services?

Do most of the popular iPhone apps that communicate with a back end Internet server communicate via web services? I was assuming this was the case. Some apps I'm thinking about would be: Facebook, Bloomberg, NY Times, ESPN, etc. ...

Need to filter certain UIWebView requests and load them in different UIWebViews.

Some Background I have an iPhone app with three UIWebViews, each used to show a different type of page. (The content is specifically designed for this purpose, they're not real web pages.) There are links associated with each specific web view. For example, a link tapped in WV1 might need to load in WV2 because it's a WV2-style link. (T...

Why is my NSURLResponse leaking memory when archived?

I found a leak in my code where archiving and unarchiving an NSURLResponse was causing a leak, and I can't figure out why. - (void)doStuffWithResponse:(NSURLResponse *)response { NSMutableData *saveData = [[NSMutableData alloc] init]; NSKeyedArchiver *archiver = [[NSKeyedArchiver alloc] initForWritingWithMutableData:s...