I have a working searchview Controller which show me all matching entries when I insert a letter.
It's working fine.
If the search is empty, the Controller shows nothing. How can I change this?
I want that it shows all entries of the filteredlistcontent-array when the searchtext is empty.
Therefore I changed the filterContentForSeracTe...
So I'm trying to make the horrible leap from VB.NET to objective-C.
My only curly-brace experience is a little ActionScript 3... I'm having a hard time grasping the use of the * character.
Question 1:
The tutorial I'm using has these two lines next to each other..
IBOutlet UIPickerView *pickerView;
NSArray* myArray;
It's my unders...
I am using CFDocumentTypes and UTExportedType in my iphone plist to be able to download qif/ofx files straight to my application.
At the moment it can download them from the mailapp. Is there any way to get them to download from safari as well?
...
I've been doing some research on the barcode frameworks available and saw the 'Red Laser' framework which was recently acquired by ebay.
I was however discouraged by their own forum.
Does anyone have any experience with this library?
How does it compare to e.g. ZBar or zxing?
...
So I plugged in an iPhone, and pressed the big Use Device For Development button, and now want to disable that, as I no longer need it, and the Developer item in Settings.app is annoying. How do I stop using it for development?
Thanks,
jrtc27
...
I'm getting a little confused how to set up a class that's two steps below the top-most one.
For instance, say I have a game called BoardGame. One of whose parameters in numberOfSquares.
The classes are setup like this:
BoardGameSetupViewController > BoardGamePlayViewController > GameEngine
BoardGameSetupViewController creates an ins...
This is something I don't understand. Look at this method (copied from http://blog.blackwhale.at/2009/07/uibutton-in-uitableview-footer/)
See that footerView is allocated on the beginning of the code and never released.
As far as I understand, the object should be autoreleased or at least released after used on a regular case, but as th...
I have a application which I want to make multitasking ready, but the problem I have is that it does crash when it was in the background for a longer time. When I send it to the background for a few minutes, I can load it back and reuse it perfectly, but when it was in the background for a few hours it crashes as soon as I tap anywhere i...
Is there anything special I need to do when adding a UIViewController into a nib? My -viewDidLoad method is not being called, even though the nib is being loaded and its subclass is set in IB to my view controller class.
http://dl.dropbox.com/u/448021/Test.zip
There's my test case. I just can't figure out why FooViewController -viewDid...
I have a xib with a view which contains two views which each contain a tableview shortened in height. The root view has a segmented controller wich should toggle the views. How can I make each tableview point to it's appropriate class?
...
I have an iphone app that consumes a web service. i have a dev version and a prod version of that web service. i use the dev version when the active configuration is set to debug and i use the production one when the app is set to distribution. is there a way to know the active configuration value in order to use the proper url of my web...
I am trying to find some good introductory short tutorials that show how to build web site suitable for iphone brwoser. I am not having any success. Google is not turning up useful sites. please let me know if you are aware of any.
thanks
...
Say I have the following:
NSDate *today = [NSDate date];
How do I just the get integer value for the month? day? or year?
...
I'm getting a string from a server call, and Trying to set that string to the value of the text in a UITextField. However, if the text has any special characters, the encoding gets screwed up on those characters.
-(void)contentDidLoad:(NSString *)content
{
NSLog(@" content being put into textfield is : %@", content);
self.textF...
I managed to implement Facebook connect on my iPhone app and allow the user to upload a status update via the app. I now want to include a feature to allow uploading of photos together with a caption or status update. Does anyone know the relevant code for this?
I think I'm supposed to use the photos.upload API in FB but am not too sur...
Hey,
I made an adhoc version of my iPhone app for a beta tester and he installed it on his device and everything was working fine. Yesterday, he got a message saying that the provisioning profile is about to expire in four days. He is on the road and doesn't have his computer with him so he can't sync his device with iTunes. Is there a ...
Hi,
I wrote a small class containing 2 class methods for some calculations. I call those methods from another class.
I have declared everything properly in both classes and Xcode does not give any warnings.
Still, I checked with debugger and when I call method from this class it just doesn't invoke
THis is declaration:
+(double)Double...
I'm trying to port to the iPhone a realtime 3D visualization (be able to rotate and/or zoom in/out) of a 3d mesh with high-resolution textures (and hopefully materials, bump maps, shadows, and other degrees of realism). (The mesh itself has been optimized for lowpoly, but texture adds the details.)
All I need is basically a model viewer...
Hi, my app has a menu with an assortment of buttons at the bottom, each button inserts a new subview from one of my xibs, underneath the menu. The views have an order they are supposed to go in(think powerpoint presentation) though the user can touch a certain button to go to any of them.
There are also next and previous buttons.
I am...
Hi all
Im just having trouble reading and writing NSString to a dat file on the iphone.
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *saveFile = [documentsDirectory stringByAppendingPathComponent:@"Profiles.dat"]...