When I call startAnimating on a UIActivityIndicatorView, it doesn't start. Why is this?
[This is a blog-style self-answered question. The solution below works for me, but, maybe there are others that are better?]
...
i want to change the UITableViewCellStyleSubtitle default style to support one textLabel and two detailTextLabel (it only support one), how do i customzie it ?
LazyTableImages - sample code link:
http://developer.apple.com/iphone/library/samplecode/LazyTableImages/index.html
THX :-)
...
What do you think is the best iphone/ipod touch dev websites.
Like to see tutorial, sample codes for cool app, native or Web app.
...
what if i have ecommerce application?
like i have
1)sale page
2)list of product page(grid view and list view)
3)detail of product
4) zoom images for that product.
what kind of template should i use?
i refer this post but its not clear.
http://stackoverflow.com/questions/366899/new-iphone-app-how-to-choose-which-xcode-template-to-use/1...
Slower than what? slower than creating the same textures from an image loaded from the app bundle.
How much slower ? 80 times slower on iPhone, similar ratio (but faster overall) on Mac.
My example below shows loading an image with imageNamed: ; creating textures from the first image ; saving image to a file in the app's Documents direc...
This is probably either real easy, real dumb, or my google fu has taken a serious turn for the worse. Anyway, I'm implementing custom view for my app, which is using pure CGContext drawing, no subviews (for now at least). The thing is, I want it to autorotate, so I have shouldAutorotateToInterfaceOrientation return YES, and voila, the vi...
Hi
They "brush" the subject in this thread, but it does not really answer much:Stackoverflow UIScrollView question
I have a UIScrollView and a UIPageControl working together to present a set of views.
(Standard "Home screen" swipe style, in lack of better words)
Each of these views, inside the scrollView, has a thin menu in the bottom...
I'm using a NSDateFormatter to parse a RFC 822 date on the iPhone. However, there is no way to specify optional elements in the date format. There are a couple of optional parts in the RFC 822 specification which is breaking the date parser. If nothing works out, I'd probably have to write a custom parser to obey the specs.
For example,...
I just saw the zoomToRect and setZoomScale method of UIScrollView only works in Iphone OS 3.0. Now my problem is how can I manual zoom a content in UIScrollView without using zoomToRect or setScale method?
Thanks.
...
Hi,
how can I save a GIF on the iPhone? The SDK includes only UIImageJPEGRepresentation and UIImagePNGRepresentation but nothing for GIFs or other image formats, is there a way to convert a UIImage to a GIF and save it?
GM
...
Hello,
I have two files in the Documents directory of the same image taken with the camera. One was saved using UIImagePNGRepresentation and the the other one using UIImageJPEGRepresentation. In other word, one is a png and the other is a jpg.
Now, using the the instrument with a real device. if I load the png (initWithContentOfFile:),...
Im am trying to improve a ToDo app for the iPhone.
I have two entities, 1. Task 2. Project
A project can have multiple tasks but a task may have none or one project.
I have been trying to display both in the same UITableView using NSFetchedResultsController
is it possible to fetch two entities and display/sort them both from the same...
I have an array of custom objects. The objects includes a dictionary.
Something like this:
CustomDataModel *dataModel;
dataModel.NSString
dataModel.NSDictionary
dataModel.image
I'd like to sort by one of the objects in the dictionary:
dataModel.NSDictionary ObjectWithkey=@"Name"
The dataModel gets loaded into an NSArray. I now wan...
Hi,
I'm using Matt Gemmell's amazing MGTwitterEngine for an iPhone project, and my lack of familiarity with Obj-C and JSON parsing is making a simple job seem rather daunting.
I've read this link, and while it helps me understand how the data is structured, I still can't seem to be able to parse it.
If I do an NSLog of the output of g...
i want to set different image icon for the each cell of tabelview , i dont know how to do this , pls help me.
...
i have created a table view which displays database fields.i need to add a sub-label and a subtext to each cell in which i can display other database fields. need help..
...
resizing a camera UIImage returned by the UIImagePickerController takes a ridiculously long time if you do it the usual way as in this post.
[update: last call for creative ideas here! my next option is to go ask Apple, I guess.]
Yes, it's a lot of pixels, but the graphics hardware on the iPhone is perfectly capable of drawing lots of...
I want to use touch event methods for UIScrollView. But it was said that I could do this only if I subclass UIScrollView and write these functions inside it. So i did like this
SubClassing.h
@interface ImageTiling : UIScrollView {
}
@end
SubClassing.m
#import "ImageTiling.h"
@implementation ImageTiling
- (void)touchesBegan:(NSSet ...
I am trying to learn something basic and very important to develop decent iPhone apps. But I don't know enough to understand what I am not getting. Here's the question:
I have a window project, with 2 views - View1, View2. On each view (thru IB) I dropped an imageView control. When I call a function in view1 I want to set the image cont...
I have a wifi chip which i want to connect from the iphone and send data to it. How do i do this ? Ideas or sample code or possibilities of this are appreciated.
...