HI,
I want to create i file in the iPhone application.
I try it but i have a anomaly.
In my pc the file is correctly written.
In other pc with the same program the file wasn't exist.
In the iPhone device the file not exist.
But the strange think thing is that i haven't any error for the app in the all case.
Do you have a idea?
Thanks so ...
Hi I am having two date as string , that is assigned to two labels,
one label holds current date string, that is may 29, 2010
similarly the other date will be selected by user in this same format, i need to check the user date is present, past , or future. by comparing with current date string.
please provide some sample code.
Thanks...
I am considering to use a function that was introduced in an iPhone OS version (say 4.0), but I may still want to support devices with older versions and just disable that function.
What would be the best practice for doing this? Is it even allowed?
...
Here is the interface of my controller class:
@interface ProjectListViewController : UITableViewController <NSFetchedResultsControllerDelegate> {
NSFetchedResultsController *fetchedResultsController;
NSManagedObjectContext *managedObjectContext;
}
@end
I use following code to init fetchedResultsController:
if (fetchedResults...
Very very weird problem with UIImageView property on iPad application
@interface MyViewController : UIViewController {
IBOutlet UIImageView* coverImage;
}
@property(nonatomic, retain) IBOutlet UIImageView* coverImage;
… more code
@implementation MyViewController
@synthesize coverImage;
… more code
- (void)viewDidLoad {
[s...
I have a table view and want to allow reordering of all cells, however there are certain cells that i do not want to be allowed to be deleted. when the UiTableView is put into deletion mode i do not want the red '-' button to appear on the left hand side, and do not want the swipe gesture to bring up the Delete button of these cells but ...
Im trying to pass multiple things from a webpage inside a UIWebView back to my iPhone app via the shouldStartLoadWithRequest method of the UIWebView.
Basically my webpage calls window.location.href = "command://foo=bar" and i am able to intercept that in my app no problem. Now if i create a loop and do multiple window.location.href cal...
hi
i am new in iphone sqlite3 database I want fetch value from database and this value is check in if condition that is equal to database value how to do this i am not understand.
plz help me.
...
What is a fast hash function available for the iPhone to hash web urls (images)?
I'd like to store the cached web image as a file with a hash as the filename, because I suppose the raw web url could contain strange characters that could cause problems on the file system.
The hash function doesn't need to be cryptographic, but it defi...
I thought that would be very common and easy iPhone App. In the main app I connect to database, retrieve values from database (NSDate converted to NSString)n and put into single array. Then in one of the views I populate UITableView with elements from the array. UITableView is grouped (sections). I step through array to discover number o...
i want to zoom my uiview, i have added the pdf file in it. i want to zoom that pdf file when i touch it with my finger.
...
HI all,
I am having a 2 textFeild and 1 textview.
out of 2 textfeild,one textfield requires number to be filled in there.
so for that i hv provided numeric keyboard.
i m not able to dismiss numeric keyboard,since i cant c any option to hit the numeric keyboard dismiss.
is it possible to dismiss numeric keyboard
??
if yes than can any...
I am currently trying to record compressed audio with the iPhone Simulator to a .caf container. More specifically I am using the IMA4 codec. It works fine if I have the Sample rate set to 44KHZ. But if I lower the setting to any other value (eg. 22KHZ, 16, or 8KHZ) the recorded file is being played back much slower?! This does not happen...
I would like to enroll my company in to the iPhone Developer Program for $99. I have a few questions, which I can't really find an answer to, because Apple aren't very detailed in their pages unless you actually registered.
So here goes:
1.) Is the $99 paid yearly?
2.) It says when distributing free apps there's no fee, but if I want to...
I am using red5 + rtmp in client-server flash application.
There isnt audio/video streams in my applications, rtmp used for transfering messages from app to server and back.
Now i need to develop application for Iphone and need help:
1) is there any rtmp implementation on Iphone ??
2) If not, how could i solve this problem? Is there is...
I have a TableViewController which display a list of NewsItem objects:
@interface NewsItem : NSObject {
NSString *feedID;
NSString *title;
NSDate *published;
}
I'm trying to implement a Table View Controller (multiple sections) that can display the list in two ways:
One divide News Items into sections which based on Pu...
#import "GameObject.h"
#import "Definitions.h"
@implementation GameObject
@synthesize owner;
@synthesize state;
@synthesize mirrored;
@synthesize button;
@synthesize switcher;
- (id) init {
if ( self = [super init] ) {
[self setOwner: EmptyField];
button = [UIButton buttonWithType:UIButtonTypeCustom];
[self setSwitcher...
Hi,
I have a question for my iPhone app.
I looking for a documentation for libxml2.
I have find more example for reading by XML, but my program must create a XML and i don't find anything (example or tutorial) for this.
I can create a XML with libxml2 or i must use NSXMLDocument?
Can you take me a example?
Thanks so much.
...
I'm trying to add a UIButton to a UIView, but am having some trouble with getting it to respond to touches.
I have a method which returns UIButtons after I provide it with a tag:
- (UIButton*)niceSizeButtonWithTag:(int)tag {
UIButton * aButton = [UIButton buttonWithType:UIButtonTypeCustom];
[aButton setTag:tag];
[aButton a...
When programming my app, I get to the point where I have to update two rectangles on the screen. So I call [self setNeedsDisplayInRect:rect1] and then [self setNeedsDisplayInRect:rect2]. When my drawRect method is called, the rectangle parameter is the smallest rectangle which contains both rect1 and rect2.
I can handle this with no p...