iphone

NSString problem

How can i convert Special character of \u0097 this into nsstring .... THanks in advance ...

iPhone - API for Text to Speech feature

Hi all, I was wondering if iPhone has any API that supports Text to Speech feature? I looked around but couldn't find any, so just want to confirm. Thanking in anticipation. ...

Approximate cost of iPhone app?

What would be the approximate cost to have an iPhone application developed similar to the USA Today and Sky News applications? Thanks! ...

Is there a newer version than Xcode 3.1.2?

For some reason the Interface Builder of Xcode 3.1.2 has graphical bugs. It draws its interface badly and messes up everything. It's a graphics problem on a brand new MacBook Pro. Two months ago that was not the case. But Xcode doesn't offer me an update-function, does it? ...

Switching CABasicAnimation on the position property mid animation causes a flicker

I have some code that uses CALayers to have bubbles flowing bottom to top. If the user touches the screen I have some code that replaces the currently running animation with one that has a toPoint where the finger touched down. When the animation switches it causes a flicker on the device (not on the simulator). Any tips on eliminating t...

Fixed keyboard inside a UIView

Is there a way to include a keyboard inside of a view? I want it to be part of the view and not be dismissed as well. Birdfeedapp does this in it's 'add account' modal view. ...

Where to determine UIView size

Summary: How should the UIViewController know the size of its UIView instance when initializing that view? The dedicated initialization method for an UIView is the initWithFrame:(CGRect)frame method. This sets the frame for the newly created UIView. This method could be called from the UIViewController's loadView method, if that view co...

How do I make UILabel display outlined text?

All I want is a one pixel black border around my white UILabel text. I got as far as subclassing UILabel with the code below, which I clumsily cobbled together from a few tangentially related online examples. And it works but it's very, very slow (except on the simulator) and I couldn't get it to center the text vertically either (so I...

Do I still have to test with older iPhone OS versions when using 3.0?

I wonder if that's needed...who knows? EDIT: Oh sorry ppl, I made a big mistake here. I want to develop for iPod touch users as well, and they are not likely upgrading so much to 3.0 like the privileged iPhone users do. So for that reason I want to keep developing for 2.2, but Apple is now forcing all developers to test on 3.0. But with...

Anyone managed to get iphone-dev compiled for FW3 under Leopard?

Now that firmware 3 is out, has anyone managed to get the iphone-dev toolchain compiled under Leopard at all? I suspect it's a little early for such things perhaps but I appear to be having quite a few problems getting the toolchain compiled (llvm-gcc specifically). ...

UITableViewCell problem

I am added uitextfield into uitableviewcell using this code textField=[[[UITextField alloc]initWithFrame:CGRectMake(5, 10, 290, 70)]autorelease]; textField.delegate=self; textField.keyboardType=UIKeyboardTypeURL; textField.autocorrectionType=YES; textField.textColor=[UIColor blackColor]; textField.placeholder=@"Enter feed url"; [cell.co...

NSOperation + Objective-C Categories = Bad Idea?

I've set up an Objective-C category for an iPhone app's UIImageView class. The category's mission is to help load URL-based images asynchronously with memory/disk caching. Now, in UIImageView+Cache.m I have access to an NSOperationQueue so I can kick off a loading thread. I create an NSOperation-derived object, initialized with the imag...

Which button was tapped... iPhone and Obj-C question

I'm a newbie just begun with iPhone and Obj-C for a month now. I have two buttons, both of them call the same function as follows [play addTarget:self action:@selector(showQstn:) forControlEvents:UIControlEventTouchUpInside]; Inside the function showQstn, I want to know what button was tapped. Any idea? Alternate ideas are welcome to...

Is UIPageControl Useless By Itself?

Hey guys, I've been looking into using the UIPageControl for a scrolling part of an application, and I was wondering how it works. The docs show methods for changing pages, setting the number of pages etc., but by itself the page control doesn't encompass any kind of scroll view. Are the UIPageControl and UIScrollView classes supposed ...

Is there a Queue/FIFO data structure for the iPhone?

Before I roll my own Queue using NSMutableArray, I'd like to know if there is something more standard available. I don't see anything in the Apple docs, but I'll be surprised if there is not a Queue implementation from somewhere that folks are using. Java spoils me! ...

Saving an NSMutableArray to Core Data

I want to add an NSMutableArray of NSStrings to one of my Entities in my core data model. The problem is that this isn't a supported type in Core Data. I tried making a tranformable attribute, but the problem is that I see no way of turning a NSMutableArray to NSData, and then going from NSData, back to an NSMutableArray. Does anyon...

Xcode iPhone - Adding framework works a little bit

No biggie, but when I add the AVFoundation framework for the iPhone, it turns red for some reason I'm unable to figure out why. The project will not compile unless I add this framework, and if I do, Xcode will mark the framework red (apparently that means xcode cannot find the framework), but yet it will work. Here are some screenshots:...

Tutorials for iPhone Web Dev

Hello everyone! I was wondering if any one knows of some good tutorials for iPhone web development. Specifically, for optimizing a website for viewing in MobileSafari ...

How to get the size of a remote file with iPhone SDK ?

Hello everybody, My iPhone application downloads large files from the internet (videos, for instance). I'd like to display a progress bar, so I need to get the size of the remote file I'm trying to download (before downloading it, of course). I've searched, again and again, but nothing is working. Is there any way to do that ? Thank ...

Can I subclass a view built with Interface Builder?

I have a view which I built in Interface builder with a tableview and associated outlets etc, to display a list of items. Clicking on an item brings up the detail of that item. I now want to build a very similar view with a list of the same kinds of items and some additional controls and different behavior on cell selection. In this cas...