iphone

Text To Speech - TOMSOFT

I haven't been able to get a hold of the people over at tomsoft http://www.tomsoft.co.uk/ and I want to know if anyone has used their TTS Engine. I'm debating whether or not to buy it, and I want to know, does it call home? How is it integrated? I'm also worried that since they are not replying to emails sent long ago, I may not receiv...

iPhone: create new "View-based Application" = no view controller?

I have created a new iPhone "View-based Application" in Xcode. I then added a new "UIViewController subclass" and checked the "with XIB for user interface. Now the issue I have is that after hooking up all the variables and message handlers, I cannot push the new controller onto the stack using the following code: [self.navigationContro...

how to authenticate in MPMoviePlayer for iphone

Hi Friends, I want to live stream my video files and play it in iPhone. I am using MPMoviePlayer for playing the video. I am specifying the url in the below API:- MPMoviePlayerController *theMovie = [[MPMoviePlayerController alloc] initWithContentURL:theURL]; But my url asks for user credentials and I am not able to pass the credentia...

Resources and examples for developing games on the iPhone

All, I'm about to embark on the adventure of developing a game for the iPhone. I have never programmed games before, and have never used Objective-C either - it's all new. I have, however, done sufficient amount of programming (C# recently, C long ago) and am comfortable with programming, frameworks, SDK/API etc. What resources would y...

iPhone: Scroll images infinitely

In my iPhone app I'm looking for a solution where I have some images scrolling horizontally, automatically and infinitely around and around. So if I have four images: first image 1 is shown, then it automatically scrolls out, image 2 is shown, then it scrolls out, ... image 4 is shown, then it scrolls out, and then image 1 is shown again...

iphone - On orientation change of iphone , rotate only one control and not all others

Hi, I'm having UIImageView, few lables, buttons etc in a view. Currently I have implementation for portrait mode. When orientation of iphone is changed, I just want to rotate only image view. Rest all other controls should not change. How can I implement the rotation of only image view? ...

Objective-C performSelector does not call a method with parameter

Hi all, I'm having a problem with performSelector. It works if I call a method without parameters, but it doesn't even call the method if I pass a parameter. Example: - (void)test { NSLog(@"test"); //it works!! } ... [self performSelector:@selector(test) withObject:nil afterDelay:1.0]; - (void)switchOn:(NSNumber *) index { NSL...

Supporting different orientations using Cocos2d on iPhone

I’m trying to support both landscape and portrait orientations in my iPhone Cocos2D game, but I’m having trouble getting the coordinates to translate properly. Here’s what I’m doing so far. I have a GameWorld layer that I always keep in portrait, regardless of the device orientation. The following code is in my DeviceRotated event f...

iPhone, JSon and Compression

Hey, I'm building an iPhone app that's going to be sending and receiving large amounts of data to and from a server. I'm using JSon to get the data. I was wondering if it's possible to also use some sort of compression on the received data in order to try to speed up the process a little bit. If so, which kind of compression works best ...

iPhone UIImage overlapping text

I have a view with a UIScrollView, UIImageView for a background, and a UITextView. I have created several other views just like this and they all come out okay - with a background image and scrollable text but for some reason, now I can't make that work. Either my image overlaps all of the text so that I can't read it or the UITextView...

Transparent app icon for iOS 4?

If I use a png file with transparent background as the app icon in iOS4, the compiler will change its background to black. How can I preserve its transparency? ...

How do I create a UISlider dynamically in code?

I would like to know how to create a UISlider at runtime. ...

UITableView/UIScrollView scrollToItemAtIndex

I'm trying to call [tableView scrollToItemAtIndex: [tableView indexForCell: firstVisibleCell] atScrollPosition: UITableViewScrollPositionTop animated:YES]; To force my table to 'snap' to the first visible item. This works fine, but I only get a call to - (void)scrollViewDidEndScrollingAnimation:(UIScrollView *)scrollView When scrol...

getting error like ur view controller and nib file

i have observed 1 warning when i am opening my nib file ,but that doesnt effected my out put .. i want to to know what causes this error its showing ' View Controller' has both its 'View' and 'NIB Name' properties set. This configuration is not supported. ...

how to use nstimer

i think nstimer will use for scrolling text automaticallr ... can any body tell how to use that for this purpose.. ...

communicate between iphone and windows pc?

Hello, I want to write an app to communicate between the iPhone and a Windows pc. Where can I find more information on that particular communication? ...

Parse XML Using NSXMLParser for display in table view

I am parsing some XML from an RSS feed (using NSXMLParser) for a blog and would like to display the data for each post in a table cell. The XML looks like this: <item> <title>Blog post 1</title> . . </item> <item> <title>Blog post 22</title> . . </item> How would I store this data so that it is available to my ...

NavigationController in Utility Application

I have create a project based on Utility Application. How to attach Navigation Controller on the FlipsideViewController? I want to create a lot of views with different screens. ...

Use password with stream_socket_client in php script

Hi, in my php script that sends a push notification to iPhone, I have the below code. The SSL certificate requires a password. From the command line, it just asks you for it and you can enter it, but how do I get this script to run automatically without asking for the password? I am happy to have the password hardcoded into my script he...

Custom UIView throws a EXC_BAD_ACCESS on [super dealloc]

Hello. I'm developing an iPhone application. I have a class that inherits from UIView. It has a method to add two UILabels and one UIImageView as subviews of the class. The UILabels and UIImageView are created and destroyed on that method. When I release this custom class it fails on [super dealloc] call on its dealloc method. The de...