iphone

How do I set/get cross-class variables?

I'm creating an application for the iPhone in which I need to transfer information from variables between views/classes. What is the best way to do this (without utilizing CoreData/persistent storage)? ...

IPHONE - detecting horizontal finger swipe on a UITableView cell

I have a UITableView with several cells. This table is to be scrolled vertically. So, vertical finger swipes will scroll the table. Normally an horizontal finger swipe on a table will present an option to delete that cell, like it is on mail. I would like to detect horizontal finger swipes on a cell and use this to trigger a method tha...

How to Start UITableView on the Last Cell?

In Apple's Messages app, when you click a correspondent's name and switch to the table view of the conversation (with balloons for each message), the table appears scrolled all the way to the end. No animation or anything, it's just there. Similarly, in Tweetie 2, when you load the tweets view, it appears right where you last looked at ...

How to process Reference Movie in iPhone app?

I followed Apple tutorial, Apple - QuickTime - Tutorials - Reference Movies, to create reference movie in my web site. In summary, "A reference movie contains pointers to alternate data rate movies--that is, multiple versions of the movie designed for downloading at various data rates". In my app, I use MPMoviePlayer and provide it wit...

iPhone: UiNavigationController back button

Hey guys when I press the back button, what Delegate method is called? Best Regards Carlos Vargas ...

White edge when orienting dark colored view?

I am just playing with an iPhone test app that orients the view when the simulator is rotated left or right. Everything worked fine when my view had a white background, however when I altered the view background to a darker color I noticed a white edge (1 pixel) around the view as it rotates. Has anyone come across this before or know ho...

local vs remote socket connections on iphone

I want to send OSC messages from iphone to another programme (max/msp) by creating and connecting to a udp socket. this works from the iphone simulator, i.e. when both apps are running on the same computer but not when i install the app on the phone itself. I think the problem could be with specifying the IP of the remote computer. I am...

Are iPad tutorials available?

Are there any iPad tutorials? At http://bit.ly/doBoIo they say that iPad SDK is under NDA. Does this mean that there will be no iPad programming tutorials for a while? ...

the new iphone SDK 3.2

Hi Dose the SDK 3.2 support the iphone as well as the ipad? dose it support external keypad connecting for the iphone as well? Thanks ...

Dynamic graphics rendering on the iPhone?

What I want to achieve is some way of supplying dynamically generated visual content that the user of a device could interact with - touch icons, text links, images etc embedded within some graphic image generated either on the phone or on a server. I would need, pinch, zoom, rotate functionality aswell. Is it possible to render graphic...

iPhone Drawing in Browser

Can I develop an application on web to draw something on iPhone? I guess not because when I draw in the browser it will be treated as "dragging" but I just want to double check for a solution out there. Thanks. Marcelo ...

Publish UIWebView texts on Facebook [iPhone SDK]

hi everyone . i have UIWebView and some text on there so i want publish my text messages to the facebook . how can publish my text on the facebook ? is there special API ? is tehre any Sample Code or tutorial? like this : ...

How to force application Settings bundle get updated?

Application Settings.bundle contains a version number, which is automatically generated during build. From build log I can see that new value is written there, also when looking inside the file itself in MacOS X Finder I see correct updated value. Settings in iPhone simulator or in real iPhone shows me the old value. Removing applicatio...

Cocoa Touch UITextField first character uppercase

Hi, I have a UITextField. How can I make sure that the first character is uppercase? I tried this. - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string { NSUInteger newLength = [textField.text length] + [string length] - range.length; if (newLength == 1) { str...

iphone sdk subview/superview orientation problem

Hi guys i have a iphone sdk orientation issue... i push a "holding" view controller onto the navigationController. The holdingViewController uses viewDidLoad to show the navigationController navbar and add a flip button to it and a selector for the flipbutton. it then adds a subview using UIViewAnimationTransitionNone showing a UIView ...

Making an icon "jump" with iPhone core animation

What would be the best way to make an icon seem to "jump" from a toolbar into a UITabBarItem. I have found the CAKeyframeAnimation class which looks promising but I just can't get it to work. I have been using code similar to this : http://www.bdunagan.com/2009/04/26/core-animation-on-the-iphone/ but no matter what I set my endPoint to,...

Receive message "A signed resource has been added, modified, or deleted" when trying to debug an App on iPhone.

While attempting to debug a build created using the 3.2 SDK on an iPhone device I receive the message "A signed resource has been added, modified, or deleted.". I can clean, rebuild, then install with no error, but if I try to install without cleaning the error shows. Anyone have an idea as to what might be causing this? ...

Iphone UIScrollView and multiple visible images

Hi! Im trying to implement a UIScrollView including multiple images, using paginate. The problem is that I want more then one page to be visible in the UIScrollView, but only one page should be selected. I found several solutions in which you handle touch down/up (touchesBegan and touchesEnded) myself and scrollRectToVisible, but I wa...

Could somebody please show me a really simple OpenGL ES multi-texturing example?

I have this for now: //Setup a move to the current position. glLoadIdentity(); glTranslatef(squarePosition.x, squarePosition.y, 0); //A simple base texture for "diffuse map". glBindTexture(GL_TEXTURE_2D, spriteTexture[0]); //Bind. //Draw vertex/texture into the framebuffer. glVertexPointer(2, GL_FLOAT, 0, spriteVer...

Any undersandable description of glTexEnvi (OpenGL ES 1.x)?

I've seen as many different parameters as many source codes I saw. Is there a description can be found somewhere that refers all about those parameters in details? ...