xcode

XCode: Cannot change target membership for folders

I have a number of folders in my Resources group. I want to include some of them in target A and some in target B. To this end I created two subfolders: Resources - content -- A -- B If I try to change target membership for 'content' I can, under 'Get Info', select the targets. If I try the same for 'A' and 'B', under the 'Targets'...

store (x, y) positions in some output file using Xcode for iPhone?

Hello, I want to program an application on iPhone and I want to know if the idea of this application is doable. So in the Application I want to have an image that appears to the users (this is easy. When the user touches the image, the application records the (x,y) position of where the user touches exactly in the image and stores it in ...

Mac app UDP data over its own IP

Is it possible for an objective-c mac app to send UDP data to its own IP address? If so, can someone show me an example? code? Thanks! ...

XCode 4 Generating classes from entities in CoreData

Hi guys, Im using XCode 4 and working with CoreData. Now, how do I generate classes for entities? I used to do it in XCode 3 by clicking on a diagram entity, going to File->New and choosing NSManagedObject class. For some reason i cant seem to find it in XCode 4, it's not showing up in the dialog... ...

Why does OSX Snow Leopard ship with GCC 4.2.1, and is it possible (advisable?) to upgrade?

Maybe they have a good reason, but I'm struggling to understand why a new OS would still ship with such an old compiler that was originally released in 2007. Did Apple modify it heavily and so therefore it has some features that are required? Is it possible to just download 4.5.1 and use it with XCode? ...

Tutorial about web service

Can anyone give me good tutorial about web service? i find below tutorial with example but doesn't work 1 2 3 for example if i want to show weather in my app should i get data from specific web site or i can get data from yahoo or other site about weather ...

Image VIew problem

How can i remove an ImageView added on a dynamically created UIView, so that i can add another ImageView on my UIView. ...

Is there a setting to make XCode give a prompt before running with warnings?

I make an effort never to allow warnings to stay in my code, so usually when they occur I don't actually want to run my application because I did something stupid. Therefore, I've tried to get in the habit of hitting Command-B to check warnings out before I run, but I slip a lot and hit Command-R instead. Is there a setting in XCode th...

Mismatched -init method names

I discovered an odd scenario that produces a compiler warning in XCode that I don't believe is a valid warning. As an example I created two classes, ClassA & ClassB, that both have an init method called -initWithSomething: One takes an (NSDate *) as the "something" and the other takes (NSString *) Class A // ClassA.h #import <Foundati...

what Compression Library to use for iPhone Application?

Hello people i am looking for a compression library to use in iphone application, please any guide will be so great. Edit hopefully with AES 256 Encryption And Decryption Methods ...

Can't get Zombies to work in XCode

I'm trying to solve my first really hard EXC_BAD_ACCESS problem. I see from a lot of tutorials and blogs that I can use Zombies to help me figure out where I'm going wrong. But I don't think my zombies are working, and I'm DEFINATELY not getting anything useful out of the console. When I start the program I see this: This GDB was config...

How to pass parameter to a c console program using Xcode ?

Hello, with other IDE, you can pass parameter to the program via the IDE (it save times instead of typing hello.c parameter1 parameter2 in the shell) Is there any way to pass parameters to the program trhough the Xcode IDE instead of just clicking on "RUN" then "CONSOLE" (which provide no arguments to the program) Thanks ...

Local Weather condition with google api

I use below tutorial for add local weather condition but this tutorial just add current weather does anybody have any idea about forecast weather? link text ...

Current time of other cities

Is it possible to get current time of other cities from code?(for example current time of Paris) ...

iPhone app like Twitter design structure

I'm new to iOS development and am working on this app that has a similar interface to the official Twitter app. However, I'm not sure how to organize the view controllers and the hierarchy, especially for UITabBar and UINavigationBar (which one is the parent controller?). Can you guys point me to the right direction? I started from a b...