I went through this tutorial Your First iPhone Application and it worked great. My question is about the line in the tutorial that reads as follows:
The view controller is also going to be the text field’s delegate; as such, it must adopt the UITextFieldDelegate protocol. To specify that a class adopts a protocol, in the interface a...
Have any other iPhone developers experienced this phenomenon? I can see his contributions in xCode - I see for example my colleague has wrapped a navigation controller around one of my view controllers and added it to my tab bar. Great! That view really did call for a navigation controller and this is a welcome addition to the project...
I have the next question:
In my project I have the next:
UItabbarController
....Some UINAvigationControllers....
*(1) UINavigationController
UIViewController (UItableView) - When select one row it goes to...(by push) to:
UIViewController (UItableView) - And here the same than before, for each row i open a new tablev...
In an attempt to create a loading bar for an iPhone game I'm developing (using Cocos2D), I wanted to use a multithreaded approach.
One thread shows a loading screen and runs the main application event loop while a new thread silently loads all the Sprites in the background (through spriteWithFile) and then adds them to a layer.
I creat...
I have an UITextField in a MyCustomUIView class and when the UITextField loses focus, I'd like to hide the field and show something else in place.
The delegate for the UITextField is set to MyCustomUIView via IB and I also have 'Did End On Exit' and 'Editing Did End' events pointing to an IBAction method within MyCustomUIView.
@interfa...
I have this code to mask an image. Basically, I only work with PNG images. So I have a 300x400 PNG image with 24bits of color (PNG-24). I am not sure if it also has an alpha channel. But there's no transparency in it.
Then, there is the image mask which is PNG-8bit without alpha channel. It is just black, grayscale and white.
I create...
Good day.
This is not really a programming question, but i think there is people here that are the ideal for the question i have to ask.
I see all day long question about "programming for iphone", and now i'm curious, and i want to try some too.
For that i need a Mac OS X, no question about it.. But i have a problem i don't have a Mac...
I have the following code.
NSData *pageData = [NSURLConnection sendSynchronousRequest:request returningResponse:NULL error:NULL];
NSString *webpage = [[NSString alloc] initWithData:pageData encoding:NSUTF8StringEncoding];
This works fine with most pages but truncates the really long ones, is there a way around this at all?
...
I've spent two days on this so far and combed through every source at my disposal, so this is the last resort.
I have an X509 certificate whose public key I have stored in the iPhone's keychain (simulator only at this point). On the ASP.NET side, I've got the certificate in the cert store with a private key. When I encrypt a string on t...
On the iPhone (though I imagine it's an equally valid question in Cocoa) I have a UIScrollView around a UIView backed by a CATiledLayer. The way it works by default is to load any uncached/unfetched tiles when my viewport scrolls over a blank section of the CATiledLayer.
What I would like to know is if there's a way to trigger CATiledLa...
I was able to change the tintColor of the UINavigationBar by doing:
self.navigationController.navigationBar.tintColor = [UIColor redColor];
However the problem is when the color gets too light, the button, backButton and the title text is not visible. Why is it that it doesn't automatically adjust itself based on the tint color? Do I...
Any way to install a bookmarlet in Mobile Safari from a native app? Has anyone been able to successfully do this?
...
I have a custom TableView cell that contains a TextField and I want it to become the first responder as soon as the view is shown but [textcell.textfield becomeFirstResponder] does not work. I know it's because it's a custom cell in another class and I even tried it there and it didn't work. Anyone know how to pull this off?
Thanks...
...
When using the MPMoviePlayerController, the play button is surrounded with "Next" and "Previous" buttons.
How do I get notifications when they are clicked?
is there a way to feed MPMoviePlayerController with a list (array) of content?
Thanks.
...
Well im on the edge about paying $99 dollars to join the Iphone Developer Program, I have the sdk, but im wondering if the program comes with programming lessons or tutorials,
If it doesnt do any of you know where i can learn to make game with opengl es for the iphone/ipod touch??
So my main question is where can i get some good tutori...
Android has a nice way of defining stretchable images called a nine-patch. See these docs for a description of the concept. The idea is to surround a png image with a 1-pixel border where you can define the stretchable areas and the padding dimensions of the image. This is absolutely brilliant and I'd like to use the idea in my iPhone...
This is a two parter-
1) I'd like to confirm things to turn on or off prior to loading an app to a device as a 'release' (not for debugging). At some point I read to uncheck LOAD SYMBOLS LAZILY in PREFS > DEBUGGER while debugging code. However, I'd like confirm if that needs to be checked ON again for a release. Second, I have an ARGUME...
As you probably know, iPhone applications can register a custom URL scheme handler, ala "myapp:" and these can be used for links in a page viewed in Safari.
I'd like to automatically launch my application from a specific page if the visitor has the app installed. If the app's not installed, I'll just show them the current mobile-optimi...
Hey,
In order to be able to send a video taken on the iphone to a server i assume one needs its data, how can one get a videos data? Is there somethign similar to UIImageJPEGRepresentation(UIImage *, ) for images.
Thanks
...
We're considering doing some experimentation with the price point on our iPhone app and I just want to make sure that if we raise the price we won't get a flood of user complaints that apple is charging them the price difference to upgrade.
...