Hi, I'm looking to create an interface where the user can navigate through large volumes of images. Each image has a thumbnail of 128x128 that I wish to display and will be kind of similar to coverflow in operation.
I have this all working in principle but am becoming stuck when navigating through content at speed. The interface begins ...
Hello, I want to download a .mp3 file on a Website with NSSURLConnection on IPhone,
This .mp3 URL of the file is:
http://dl.mp3.kapsule.info/fsfsdfdsfdserwrwq3/fc90613208cc3f16ae6d6ba05d21880c/4b5244f0/b/7e/b7e80afa18d06fdd3dd9f9fa44b51fc0.mp3?filename=Every-Day-I-Love-You.mp3
When I built my app, it run OK. My app downloaded the .mp...
Hi, i have custom cell with 2 buttons(the function of these buttons is just to disable the button that was pressed).
When i use dequeueReusableCellWithIdentifier in this classic way:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"Cell";
cell = ...
I am currently trying to make a sectioned table like this:
Section 1:
Entry 1
Entry 2
Entry 3
Section 2:
Entry 4
Entry 5
Entry 6
Section 3:
Entry 7
Entry 8 ...
However, using this code:
Event *lists = (Event *)[eventList objectAtIndex:indexPath.row];
accessStatement = "select * from DatabaseName";
[self findEvents]; // Code that b...
My app has a SQLite database that users can read only. I, the developer, would like to add entries to the database from time to time and make the enlarged database available as a file on a Web server. I'd like the users to be able to "check for updates".
My question is, once a user checks and finds that an updated DB file exists, how ca...
I have designed a view with a toolbar that appears modally in Interface Builder. I have a UIBarButtonItem that is on the left hand side, which I would like to appear on the right hand side of the toolbar. How can I do this in IB, or via code?
...
Hi there,
I wonder if it is possible to build iphone-wireless' stumbler app with Apple XCode or it is necessary to use alternative arm-apple-darwin environment to build it.
thanks
...
The UIAlertViewDelegate protocol defines two methods, alertView:clickedButtonAtIndex: and alertView:didDismissWithButtonIndex:, which seem to me to be identical in usefulness.
Why is there a clickedButtonAtIndex and a didDismissButtonWithIndex when they both do the same thing? I realize there is also a willDismissButtonWithIndex that ...
This may not be a programming question, but I don't know where to ask for this and it's still related.
We all know that the checkbox and drop-down menu is a UI paradigm brought in from HTML or web interface.
I'm not asking for code implementations here. A google search had produced many results. Although if anyone is willing to share ...
hi Guys,
I would like to increase the height of a UIImageView with every animation frame using Core Animation. Is there any way to do this?
I have done this using an NSTimer. I set the UIImageView contentMode to scalingMode and then with each tick of the timer i was incrementing the height.
Is there a cleaner, high level way of doing t...
I used core data to do this:
NSManagedObjectContext *m = [self managedObjectContext];
Foo *f = (Foo *)[NSEntityDescription insertNewObjectForEntityForName:@"Foo"
inManagedObjectContext:m];
f.created_at = [NSDate date];
[m insertObject:f];
NSError *error;
[m save:&error];
Where ...
Maybe it's just the fact that I've been using http://nodejs.org/ lately, but the lack of closures in Objective-C (iphone) has been really hard to work around.
For example, I'm creating service classes. Each service class can have several methods, each of which makes a different URL request. I can use the delegate pattern, but that mean...
I tried everything to debug this one but I can't get to the bottom of it.
This code lives in a subclass of NSOperation which is processed from a queue:
(borders is an ivar NSArray containing 5 UIimage objects)
NSMutableArray *images = [[NSMutableArray alloc] init];
for (unsigned i = 0; i < 5; i++)
{
CGSize size = CG...
Hi everybody, I'm trying to create a new contact and add it to the AddressBook but when I get to the ABAddressSave line of code I get EXC_BAD_ACCESS. I cannot see what am I doing wrong, I enabled NSZombie to check if this is a memory related error but it didn't spot any. Can anybody tell me what is wrong with this code? Thank you in adva...
I want to change an image on a view, from a popup dialog of 4-6 icons (imagine like changing your image on a messenger application).
The way I implement this modal popup is by creating a new view at IB, with opacity on the background, and then I load this as a subview:
IconsViewController *iconsViewController = [[IconsViewController...
There is information that is only available after drawRect that I need to access when loading a UIView. Is there any way to do a "pre-draw" or offscreen in order to get this information earlier?
...
Hi!
I made a toolbar with two buttons on it. I then created two outlets in my class controller. Then I hooked the the controller to the buttons and selected the outlets.
Finally I rewritten the class files (that added:
IBOutlet id next;
IBOutlet id previous;
to my .h file).
So now, everything looks okay. But then I try somewhere in...
I started my iPhone application as a navigation-based app which has served me well until now. In the nib for my TableViewController, I see the TableView (with its example values of California cities) but I'm able to drop any other UI elements on it (for example an UILabel).
I can add a UIWindow which gives me a separate window to add st...
This has been annoying me for a while in several XCode projects. I really don't like to have compiler warnings when I build. When I build my current project, I get the following warning from a bunch of XIB files:
/.../CaseInformationView.xib:3:0 UIScrollView's 'Bounce Zoom' option will be ignored on iPhone OS versions prior to 2.1.
...
Hi guys,
I have a core data-based app that manages records of auto dealerships. Each record stores the dealer's address, which is broken into addressLine1, addressLine2, city, state, and zip components, each stored as a string in the data store.
I would like to present a list of cities with dealerships to the user, so I'm trying to fi...