I saw the other question here with the similar error yet their fixes did not help.
I have a jailbroken iphone 3.1.2, and I just purchased apple's $99 dollar thing and I'm trying to make it so I can debug my apps on the phone. The device installs but will not run when clicked build and go.
If I click on the icon made on the iphone it wo...
Hello,
I am interested in building a Timer Based game such as mafia wars or soemthing like that. I'm stuck on one question.
What would be the best way to retain a timer, even if the app is closed?
Should I do this based on the Device Clock? or should I set a time to a server, and get the time when the device starts up?
If any one kn...
I've seen this happen whenever i rotate a screen that has a UITableView on it. I've found out that it happens inbetween the willRotate and didRotate method calls in UIViewController My co-workers have seen it in other spots as well, usually around rotation. It hadnt started happening until very recently, and we're stumped as to how we ...
Question..
I'm currently making a conversion app. I have for the first tab where the information is entered. Views 2 and 3 are where the information from view 1. I'm having an issue.. I'm not sure how to send the information from view 1 to view 2 and 3.
I've looked at examples.. but I'm still not quite grasping the idea of it. any sug...
I haven't seen any other questions quite like this on here, but I'm hoping someone has some insight. I'm just starting to learn Core Data.
Basically, I have two methods and I want to choose which one to call with an if/else statement based on whether or not the "Contacts" table contains any records. Is there a way using core data to che...
Here is the method declaration midway in Apple's documentation:
Learning Objective-C: A Primer
- (void)insertObject:(id)anObject atIndex:(NSUInteger)index
Why is there no "*" right after NSUInteger. I thought all objects were pointer types and all strongly typed pointers had to have a * after it.
...
When I use jQuery for a simple click event it only works for links. Is there a way to make it work for spans etc:
$("span.clicked").live("click", function(e){alert("span clicked!")});
$("a.clicked").live("click", function(e){alert("link clicked!")});
Example is here:
http://ip1n.j-www.com/test/index2.html
The SPAN works in Safari bu...
I've done this to get the view:
[self.superview viewWithTag:10]
But how can I get that view's viewcontroller. Just like you can get the the viewcontroller's view I want to go the other way so I can send a message (call a method) to that viewcontroller. eg:
[[self.superview viewWithTag:10].viewController doSomething];
(obviously tha...
A little background:
My app is designed as a web form in a UITableView. It is similar in format to the iPhone's Settings > Mail,Contacts,Calendars > "Account Name" > Account Info. A few differences: 1) I have a big text box on the bottom where you can put a "message body". 2) I have a big red button underneath the text box, similar to...
Is it possible to programmatically upload a picture to twitter from iPhone?
Can this be done through twitter directly, or do I need to use a third-party service like Twitpic?
...
I have created a test app that has in app purchasing. I am able to connect to the store and verify my product ID's. I then use my test user account to purchase a product. And guess what... it works... the first time. If I try to use the test user account to buy another product (the same product or a different one) then I get a pop up tha...
I have a NIB that contains a UINavigationController which has a UIViewController. The UIViewController is being loaded externally from another nib. I am unable to set the view property thus I get the error:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed...
Example: I have a Department and an Employee. Department has a Nullify relationship to many Employees, and an Employee has an inverse relationship to one Department.
Now I remove the relationship to an Employee. So lets say the Marketing Department doesn't link anymore to Joe Stevens.
1) Does Joe Stevens still link to the Marketing De...
Hi I have an app that starts in Landscape Right mode.
When I tap a textField the keyboard should slide up, however first time when the keyboard slides it slides from the right (where the home button is).
After that it slides up and down as expected.
So only the first time when I call the keyboard in it comes from where it would com...
If I am loading a view from another NIB, how do I set the File's Owner view property? IB is not letting me hook it up to my View Controller which is loading the external NIB.
My NIB looks like this:
File's Owner - Identity is set to LBRootViewController
First Responder
LBTableViewController - Identity is set to LBTableViewController,...
I have a command that should be loading a subview before a particular piece of time intensive code executes. However the command runs, the timely code executes and then the subview shows up. Is there anything I can do to fix this problem?
progressViewController = [[ProgressView alloc] initWithNibName:@"ProgressView" bundle:[NSBundle mai...
I'm using Core Data's automatic lightweight migration successfully. However, when a particular entity gets created during a migration, I'd like to populate it with some data. Of course I could check if the entity is empty every time the application starts, but this seems inefficient when Core Data has a migration framework.
Is it possib...
Hi,
I am developing an iphone app. Instruments reported a leaked object ServiceTypes. Below is the relevant code. Does anyone have any ideas? Thanks a lot for your help.
ServiceTypes *serviceTypes = [[ServiceTypes alloc] init];
if ([userConnection getServiceTypes:serviceTypes]) {
if ([serviceTypes.types length] > 0) {
NSAr...
Hi,
I am maintaining a fairly large mac project and an iphone client for this project. Some code as well as some images and core data models are shared between these two projects.
I want to create a shared framework containing this shared components but to my surprise, frameworks like we cocoa developers known them are not supported on...
As an iphone/ipad developer I am always on the lookout for a beautifully designed app; to appreciate the design and hopefully learn a few things from it.
Any one know of any resource (blog / web album ..etc) that has screens of well designed iphone/ipad apps?
thanks in advance.
...