How to customize the UIDatePicker
I am using a datepicker. Now, what i have to do is to show day, date, month and year only. Is there any way to do that. Thanks in advance. ...
I am using a datepicker. Now, what i have to do is to show day, date, month and year only. Is there any way to do that. Thanks in advance. ...
I had a data loader send a message to its delegate when its done - (void) loadingMethod { // Loading stuff... [delegate LoaderDidFinish]; } The delegate then relases the loader that called it, then does some stuff. - (void) LoaderDidFinish { [Loader release]; // Do stuff } This caused a bad acces error. I assuemed t...
I am new in iPhone world, I have register to iPhone Dev program today and I have to upload applications on App Store. But I don't know how to install certificate and upload applications on iTune Store can anyone briefly explain the steps for installing certificates and uploading the applications. Thanks in advance. ...
When an managed object is fetched, and the staleness interval is set to 5 minutes, what happens after 10 minutes, when I access an property of that object? Would Core Data then perform a fresh fetch request? Does that make sense? I can't think of a situation where data is already cached but the object is a fault. When can this happen? ...
Hi, I have a problem. i want convert my object "Position" in a CFDataRef for sending it in the TCP Socket. I don't know how i can do. Can you help me? @interface Position : NSObject { NSString *name; float valueX; float valueY; float valueZ; } -(BOOL)setValue:(NSString*)name:(float)valueX:(float)valueY:(float)valueZ;...
In some cases [[ UIApplication sharedApplication] keyWindow ] returns nil. On some devices it's happening pretty often but in general it's sporadic Anyone know the reasons it would return nil? ...
I'd like to play around with attribute value validation, but the documentation is pretty empty on this. Maybe there's an good article or tutorial out there? ...
The documentation is pretty confusing on this one: The implementation of accessor methods you write for subclasses of NSManagedObject is typically different from those you write for other classes. If you do not provide custom instance variables, you retrieve property values from and save values into the internal st...
HI all, i hv a table view showing 4 languages english,spanish,german and french, i created xib's for each view, also created Localizable.strings. everything is working fine when i change language from simulator. whole app gets changed according to language selected.. what i m trying to do is,instead of changing language from simulator...
Hi Folks, I have a problem in an iPhone application. Application has a table view controller with custom table view cells. Each cell has a Label (please correct me if I need to use text view etc). I am getting text dynamically from a web service call and I don't know how long text gonna be. Now problem is that I want to adjust the tab...
I would like to add some buttons on CPLayerHostingView. I have tried the same by creating some an object of UIButton and adding it as subview on my CPLayerHostingView but it didn't worked as expected. Please help me to do the same. ...
I'm trying to include the elements of an array in the NSString that's returned by the -description method in my class. No clue how to do this in Objective-C...in Java there's string concatenation or StringBuilder, what's the equivalent in Obj-C? TIA.. ...
I am going to develop an Iphone application which will parse the RSS feeds and display the items in my custom cell.(Cell containing the image, label, description, etc). Can somebody please help me?I would be sooo happy if somebody can help me!! Thanks so much! ...
Hi guys, I'm wondering it there is a way to build an Objective-C applications and then integrate into an HTML page so it can be open from iPhone, Safari. Is that possible? I'm thinking to be something similar with Flash application embedded on HTML pages by using a Flash Player plugin. Cheers, Codrin ...
Hi Friends... I have got a problem with the default Image which is displayed during the application load. The default image is shown in the simulator.. But not showing in the iPod ... I checked the spelling but thats all fine.... Can anyone provide me a solution,,, ...
..Continued on from my previous question I have a 320*480 RGB565 framebuffer which I wish to draw using OpenGL ES 1.0 on the iPhone. - (void)setupView { glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, (int[4]){0, 0, 480, 320}); glEnable(GL_TEX...
From the Core Data docs: Inheritance If you have two subclasses of NSManagedObject where the parent class implements a dynamic property and its subclass (the grandchild of NSManagedObject) overrides the methods for the property, those overrides cannot call super. @interface Parent : NSManagedObject @property(nonatomic, ...
I use everywhere NSLocalizedString(@"Text in deutsch",@"das Textfeld Text in deutsch") I have two Localizable.strings files. One for german and one for english. What I realized now is. If you have a german iPhone, you get the german text, if you have your iPhone set to english you get the english text. But if you have lets say french, t...
Everything about this UIButton renders great except the text that's supposed to be on it. NSLog demonstrates that the text is in the right place. What gives? UIButton *newTagButton = [UIButton buttonWithType:UIButtonTypeRoundedRect]; [newTagButton addTarget:self action:@selector(showNewTagField) forControlEvents:UIControlEventTouchUpIns...
I am developing an iPad application where i want to reduce the textsize in a segment in a UISegmentController.Please help. I also want to change the selected segment color. currently the default color we get when a segment is selected is blue. I want to change it to red. Please help me if anyone is aware of these solutions. I am trying t...