xcode

Xcode print symbol not found for my C function which used in Objective-C method body.

Xcode build prints this error . Undefined symbols: "EGViewportDimensionMake(unsigned int, unsigned int, unsigned int, unsigned int)", referenced from: -[Renderer render] in Renderer.o ld: symbol(s) not found collect2: ld returned 1 exit status I cannot figure out what's the problem. I'm not good at classic C syntax....

How to build boost library and others against OS X 10.4u SDK on OS X 10.6?

Hello, I'm trying to build the boost libraries and others against the os x 10.4u.sdk so I can include them in a project targeting 10.4 upwards. I'm not entirely sure what to do, am I aiming to put the .dylibs in 10.4.sdk/usr/local/.. or in my default 10.6 /usr/local/.. with support for 10.4? Any help much appreciated. Toby. ...

Programming on iPhone - how ?

hi i have some question about programing on iphone what OS the iphone have ? what the language for programing on iphone ? what compiler i need ? is there Visual-studio tool for this ? (i'am C# programmer ) ? thank's in advance ...

Xcode iPhone SDK "Terminating app due to uncaught exception"

Hi. I have a problem with my application for the iPhone. It's a tab based application. In one of the tabs, I have a Table View. I have set it up to load in data from a PLIST. My problem is that when I try to build and run it, the application either crashes, or stays at a black screen with the error message "Terminating app due to uncau...

My Xcode only supports 3.1.2 not IPhone OS 3.1.3

What can I do?? I just upgraded my iPhone OS but now my Xcode can't run things on it. (and the newest Xcode on the apple site is like a beta version or something) ...

How do I upgrade IPhone SDK from 3.1.2 to 3.1.3

So I'm downloading this xcode 3.2.1 with iphone sdk 3.1.3 (it's like 3gb). I currently have xcode 3.2.1 with iphone sdk 3.1.2. What is the way to upgrade this, do I just install it and it'll install it over the one I have or something, is this even the right way to do this since I'm only trying to upgrade the iphone sdk?? Thanks in advan...

NSMutableArray Strings changing after reading in from file

I have a NSMutableArray that I create on program load. If the program terminates, I save the array to a file. Then when the app starts again, I check to see if this file exists and if so, read it in as the array. Problem is, on first creation everything is fine, I check an array object against a certain string and if it is equal, do...

Do I need to uninstall Xcode when upgrading?

Or do I just install the new one on top of the existing one? ...

iPhone app crash logs -- How can I use them to debug my app?

I'm not an expert in programming in general. I can find my way around Objective-C and Xcode and build working apps with no huge problems but when BUGs arise I'm often lost as to where to begin. My app works fine on the sim but more often-than-is-comfortable it crashes on the device. I looked at the crash log to see if there was any clu...

XCode iPhone SDK Interface Builder problem

Hi. I have a problem with my XCode project. (I am a noob at Objective-C and XCode, so please be patient with me..) I created a new project as a Tab Bar application. I created four new header, implementation and interface files, and added those as the sources in interface builder. They were in this format: FirstView.h/m/xib, SecondView....

Week View Control for Cocoa (Apple Mac OS X Dev)

Hi there, does anyone know if there is a control for Cocoa that has the same abilities like the iCal Week View? Which means a spreadsheet like view for the whole week with Appointments to render in their timeframe. I searched through Google for some time now and didn't find anything. Thx in Advance Steve ...

How can I configure XCode to generate warnings for methods without prototypes?

I'd like Xcode to warn me if I define a method but don't declare it in the class's @interface block. Is this possible? Thanks. ...

FrontRow tutorial for Xcode

I was wondering if there was a basic tutorial to get me started on coding a FrontRow plug-in / add-on using Xcode. I searched Google a couple of times, but I haven't found a tutorial on this subject so far. ...

NSMutableDictionary sometimes shows value or key with quotes

I am parsing a data file and adding the key-value read from the file into an NSMutableDictionary. I have noticed that when I print out the content of the dictionary in the debugger, i.e: po myDictionary some entries have quotes around them and some don't. Why is this? For instance I see: { "file_path" = "../dat.txt" anot...

Is there a way to disable or modify Xcode's code completion?

I have unchecked both "Show arguments in pop-up list" and "Insert argument placeholders for completions" in Xcode Code Sense preferences, but when I type "else" (for example) in the editor, Xcode still dumps in a pre-formatted "else" block. Is there a way to disable this feature entirely, or (better yet) to modify the block that Xcode i...

Is it possible to change the way Xcode indents comment blocks?

By default, Xcode automatically indents multiple lines of code within C-style comment blocks by one space: /* this is a comment block line 1 line 2 */ Is it possible to modify this behaviour? I would prefer to have no indentation within comment blocks. ...

Remote developing with Xcode ?

My project files is in a remote(ftp/svn) server How to develop the project direct in the remote server? just like a local dir ? can do that with Xcode ? ...

Why is a documented NSDateFormatter init method not getting recognized?

I'm getting this warning (below) when trying to use NSDateFormatter. I am importing in my .h file so what is the prob? (Oh, and the same method generates an error (unrecognized selector sent...)) Here is the WARNING: warning: no '-initWithDateFormat:allowNaturalLanguage:' method found Here is the Code: NSDateFormatter *myFormatter ...

Flipping within a TableCell - like utility application.

Hello ! every one. I have some query regarding tableViewCell. Let me explain the situation. There are many values added in an array for the table cells / rows. Now, each cell has info button as static. Each element of an array has dictionary and it has these two values = cellvalue & detail value. Now, when user clicks on info butt...

What is a good first C app to build, besides "Hello World"

I'm learning the C language on my Mac with Xcode. I've created a "Hello World" app, and played around with simple maths. What should be my next goal? If someone was to ask me about PHP for example, I'd say "build a basic blog software". Can someone point me in what would be a great learning experience for someone new to C? One that wil...