iphone

Do you know a good and efficient FFT?

Hi, I am trying to find a very fast and efficient Fourier transform (FFT). Does anyone know of any good ones. I need to run it on the iPhone so it must not be intensive. Instead, maybe you know of one that is wavelet like, i need frequency resolution but only a narrow band (vocal audio range up to 10khz max...even 10Khz might be too ...

How to get an iPhone app to appear in Spotlight with a query that doesn't exactly match

I noticed that when I search for "Music" (for example) using Spotlight on the iPhone OS 3.0, the app "Midomi" shows up in the Spotlight results. "Midomi" doesn't exactly match "Music", but yet it appears in the results. How can I specify additional keywords for my app so it appears when doing a search using Spotlight, like Midomi is do...

Any examples of creating a dial?

I'd like to create a dial with similar behavior to some of the retro phone apps. These have a circular dialer that lets you spin it around with your finger. Any ideas how that is created or some links that discuss aspects of it? ...

Anyone found a Cocoa Touch library for integrating Bing Maps into an iPhone app?

I ran across VirtualEarthKit at http://consonancesw.com/developers/virtualearthkit/faq.php but so far they only have a wrapper for OS X and not iPhone. ...

How to Parse string from one viewcontrol to other view control

How to parse values from one view control to other view control Any code help ...

Why this code fails to empty undo stack

- (void)cancel { // [managedObjectContext.undoManager disableUndoRegistration]; [managedObjectContext deleteObject:object]; // I don't want this deletion to be recorded on the undo stack which is empty at this point. // [managedObjectContext.undoManager enableUndoRegistration]; [managedObjectContext.undoManager removeAllAct...

iphone presentModalViewController

Hi All, I have an app, inside that an UIViewController is attached on the UIWindow. on the view of UIViewController, i have added a button and a uiview_1 of size 100x80. this uiview_1 contains another uiview_2 as subview of same size and this uiview_2 contains a UIImageView or a UIlable at runtime (both UIImageView and UIlable are useri...

32 pixel gap at top of opengl es texture

I am trying for the first time to render to a texture using openGL ES (for iPhone) and then display the texture on the screen. Everything works except that there is a 32 row gap at the top of the texture and the bottom 32 rows are cut off. It's like all of my drawing is being offset 32 pixels down, which results in the bottom 32 rows not...

Web page access in iPhone Application

Is there any way for accessing the web page in iPhone application, without address bar and bookmark bar. Application load the web page whose address is prefix in coding. ...

Comparing colors in Objective-C

Hi! I'm trying to determine if two colors are equivalent, using code written in Objective-C. I'm using this snippet of code to determine if the two colors are equivalent (currently for debugging purposes) NSLog(@"currentColor is %@", currentColor); NSLog(@"Adjacent Color is %@",[[buttonArray objectAtIndex:1] backgroundColor]); NSLo...

How can i test tilt efftect? - IPhone Simulator

Hi, I am trying to write a game. That game uses tilt effect, but i don't know how to test it on Iphone Simulator 3.0. I search it on internet, but the result is zero. How can i...? ...

Displaying count of the value of a to-many relationship in an iPhone app

Hi, I need help with a little something. I use Core Data to make this happen: I have a main tableView where categories are stored. When one of the categories are pressed, another tableView is pushed and display that specific categories content. There is a one-to-many relationship between the category and content. I want to displa...

Rotating an image as in NiceTrace application.

In my iPhone application i need to use NiceTrace's like image spinning (hanging image spinning on the bottom) .I am not sure if they are using image or drawings. Any help or detail information about that kind of smooth rotation. I rotated an image with animation, but i cant get that smooth effect. Any help ? Thanks in advance!!! ...

How to adjust the view position when the keyboard opens in iPhone?

In forms that are longer than 50% of the screen area, inputs will appear underneath the keyboard. I want to adjust the view to keep the selected input always visible when the keyboard shows and reset its position when the keyboard disappears. Any ideas? Thanks. ...

How do I find out why file I/O operations fail?

Several methods I've used to write to files return a BOOL signifying their success, e.g. NSDictionary: - (BOOL) writeToFile:(NSString *)path atomically:(BOOL)flag NSKeyedArchiver: - (BOOL) archiveRootObject:(id)rootObject toFile:(NSString *)path Somehow, this returned NO on one of my tester's devices. That's great (well, not real...

iPhone UIWebView Bug

Hi all, I am getting this error message in the console, while i am trying to load a html page in UIWebView ? "void SendDelegateMessage(NSInvocation*): delegate failed to return after waiting 10 seconds. main run loop mode: UITrackingRunLoopMode If you were not using the touch screen for this entire interval (which can prolong this wait...

Creating a button on a View from a second View

Hi, I have this app I'm working on, which on a second view asks (textfield) the name for a button to be created on first view. After specifying the name and pressing OK button, the first view pops up (as demanded) but there's no new button, although created indeed. Can I use the following code in a second view method, to "refresh" the f...

What is the logic to move a paddle left and right automatically on the iPhone?

I am just developing a simple iPhone application where a paddle moves left and right automatically. My logic: // First to determine the CGPoint of paddle CGPoint detectXY = CGPointMake(paddle.center.x ,paddle.center.y); // Second to determine the velocity of paddle CGPoint paddleVelocity = CGPointMake(1,1); // Adding velocity with X,...

Dynamically Changing Keyboard Type for a UISearchBar

I have an iPhone app that uses a UISearchBar and UISearchDisplayController. The search bar has three scope buttons. I would like the keyboard to be a numeric keypad when a particular scope button is selected, but be a default keyboard when any other scope button is selected. I have implemented the UISearchBarDelegate selectedScopeButt...

Cocoa - Add Video Watermark General Info

Just looking for how to programmatically add a watermark or some sort of overlay to video using cocoa. Not looking for a step by step ( although that would awesome ), but more or less looking for where I should start looking to learn how. Are there frameworks developed to work for this. Would like something native to cocoa or objectiv...