iphone

how to add ' in the nsstring in iphone?

i have a string like this nsstring *mystring=@"RahulVyas"; now i want to add this ' so the new string would be 'RahulVyas' any way to do this? ...

How to deploy/debug iPhone App directly to iPhone device without IDP membership??

Hi guys. Can you show me how to deploy/debug and iphone application using xcode but without having to pay 99$. I'm doing this for the study purpose. I've seen a guide which help to deploy iphone application to iPhone device(e.g: http://www.vinodlive.com/2009/01/16/how-to-deploy-an-iphone-application-without-an-idp-membership/). However ...

HTML character decoding in Objective-C / Cocoa Touch

First of all, I found this: http://stackoverflow.com/questions/659602/objective-c-html-escape-unescape, but it doesn't work for me. My encoded characters (come from a RSS feed, btw) look like this: & I searched all over the net and found related discussions, but no fix for my particular encoding, I think they are called hexadecima...

Are there any legal and royalty-free sound libraries to get sounds for iPhone applications?

Problem: Great graphics, nice app. But no sound. I want sound. UPDATE: All cleared now. Soundsnap.com does not exclude iPhone apps. Tasos Frantzolas responded that there are no copyright problems with sounds on soundsnap.com. There has been a misunderstanding because a huge content provider of sound snap told me to not use the sounds i...

Inheritance issue with ivar on the iPhone

I am using the BLIP/MYNetwork library to establish a basic tcp socket connection between the iPhone and my computer. So far, the code builds and runs correctly in simulator but deploying to device yields the following error: error: property 'delegate' attempting to use ivar '_delegate' declared in super class of 'TCPConnection' ...

how can i use the undo property for the uitouch class ??

how can i use the property @property(readonly) NSUndoManager *undoManager and what exactly it does can anybody make me understand ?? Balraj verma ...

Is there a way to draw colored text using the UIKit addition for NSString on the iPhone?

Is there a way to draw colored text using the UIKit addition for NSString on the iPhone? ...

Deactivate UIScrollView decelerating

Is there a way to deactivate the decelerating of a UIScrollView? I want to allow the user to scroll the canvas, but I don't want that the canvas continues scrolling after the user lifted the finger. ...

Connection

Hello, I would like to ask you about NSURLConnection in objective-c for iPhone. I have one app that needs to connect to one webservice to receive data (about YouTube videos), Then I have all the things that I need to connect (Similar to Hello_Soap sample code in the web). But now, my problem is that I create a class (inherits from NS...

How can I animate a sequence of 10 Images in iPhone OS?

I have 10 small images that have to be shown quickly one after another in order to make an animation effect. Is there an easy way to do that, or must I implement an routine by myself? ...

Xcode - renaming project causes problem

I'm currently working on an iphone application. I started working on this from a project template that I found on the internet. Now I want to rename this project. I've successfully renamed the actual project file, folder and the executables and some other stuff, but there is one weird problem. If I try running the application on my iphon...

UITabBarController embedded in a NavigationController

I know this question has been asked before and the solutions I've heard is to not use a UITabBarController but to add a UITabbar to a view and push its corresponding viewController to the navigation controller. However, when I use this method, I can see the tab bar, but I can't display the tabbaritems on the tabbar. It only shows a tabb...

How to localize app title and date/time an iPhone app

I know how to localize strings for iPhone app (via the use of NSLocalizedString and Localizable.strings) How can I do the same for date time display? Right now I am using NSDateFormatter for date/time. ...

Locale code for iPhone's localizable strings

What's the locale code for traditional Chinese and French Canadian to be used for iPhone localizable strings file. I know the code for simplified Chinese and French, which is zh and fr, but not its counterpart. ...

Custom draw a UITableViewCell

I am trying to create a UITableViewCell which overrides the complete drawing of the contents. I have overridden drawRect, which is being called, but it still draws the default contents. How do I get it to stop drawing the default contents and how do I replace it with my own rendering? - (id)initWithStyle:(UITableViewCellStyle)style ...

Objective C - Making UILabel update as user types text in UITextField

How would I make a UILabel update as a user enters text in a UITextField. In my case, I have a quadratic equation solver for the iPhone and as the user enters the values of a b & c, I want a UILabel to update with the numbers given by the user. ...

How do I set up a view controller as a delegate for two things (such as the LocationManager and the Accelerometer)?

I'm sorry if my question title seems fundamentally uninformed. Let me explain what I am trying to do. I have defined the following UIViewController subclass, which fires up LocationManager, and has a Start Recording button to save a GPS track. Now I would like to also fire up the accelerometer and allow the user to record that as well....

Round corners on UITableView

Hi Folks, What is the best way to get round corners on an entire UITableView as seen in Stocks and Spotlight? The grouped style doesn't solve the problem because the round corners scroll away with the cell. I'm trying to clip the view so the corners are always round regardless of scroll position. I saw another discussion about doing ...

Need help on iphone crash log. Any experts around?

Hello, my iphone app crashes unexpectedly and looking at the crash log I can't tell where my code is doing something wrong. All I get in the stack are calls to the framework it's self. Any help? please! this is the link to the crash log (rather than copy paste it all here) http://www.megaupload.com/?d=CTWWNUN1 thanks!!! ...

NSCalendar first day of week

Does anyone know if there is a way to set the first day of the week on a NSCalendar, or is there a calendar that already has Monday as the first day of the week, instead of Sunday. I'm currently working on an app that is based around a week's worth of work, and it needs to start on Monday, not Sunday. I can most likely do some work to w...