Hi,
I developed an application for Mac 10.5 desktop which communicates with iPhone over wifi using Bonjour service, and it is working fine on Mac 10.5 and able to do required syncing with iPhone over wifi using bonjour.
But same desktop app (although I recompiled for ppc 10.4 and there were some changes in coding like @property needed...
Hi all!
Can anybody please tell me what is the exact difference between stretching and scaling an image? Because you can anyway set the size of image and imageView both to match your requirements.
...
Okay, I'm trying to write a high score function for my app.
My problem is that when no high score has been saved yet, my program crashes.
If I save it with:
[[NSUserDefaults standardUserDefaults] setObject:@"[given string]" forKey:@"firstName"];
first, it works fine. However, if I start up the program for the first time and try to ...
Hello fellows. I'm just trying to get my head around the Objective-C event model on iPhone, and by the looks of things I have fundamentally misunderstood something here.
For the purpose of experimentation, in a view controller's -viewDidLoad method, I am setting a UILabel's text, then sleeping for two seconds, and then changing the labe...
Example: I read data from an XML file. This data has unique id elements. I want to store those objects with their original unique id. How would I do that?
I figured out I could ask the managed object for it's ID, like this:
NSManagedObjectID *moID = [managedObject objectID];
but here the problem is: The XML tells me with the id eleme...
Hello all,
I am trying to use NSURLConnection in asynchonous mode and wait for completion.
During the wait, I use NSRUNLOOP to handle events. Its works in most cases (3G and WIFI)
but the application hangup randomly in GSM DATA and EDGE environnement.
Anyone can help me ?
My code:
(void) connectionDidFinishLoading:(NSURLConnection ...
Hello everyone
I have a project in which the SwitchViewController is root controller
It loads the viewcontroller2 in some status,
viewcontroller2 load modalviewcontroller1 in some status.
There is one function 'okButtonPressed' in modelviewcontroller1(breakpoint 1),
I hope it can notify viewcontroller2 and call the function 'dosomething...
I need some advice how to go about this:
1) I retrieve an XML from a web server.
2) I want to store all the entities (i.e. Friends) from that XML locally on the device, using Core Data.
3) So I parse the XML and make an Managed Object for every Friend in that XML
4) But I want to make sure that I don't add one Friend multiple times i...
Hi guys.
How to create Http Post data to the web server ?
Do you have an example related this issue ?
Thanks in advance.
...
Hi all,
I'm new here but I'd like to learn very well iPhone SDK...
I'm making an iPhone app where I'd like to show a modalView controller at launch of my app... How can I do this?
In this modalView, I request some informations and the view must appear only when these informations aren't saved!
Anyone can help me?
P.S.: Sorry for my bad ...
I have an iPod touch.
I have a Mac.
I want to put an iPod touch app I write with my Mac on my iPod touch.
I don't plan to sell it on the Apple store.
I don't plan to distribute it to other people.
Is there anyway to do this without paying apple $99?
Thanks!
...
I have an custom class for an Core Data entity, called 'Friends'. As I am parsing an XML File, I need to create temporary instances to hold temporary data, without using Core Data at this point. So there are two options:
A) create an NSMutableDictionary to hold the temporary data while parsing an "object" from the XML.
B) use the class...
Hi,
When i try to initialize an object inside the tableView:cellForRowAtIndexPath the simulator crashes. The code i used is
Claimant *tempClaimant = [[Claimant alloc] init];
tempClaimant = [appDelegate.arrRetailClaims objectAtIndex:0];
NSLog(@"Claimant Name is: %@",tempClaimant.ClaimantName);
Is there anything wrong with this. The s...
Hello guys!
There is an animation when something gets done in Mac OS X. You know the animation on dock, when an icon is jumping.
Is there a way to do this on iPhone with a UIButton? If yes, please give me the start.
I know a way with cocos2D, but I think it can be done with core animations too.
Thanks in forward!
...
Hi guys
I want to add a UIToolbar on top of a tableView, but there is only one problem - the table lines can still be seen through the toolbar. I tried to set set the toolbar's alpha to 1.0 but this didn't work. This looks very odd because I only encountered it in UITableView. Any ideas?
Thanks
Alex
EDIT: I figured out the problem. I...
I am new to iphone development, i want to create SMS application in my application.I have created mail application using "messageUI.framework".Is there any framework for creating SMS application.I have no idea of it, so tell me the way of approaching this task. Please guide me to achieve my task.Please help me out.Thanks.
...
Hi,
I am trying to get raw data sent as post to Google App engine, using self.request.get('content'), but in vain. It returns empty. I am sure the data is being sent from the client, coz I checked with another simple server code.
Any idea what I am doing wrong? I am using the following code on the client side generating the POST call (...
I wrote iPhone application using core data.
When I run application in simulator, its crashing with following error:
2010-02-12 17:24:22.359 CrData[46122:4503] Unresolved error Error Domain=NSCocoaErrorDomain Code=513 UserInfo=0x3f484e0 "Operation could not be completed. (Cocoa error 513.)", {
NSUnderlyingException = Error validating...
I am trying to create a custom "Application template".
I tried to learn, "How to create template?" from the sample templates of "Cocos2d iPhone Game development".
The problems that I am facing are as follows.
=> Cocos2d custom application templates have logo - "create new project" screen.
( I don't know, how to place the default lo...
Hello,
I'm having quite interesting (but very annoying) problem with (not only) UI autorotation. I'm working on the app which contains tabbar controller with couple of navigation controllers as tab items. One of those controllers allows for autorotation to landscape mode.
Interesting is that it perfectly works in Simulator as well as o...