Hi,
I would like to use icons under the LGPL license in an iPhone application. I want to modify these icons (size, color or more advanced editing) in order to fit my app requirements.
I understand that the modified versions inherit the license. But embedding the app in an iPhone makes it harder to share the images and license files.
M...
Hi there,
I'm writing a custom UITabBarController so I can fully control appearance of the tab bar. I've got it all working so I have an array of view controllers that it handles.
The controller has a main view which fills the screen, and inside it it has a UIView at the bottom for the tab bar. That tab bar view has a button for each v...
Hi all,
I've recently come across this website and I've been trying to add to my call out view a button (from a image).
The code on the websites example works just fine, but when I tried to add in the same code to my project I'm not getting the same results.
There is obviously something I've missed but I cannot seem to work this one o...
I've got an app that uses Apple's Push Notification Service. I'm registered, and receive the notifications just fine. However, when I go into the Settings -> Notifications area, my app is listed, but there's no icon visible. Is there a flag, or a special PNG I need to include in my bundle?
Thanks!
...
In my @interface theres a NSArray *Monate followed by:
@property (nonatomic, retain) NSArray* Monate;
If i do:
filePath = [[NSBundle mainBundle] pathForResource:@"SomeFile" ofType:@"plist"];
self.Monate = [NSArray arrayWithContentsOfFile:filePath];
in the constructor, it gets set to an autoreleased object (is that correct?).
So s...
Is there a way to get the filenames of the files in an iPhone application's document-folder? How do you do that?
...
I know you previously change the font size of a cell like so:
cell.font = [UIFont boldSystemFontOfSize:18];
I'm using a cell that is init'd with the style UITableViewCellStyleSubtitle. How do I change the font size of the textlabel and detailtextlabel of this type of cell?
...
I have a view (and corresponding view controller) in my iPhone app that allows the user to edit settings for the application. This view is accessible via a menu (a table view). I use pushViewController in my UIViewController subclass to get it shown. When I do this, it appears as I expect - the nav bar appears on top of the xib, and the ...
I would love to use a UIImagePickerController to browse and view images from my app's bundle. However this functionality doesn't seem to exist. Is there a library that replicates the functionality of the photo browser, but can use a list of images from the app bundle?
...
I've read the NSPredicate documentation and couldn't wrap my head around it all the way. Simple predicates I can understand, but now how do I create a predicate for the following situation:
I have an array of Foo objects. In the Foo class, one of the iVars is an NSMutableArray of Bar objects. I need to filter the array of Foo objects...
Hello all,
I am fairly new to iPhone development and I have what seems to be a simple question that I cannont figure out. How can I verify that a user input a number and a decimal into the text field?
I have tried many different things but the closes I can get only allows for numeric strings of the form: 5.34 or 23.89. I need it to ...
I have an application I'm working on that needs to feel somewhat like a Tab Bar application, but without the tab bar.
Anyway I'm wondering if someone has manually written such an application that I can use to bootstrap my knowledge in this area?
Essentially I want to make a tab bar application using a UIToolbar and with some animations...
I am using this code to rotate a needle (like in a speedometer):
CALayer* layer = someView.layer;
CABasicAnimation* animation;
animation = [CABasicAnimation animationWithKeyPath:@"transform.rotation.z"];
animation.fromValue = [NSNumber numberWithFloat:0.0 * M_PI];
animation.toValue = [NSNumber numberWithFloat:1.0 * M_PI];
animation.dura...
Like in this post:
iPhone - UIImage Leak, ObjectAlloc Building
I'm having a similar problem. The pointer from the malloc in create_bitmap_data_provider is never freed. I've verified that the associated image object is eventually released, just not the provider's allocation. Should I explicitly create a data provider and somehow man...
Hi, I am creating a navigation based application and in the root view, it lists an array of choices, which as many you know leads to a more specific choice. My question is the lists that is displayed on the root view is actually not a choices of different functionality like calendar,mail but a choice, which is going to do the same functi...
Sorry to bump this query once again. I need help urgently.
I would like to know about how can we add a background view color when there is table present.
Can someone please have a look at the following query as i have places a link for image:
http://stackoverflow.com/questions/1433193/iphone-sdkbackground-color-for-view-which-besides-...
When pasrsing XML using NSXMLParser, I encountered this problem when the parser received some characters that it couldn't take such as: the auto-correct "..." or "--" in MSWord.
My app reads XML which is exported out of my database from a PHP file. I wonder if I should handle this on the server side or on the iPhone SDK and How?
any he...
Hi All,
I am having a Default.png file in my project, so that whenever my app launches Default.png file loads there. As my app is retrieving data from server at startup(app launch), i want to show activity indicator as well while Default.png file is loading. Is it possible to activate both the process at a time, i mean showing Default.p...
I am trying to import a set of data into a CoreData persistentStore. This is read-only data that will be presented to the user at run-time.
I have an entity called "Category" that has a one-to-many relationship with an entity called "Item", which in turn has an inverse relationship to a Category.
As I add Items to the context, how do ...
I want to remove an animation (CABasicAnimation) before it has completed.
For example:
In my code, I start a needle animating from a rotation value of 0 to a target value of 5. How do I stop the animation when the needle reaches a rotation value of 3?
CALayer* layer = someView.layer;
CABasicAnimation* animation;
animation = [CABasicA...