Hi there,
I have an application that uses Core Data that has a relationship that I would like to group by. I have NSManagedObject classes that were generated by my .xcdatamodel file, and everything seems to be working OK for the most part.
Given a parent / child relationship, I would like to do the following:
A parent has a collection ...
I have a UIDatePicker that well, allows you to select a date (not time). I then save this NSDate and use display it in a label on a different view. However, when I load back the view with the UIDatePicker, if the user has already selected a date, I want it to show that selected date (using NSDefaultPrefs). How do I do this?
I know how t...
I have a text comins as " This is very nice #thing" ,I want that text contaning "#" would be on a different color and clicking on it should open a new View.
...
I'm building an iphone app that uses table views contained within UIViewControllers pushed onto a UINavigation controller (very similar to the Contacts app). When you touch a particular table cell it pushes a new view controller onto the navigation controller to allow you to select a value from a table view list. When you select and to...
We we wondering what are some ways developers have added a help function to their apps. What are some techniques people have used?
One way we were thinking of is to us UIWebView to display a HTML file with help instructions.
Thoughts appreciated.
...
I am developing iphone application.
I use NSCoder.
MyApplication.h
#define ITEMS_KEY @"items"
#define CATEGORIES_KEY @"categories"
#import <UIKit/UIKit.h>
@interface MyApplicationData : NSObject <NSCoding, NSCopying> {
NSMutableArray* items;
NSMutableArray* categories;
}
@property (nonatomic ,retain) NSMutableArray* items...
I have created a UITableViewCell using UITableViewCellStyleValue1, which the Apple docs define as:
A style for a cell with a label on the left side of the cell with left-aligned and black text; on the right side is a label that has smaller blue text and is right-aligned. The Settings application uses cells in this style.
I am tryin...
I am writing an iPhone application which requires the user to enter several values that may contain a decimal point (currency values, percentages etc.). The number of decimal places in the values varies. The problem is that the number pad does not contain a key for entering a decimal point.
When I lock my phone, the number pad that com...
In Contacts I have set up a Date field with a custom label (when editing a contact you select Add Field-> Date -> Anniversary -> Add Custom Label).
This is stored in the ABMultiValue property of ID 'kABPersonDateProperty' with a label of (for example) 'Next Appointment'.
The ABMultiValue API has functions to tell me the label name at a...
Hello all,
I want to have an attribute Id which will be increases on its own as it happens in Sqlite and I dont need to update it. I need to know what options do I need to select for this Id attribute to make this work.
In short I want to get an auto incrementing primary key.
...
Hi,
I am using Core Data. I retrieve data in a NSMutable array using some NSPredicate. Now I want to update some items. Let say I have a name string or some BOOL which I want to update. So how to do that. Like Is there any way I can update with respect to ID or something, becoz I dont get all the items from the managedObjectContext.
...
Hello all,
I am using a UIButton of custom type and what I want is use it like a toggle switch with the change of image. Like when it is clicked if previously it was not in selected mode it should go in selected mode or otherwise vice-a-versa. Also it will have a different image and when it is selected it will have a different image whe...
I was wondering how to show a UIActionSheet from the bottom of the screen. I have tried using the showInView: method with MainView as the view to show it in but I get the MainView Undeclared error.
...
As "suggested" by Apple, I have put a button on my application, to restore old successful transactions, in my in-app purchase application.
The problem is this. The user clicks the button and the application starts restoring the transactions. If the application is closed for some reason during this process, the process will continue the ...
Hi i am new to iphone application development..
i want to design a view, where i want to show the bank transaction from date x to date Y
now i want the user to enter this date x & y. Please suggest me the best way for the user to enter the dates .how should i start.
i saw date picker, but i think it looks too big, because it occupies m...
In my iPhone application I want the standard iPhone keyboard word completion functionality to offer application-specific words when editing a UITextField. (How) can this be done?
...
Hi,
On iPhone once IT admin push the configuration file ( mobileconfig ), is there anyway a iphone client can confirm if this configue file is installed on phone?
Thanks,
...
I have a ViewController class called GamePlay. In GamePlay there is a nested class called MyPinAnnotationView. When MyPinAnnotation's method TouchesBegan() gets called, I want to call a method CheckAnswer() from the parent GamePlay.
I do not want to create a new GamePlay instance because I have variables and instances already set. C...
the vertical iPhone viewport width is 320 px, but what is the width in ems
or
what is the default font size in px in the iphone
...
I have an app which has to load some data at startup, so I want to display a splash-screen animation.
I'm using the MPMoviePlayerController to play a m4v file.
The movie has it's background set to [UIColor clearColor].
Default.png is the movies first frame, and also the initial views background image (as a UIImageView).
To loop the mov...