I am trying to migrate in core data using the automatic migration. The difference between the two versions is I added an additional attribute a model. When I attempt to add the PersistentStore to the coordinator I get the following exception
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unrecogni...
Given a UIImage of any dimension, I wish to generate a square "icon" sized version, px pixels to a side, without any distortion (stretching). However, I'm running into a little snag. Not quite sure where the problem is. Here's what I'm doing so far.
First, given a UImage size, I determine three things: the ratio to use when scaling down...
Hi,
I want to show a custom animation when pushing a view controller: I would like to achieve something like an "expand" animation, that means the new view expands from a given rectangle, lets say [100,100 220,380] during the animation to full screen.
Any suggestions where to start, respectively any documents, tutorials, links? :)
hei...
Hi
I need to send some arguments from the iPhone to a php in the server
PHP:
$text = $_GET['text']);
$mail = $_GET['mail']);
$phone = $_GET['phone']);
iPhone SDK
NSString *text = [[NSString alloc] initWithString:@""]; //very long text
NSString *mail = [[NSString alloc] initWithString:@"[email protected]"];
NSString *phone = [[NSString all...
Hi,
Sorry to make this request again here too..
I am in need of some urgency.
I need to show a web page content in my application view. What are the ways that can be done for that programmatically in iPhone development. For example, i need to access and show the following page: http://www.business-standard.com/india/storypage.php?auton...
Hi all ,
I am developing an application for iphone .I need to animately increase the width of a tableview cell when the user clicks on it and add a textfield into it .Please any one help me
Thanks in advance.....
...
I've been working on and off with a team that's developing an iPhone app. Like a lot of other developers new to Cocoa Touch, we decided to create a hybrid Cocoa-Web app which was essentially a few buttons controlling some UIWebViews -- partly to (a) leverage existing web development expertise, partly because of (b) the advantage in pushi...
Update:
iPhone OS 3.1 has associated objects. However, the iPhone simulator does not. If you want to test associated objects code in the simulator, you should file a bug.
See my SO question here.
rdar://7477326
Snow Leopard now has associated objects.
Is there a way to accomplish something similar without associated objects? (Spe...
I have a "Song" Entity and a "Tag" entity and they have a many to many relationship between them. A Song can have multiple Tags and a Tag can be applied to multiple Songs.
I want to check if a Song has a particular Tag associated with it. If the Song has the Tag associted with it, I want to show a checkmark in the table view.
For a sim...
I'm trying to give tableviewcell's different backgroundColors with colorwithPatternImage and it is not working as expected. The documentation says nothing about only being able to use one pattern at a time.
Say I have 3 rows and I set the background like so:
Cell1.backgroundColor = [UIColor colorWithPatternImage: [UIImage imageNamed: @...
Hi guys,
I don't know how i can share the same data between two tab bar items.
One tab uses nsfetchedresultscontroller and the other table is just a normal view that should use the same data as my fetchedresultscontroller.
If i had two normals views, i would just make my object a singleton, and let the tableview and normal view use the...
I have a price that I need to convert based on the selected currency.
NSString *path = [[NSBundle mainBundle] bundlePath];
NSString *finalPath = [path stringByAppendingPathComponent:@"currency.plist"];
NSDictionary *plistDictionary = [[NSDictionary dictionaryWithContentsOfFile:finalPath] retain];
int price = [price intValue];
int curre...
Full Size Image
Here you can see the code for the transition but it says there is an error before the "for"
What is it that i'm missing?
I basically want to do a fade in between images.
EDIT
Here is the updated code with the adjustments. I am still getting that error.
Updated Code
The *NSArray** theImages line ends with the f...
I have two possible widths for a string i want to display in a label in a table cell, and i need to compute the height so that the table cell's height is recorded correctly. however, no matter what I do for the constraining size i get the same height, which is incorrect in the case i want. The code i'm using:
CGFloat width = 300.0f;
N...
My controller inherits from UITableViewController with the left button assigned to 'editButtonItem'. How can I find out when the user has tapped the "Done" button after issuing all of the deletes they want?
self.navigationItem.leftBarButtonItem = self.editButtonItem;
I'm implementing
- (void)tableView:(UITableView *)tableView commitE...
I have a UIScrollView that scrolls horizontaly between subViews from user flick gestures or touches on the UIPageControl. Flicks work perfectly on a 3Gs, but often the animation stops short on a 3G, so that the next subView is not centered. A second flick will complete the scroll to the correct position.
The animation is flawless on bot...
I saw the new iPhone apps and it is superb. They have nearly more than 9 sections and they have given good navigate view. They have removed tab bar controller and instead of they have given one good navigate view.
Does any have seen this new Facebook apps and knows that how can we give same navigate view for the any apps.
...
I remember hearing about how Apple was going to include the ability to deploy an app from Xcode to your iPhone wirelessly in the 3.1 SDK. I believe it was to aid developers that wanted to deploy/test apps that used peripherals that plugged into the iphone's docking port- this way, they could deploy a build of the app with their peripher...
I wonder how many users still have not upgraded their phones from version 2.2.1. I'm asking because my iphone application still supports it! Does it make sense to support 2.2.1 when 3.1 is out?
...
How do you stop the rotation of a custom drawn CALayer on the iPhone?
This
CATransform3D pausetransform = ((CALayer *)[layer presentationLayer]).transform;
[layer removeAllAnimations];
layer.transform = pausetransform;
stops the animation, then immediately rotates the layer back a little bit. Probably because after the pausetransform...