I want to have preprocessor definitions for each machine with Xcode, so no matter what project I open certain definitions will be there. Say in first office I want to have
#define SERVER_IP 10.20.10.20
in other office
#define SERVER_IP 192.168.10.20
etc...
So the projects are exactly same, just Xcode environment would provide tho...
Is there any way we can run xcode on windows and develop iPhone apps?
...
UUID mismatch detected with the loaded library - on disk is:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk/System/Library/Frameworks/UIKit.framework/UIKit
When i run my App i get this error every time please suggest.
...
When I bring up console after my iPhone app crashes, it often says "unrecognized selector sent to instance 0x blah blah blah." How can I find out what variable this is? Is there a way in the debugger? Is it even possible? Thanks.
...
Possible Duplicate:
Implementing Unit Testing on the iPhone
I'm trying to follow Apple's example of how to set up unit testing...
I started a new project and followed the directions. Instead of getting an error message inside the code editor (like in step 8), I get two error messages that are shown on the bottom right icon. W...
Hey guys,
I've had trouble finding simple guides/examples for basic sockets in Objective-C (using NSSocketPort with NSFileHandle or using CFSocket/CSNetwork). Can anyone recommend a guide or a useful example? I would appreciate this greatly! I have tried to use this, but it is incomplete. Thanks!
P.S. I have been stuck in this part of ...
Hi everyone, i've another problem with obj-c:
i'm trying to parse this XML :
here's the case:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body>
<GetMyDas...
Distribution certificate recently expired so had to create another one. Everything seemed to work ok - I made a zipped build with the profile & app file. Sent to a co-worker who installed with no problem.
Sent to another who had a "signer invalid" message and the client I sent to says they get a "do you want to replace embedded mobile ...
Hey experts,
when I click on the header of an NSTableView column, the header gets blue and the little grey arrow shows up. How do I avoid the blue selection and the arrow (but keeping the sorting itself)?
As an example for what I want: In Xcode click on the 'Groups & Files' header.
Thank your for any help!
...
I have to do some XCode/iPhone SDK work tomorrow, and i would like to know how I can prepare on Windows. What is the closest I can get to XCode and/or Objective-C developer experience, ideally IOS or similar Objective-C GUI.
Can also be say an interface-builder that works in a similar way.
I know Hackintosh/Vmware solutions, I think i...
I am working on a project where I have a class which has UIView property. I also define a class which is a subclass of UIView which defines a certain method. If I have the following code, I get a warning when I build:
// In this example, myView is UIView property which *may* contain a UIView or
// my subclassed-UIView which has the myM...
I recently submitted my app for the ipad, and it was rejected for not supporting all four orientation types. Right now I have it set up so that it auto rotates to landscaperight and doesn't rotate again. How would I let it rotate to the other three orientations(or just the two landscapes(because I don't want to create new xibs unless I h...
The documentation says:
To uninstall Xcode developer tools on the boot volume along with the directory, from
a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=all
To remove the underlying developer content on the boot volume, but leave the
directory and supporting files untouched, from a Terminal...
i want to access the same variable in all view controllers ....
...
Hi, I'm still very new to cocoa touch so please excuse any terminology that I may have got wrong.
I have a bunch of images in my bundle consecutively named image0.png, image1.png etc...
I have a picker in a viewcontroller and an instance variable that keeps track of the current row.
When a user clicks a button I want to be able to cre...
I was wondering how to make a menubar application, what are the requirements for that to do so?
I saw a simple application for the menubar was to open links using your Internet Explorer, I want to create something similar to that.
This is the application I like to make similar.
...
I'd like to start creating a few apps for the mac and iPhone for personal interest, but I'm not sure which is the better place to start. Both seem to have a fair bit in common: objective-c, cocoa, xcode, etc. so I would assume that there are a lot of transferable skills.
My question is: which is the easier starting point? Creating a sm...
Hey guys,
I was wondering if objective C does any check to see if a pointer to an object is nil before calling the function.
For example, say I have a
myObject* ptr;
and initialize
ptr = nil;
and call
[self myFunction:ptr];
where myFunction is my own function and does no check to see if the object is nil. I heard somewhere th...
I have noticed that when you create a new xcode project as a view based application it creates a view NIB and when that NIB is loaded it loads below the menu bar. I am trying to create a window based application and programmatically add a view to the window, but the view gets loaded underneath the menu bar so part of the view is being o...
Help!
I cant find whats wrong. My code is up and mostly running and i needed to incorporate Urban Air push notification and there is something wrong with my code. If there is a better or different way to incorporate this that works without my errors I would appreciate that.
I took this code from a tut of Urban Airmail. I wasnt sure wha...