I've got some threads doing heavy work while my main thread handles the UI stuff. The threads callback to the main thread at times to update a progress bar.
All in all, it's not that stable. I've fixed problems relating to the logic, but one in particular persists. I've got some code that acts like a stop button, meaning that the thread...
I'm trying to write a favorites system for my app. I've already converted my model to a managed object. So imagine the user is presented a screen with a list of such objects. They can choose to save some to their favorites, which will persist them in core data.
The problem is, when I create all of these model objects, I do so with the m...
What is the best way to place an image as the background of an UITableCell? I was thinking of using the cell.contentView property, but it won't compile.
Is there a preferred method of doing this? And maybe an example?
...
Still beavering away, slowly sorting out how things work. Today I've been looking at persistent stores and managed objects. I think I understand the basics of it all, but I've noticed something odd. When I save my managed object context and open up the resulting sqlite file in an editor, there are three tables there I don't expect. They'...
hi,
imagine i have a UIView and to that i add 2 UIButton's
i find that i can put a finger on one button, then, holding the first, i can touch the 2nd button with another finger. Both buttons will show their UIControlStateHighlighted images.
Is there a way to stop the 2nd touch working? I thought that multipleTouchEnabled = NO was the ...
i want to represent a string like x^2 as x2 (with superscript) using drawing and display multiple line if string is long.what are possible methods to use to accomplish this?like CG function in context or using nstext view and layout is better.
and can a context be place above a view?
...
I am using
- (MKAnnotationView *) mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>) annotation{
to draw my own image for a custom pin. I would like to use a different image for different pins. I was wondering how I could differentiate which pin was calling this function.
EDIT: annView.annotation.title did the trick.
...
I am looking for the same voice memo meter which is displayed in the iPhone application. Any ideas where I can find the meter or tutorial on making my own meter.
...
How to find coordinates of gives address (or) location using xcode ?(i.e find latitude/longitude of the specified address)
Can anyone help me ?
Thanks in advnance........
...
Hi, is it possible to make text scroll horizontally and wrap when finished? Automatically scrolling like a NYSE ticker.
And is there a method that could get called on the re-wrap, so I could, for example, refresh the news feed?
I heard you can do this in Three20 but I'm not sure of the class / implementation.
Cheers!
...
Hey,
If I have a tableView setup in an iPhone application with many rows, how can I update just one of those rows? I'm aware that they manually refresh as they come into view, but I'm looking to push out an update, for the sake of argument a timer counting down.
Thanks
...
Hi all,
I'm new to iphone dev, i'm just trying to get something done.
I do my first XML parser App. When my app launches i set a tableView with a custom cell. There is in the custom cell two labels and one image.
When the table view is launched i call my custom cell method which take the string od the image's adress and then make a...
Are there different user agents for each version of the iPhone?
...
I have a UIWebView that I'm setting to some text and displaying and then hiding, changing the text, and displaying again. The issue I'm running in to is that when I make the view visible again I see the old text for an instant. Is there a way to force the UIWebView to show the new text when it displays?
The code is ordered correctly a...
I would like to develop an app which allows the users to copy their photos from their cameras to their iPhones. Since iOS 4.0 supports external accessories, theoretically this shouldn't be to hard, unless Apple specifically blocks it. I read the documentation for the ExternalAccessory.framework and ordered my camera connection kit.
Whi...
What exactly does this error message mean and how do I fix it?
.h
@property (nonatomic, retain) NSDictionary *defaults;
.m
...
I'm new to developing in iOS and succesfully ran through a tutorial on how to create and connect outlets in a Mac OSX Cocoa App. However, when I try to follow the same process for my iPhone app, I keep hitting walls... (Apologies for the lengthy example- please bear with)
Project A:
In XCode:
Create new Mac OSX Cocoa Application
Cre...
i have a class, in which i am initialising another class that i have made. the other class that i have made has a subclass with only a few changes (none to the init method). What i am wondering is will it be ok if i try to do this. the code looks something like this.
in one of the cases:
self.shapeLayer = [[UMShapeLayer alloc] init]...
I want to send message with image data. So I used MFMessageComposeViewController.
But that controller provide only SMS service. So I used UIPasteBoard attached an image data.
But It doesn't work, either. There are no "Paste" button created when typing messages. Attaching image at UIPasteBoard was clearly success.
I think using MFMessageC...
I have a segmented controller which sits on a MKMapView. When I change MKMapType, the image of my custom pins revert to the default red. The title and subtitle, along with coordinates remain intact. Can anyone shed some light on a possible solution?
...