I have a tabbar application that has one screen that displays statistics based on the data presented in the tableviews of over tab screens. I would like to refresh this view once the stats view becomes selected again. I have implemented the tabbarcontrollerdelegate protocol to take an action when the viewcontroller.tabbaritem.title ise...
First - I read all similar topics and non of them work for me.
I have few View Controllers. And I change them by that code:
- (void)flipToAzbukaMenu {
AzbukaMenuController *aAzbukaMenu = [[AzbukaMenuController alloc] initWithNibName:@"AzbukaMenu" bundle:nil];
[self setAzbukaMenuController:aAzbukaMenu];
[aAzbukaMenu release];...
I want to remove a badge as soon as the user clicks another tab. I am trying to do:
- (void)viewDidDisappear:(BOOL)animated {
[super viewDidDisappear:animated];
UITabBarItem *tbi = (UITabBarItem *)self.tabController.selectedViewController.tabBarItem;
tbi.badgeValue = nil;
}
But it doesn't work.
...
Wondering what the best method is for communicating between a 10.5/10.6+ System Preference Pane application to our php5 web application.
The Preference Pane application that we've yet to develop will allow the client to authenticate to our online services, then allow them to control how their local client is backed up to our online back...
As some of you may have seen me experimenting with a program converting from Fahrenheit to Celsius and visa versa in Objective-C based off of console input and output. I'm just doing this to better learn the language and I think its a good way to demonstrate some of the things I've been exposed to.
So, anyway, I am looking to incorpora...
Is it possible to access information like the alarm clock time and change it from a different application on the iPhone. And if its possible to do it, can it be approved by the app store to sell it?
...
Hello,
I am trying to figure out how to use a UINavigationController, UITabBarController, and UITableView together.
I started with a Navigation-based app, and at one point push a UIViewController (called CarViewController) onto the navigationController. I want to use a TabBar within the CarViewController, so I dragged a UITabBarContro...
How do you make an image follow your finger in objetive-c?
...
After creating a socket with CFStreamCreatePairWithSocketToHost is there a way to retrieve the socket file descriptor of the underlying socket?
The reason I ask is that if I create a socket with
CFStreamCreatePairWithSocketToHost(kCFAllocatorDefault, (CFStringRef)host, port,
&readStream, &writeStream...
Hi guys,
I set the clipsToBounds property of my UIView to NO, then I created a UIButton half in the bounds, and half out of the bounds. I found that only the part in the bounds is clickable.
How can I make the whole button clickable?
Any help would be appreciated. Thanks in advance.
...
I have three Objective-C classes:
@interface ClassA : NSObject{
IBOutlet id<ClassAProtocol>delegate
//other instance variables
}
//methods
@end
@interface ClassB : ClassA{
//instance variables
}
//methods
@end
@interface ClassC : ClassA{
//instance variables
}
//methods
@end
My objective is so that when an ins...
Hi, everyone,
I want to ask a question about the iPhone application. I am going to write a program which is related to a calendar function. I want to use the CalDAV to do this. However, I am not familiar with the iOS environment. Does the apple provides any library or API for the developers to write the program by manipulating the CalDA...
I honestly don't know how to subclass a UITableView. I'm super confused and looking for whatever help I can get. How do I go about "subclassing" a UITableView? Reason I need to do it is because I need for the table to respond to touches on the background so that keyboards can be hidden. I've tried googling but couldn't find anything. Any...
I have tried using a variable as an input parameter to NSLocalizedString, but all I am getting back is the input parameter. What am I doing wrong? Is it possible to use a variable string value as an index for NSLocalized string?
For example, I have some strings that I want localized versions to be displayed. However, I would like to use...
Hi, everyone,
I want to ask a question about the iPhone application. I use the Xcode to write the iPhone application about the calendar and the simulator is 3.1.3.
However, I cannot see the Calendar app. (The simulator only displays the 1. Photos and 2. Settings). Do I need to set something or download from the Internet in order to se...
Hi, everyone,
I want to ask a question about the iPhone application.
I read the document published by Apple
However, I have not idea of the EKEvent, can anyone explain more to me? Thank you very much.
...
Dear all,
When I try to convert a NSString object into a NSdata object, I use the followning code:
NSString *finalWordList = wordList.text;
NSData *data = [finalWordList dataUsingEncoding:NSUTF8StringEncoding];
wordList is a UITextView object.
After that, I upload the NSdata object to my web server, which will be in .txt format. Whe...
I want to load data (an array of strings) from the parent view into a set of UITextFields in the child view upon presenting the modalView.
I know how to pass from child to parent, and I'm sure it's even easier to go the other way, but I don't know how.
Thanks in advance!
UPDATE: Update removed because I found the problem (double relea...
Hi, everyone,
I want to ask 2 questions about the NSDate of iPhone application.
1) How to set the
NSDate *startDay to 01-01-2010 and NSDate *endDay to 31-12-2010
2) how many day between the startDay and the endDay.
What should I do? Thank you very much.
...
I am using a singleton class to share data between views in my iphone app. My singleton class contains a dictionary which I allocate in my -init method:
- (id)init
{
if ( self = [super init] )
{
self.dataList = [[NSMutableDictionary alloc]init];
}
return self;
}
I release it in my dealloc metho...