I went back to an old project and recompiled it for OS 4.1 succesfully and ran it. I was asked to add a fourth tab to the Tab Bar, but I could not set its class to the newly added ModelsVC.h/.m. [edit: because it did not appear in the class dropdown, but the other viewcontrollers were there.]
I moved the project folder to a backup folde...
Hey,
I'm doing some iOS applications and now I need to integrate graphics and icons into them.
What should I use to create them, Adobe FireWorks or Adobe Illustrator?
...
According to the iOS documentation, the responder chain is used to pass touch events "up the chain". It's also used for actions generated by controls. Fine.
What I really would like to do is send a custom event "up the chain". The first responder to pick up on the event will handle it. This seems like a pretty common pattern, but I can'...
I am developing an application for iPhone and one part of it deals with a list of currencies and daily exchange rates. I am using SQLite to store all these rates.
Now I came to the part where I want to make the update part of my database with the new exchange rates.
The first thought was make a request to a server with a specific d...
Hi all
i am working on a painting application using Quartz 2D for ipad. now i want to add an eraser option so that user can manually erase portion of his drawn line with touch.i have also background image.can anyone please help?
...
OrderDetailsView.h
#import <UIKit/UIKit.h>
@protocol OrderDetailsViewDelegate;
@interface OrderDetailsView : UIViewController {
IBOutlet UITextView *OrderDetails;
NSString *selectedOrder;
id <OrderDetailsViewDelegate> delegate;
}
@property (nonatomic, assign) id <OrderDetailsViewDelegate> del...
Yesterday, I had programmed a simple Bluetooth network for my iPhone application. This morning, when I tried to continue development, it suddenly wasn't working on my iPod Touch 2G at all. It works just fine on the iPAD however. The problem arises when I try and set the availability of my GKSession object to YES on the iPod, having creat...
I want to be able to validate a date.
It's valid entry is 4 characters with a mmyy mask.
I want to make sure that the value entered is indeed a date.
Thanks in advance.
...
Is there a way to differentiate when a user is exiting an app because he/she pressed the home button or because it's receiving a phone call? in iOS 4.0 the app doesn't quit if the user answers a call but it does in 3.x.
I'd like to save my app state if the user is interrupted by a call or any other phone event but not if the user exits...
Hi,
Pretty new to iOS dev, I feel I have a grasp of the basics. I was thinking through an app I would like to make and the steps involved, components needed... and I have no idea how to or what is the best method to save user input and retrieve it.
An example being (I don't plan to make this, but it illustrates what I want to know), s...
I have about 20 entity : Event1 ... Event20
In each entity i have property values1 ... values20
I need record data in for example Event5 values8
But something wrong - may be data record in each values8 (Event1 ... Event20)
How do right?
NSString *str = [NSString stringWithFormat:@"Event%d", variable];
NSString *value = [NSStri...
So I want to incorporate GameCenter achievements in my game, but I have to supply images for each achievement for display in the GameCenter app. Apple isn't really clear about the required size. I've read online that they demand 512px images, but then they scale them down to something like 32px which makes it all blurry and/or pixelated....
Hello,
I've queried this forum for hours looking for an idea/answer/solution for my problem, but came up empty every time.
i have created a SynchronousRequest using the following:
NSMutableURLRequest *theRequest = [[NSMutableURLRequest alloc] initWithURL:url];
NSString *msgLength = [NSString stringWithFormat:@"%d", [params len...
Does someone already created an iPhone app that connect to the Facebook chat server using their X-FACEBOOK-PLATFORM authentication mechanism and XMPPFramework ?
I have no idea how to start, any code sample would be much appreciated.
...
I have to implement service which should stream a video content to iPhone application.
My service is implemented in PHP:
header("Content-Type: video/mp4");
header('Content-Length: '.$result['size']);
echo $result['data'];
where result is array containing the content of the video file and its size.
When I open it with browser there i...
Sorry - can't find any ref anywhere for this.
Is it possible to play quicktime on a safari page on the iphone without it going to the video player? Client wants other items on the page to be viewable whilw video is playing.
Many thanks & if so any ref would be great...
best,
Dan.
...
I want to use components and functionality from an external project in a new iPhone project.
I am able to add external projects using "Add >> Existing Files...". At build time however, resources such as images are not copied into the build from the external project, however the .h and .m files are. Do I need to add something specific to...
I'm trying to automate the process of building iphone apps with a particular certificate. So imagine if different users uploaded their cert into the system and it was immediately available to code sign against. I want to do this without any interaction. I also don't want to clutter up the system or logon keychain with different user cert...
Hello,
I am using iTunes file sharing in my app, and need to put Core Data's sqlite database elsewhere so that users don't fiddle with it. I have read a previous SO post regarding the best way to hide the sqlite file that Core Data uses.
There seems to be conflicting opinions regarding whether to put the database in Library/Preferen...
self.tableView.backgroundColor = [[[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"evt_det_bg.png"]]autorelease];
I want this background view will be scrollable.
I tried the above code.But the background applied each row.I am using two cellview for the tableView.How can i achieve this.
Thanks
...