Hi guys
My question is very simple :
Is there any solution to install xCode, or equivalent, under unix OS, like ubuntu ?
Indeed, i don't want to buy an expensive macbook to develop my private iPhone applications.
Thanks for your hints.
Martin
...
hi
i am using below code to change the the font type of text view. but its not changing the font
textView3.font = [UIFont fontWithName:@"Helvetica" size:17.0f];
tell me where i am wrong.
...
Here's a script where lots of people say it's good:
http://allancraig.net/blog/?p=381
But I can't get it to work. What are the steps I have to do with the Xcode script editor, to run that script?
I have pasted it in "Script Editor.app", that Script Editor app from Mac OSx and saved it as clang.scpt.
Then, I went to Xcode and opened t...
I've used this script from the accepted answer here:
link text
When I launch the script, it works all fine. But I can do that only once. The next time I want to execute it, Xcode won't allow me to exec any script. They are all "grayed out", or "inactive" in the menu. When I close and re-open the project, all fine again. How to solve tha...
Getting this error:
2009-09-03 12:44:02.307 xcodebuild[307:10b] warning: compiler 'com.apple.compilers.llvm.clang.1_0.analyzer' is based on missing compiler 'com.apple.compilers.llvm.clang.1_0.analyzer'
This happens when I execute this script from within xcode:
#!/bin/bash
result=$( osascript << END
tell application "Xcode"
tell act...
Xcode / objective c does not really print a useful stack trace. My app crashes somewhere, and the damn thing gives me only numbers like 45353453, 34524323, 6745345353, 457634524234. Not useful at all.
So I want to make a NSLog(); on the beginning of EVERY method I have in my entire app. But maybe there's a simpler way to just find out t...
I'm having some trouble squashing some bugs in my iPhone application and I have come to the realisation that I'm not entirely clear on what the significance of a variable being highlighted in red?
Does it mean the variable no longer exists?
...
In the Instruments tool, ObjectAlloc, is there a way for me to filter the classes it shows to just classes that I've created, and not system classes?
ie I don't want to see all the instances of CFArray and GSEvent but I want to see all the instances of MyClass, etc.
Thanks!
...
Hey all,
I want to incorporate an applicationDidFinishLaunching: into my cocoa delegate. How would I do this?? On the iphone SDK the applicationDidFinishLaunching is already in the application delegate, but when making my mac application I noticed that there were none.
Best Regards,
Kevin
...
Is that generally possible? Is the console able to format a link so that it is clickable? i.e. a link that launches an application, or anything else when clicked?
...
Hey guys,
How would I update my xcode project to 3.2? I need the app delegate of 3.2, but on my current 3.1 project doesn't have them. Please let me know how to do this.
Thanks,
Kevin
...
I'm not even sure, for example, if I can use it like a normal variable. There doesn't appear to be a mutable version. And does mutable mean it's value can be changed?
...
I have a Xcode project from 3.0, and I want to update it to the 3.2 featues. How would I do this?
...
I am having a hard time figuring out how to get the property list file that was created using Xcode. I created a property list file using array with NSString members. I want to grab that file and get all the NSString members and save it to a UITextField. But my problem is that I can't see that file. I don't know if I'm looking in the wro...
Here is some code that used to work with my code, but is having a problem now:
#include <iostream>
#include <fstream>
#include <sstream>
#include <cstring>
using namespace std;
int main()
{
stringstream out;
out << 100;
cout << out.str();
}
I get just blank output. I just changed to snow leopard with Xcode 3.2.
...
I have just added a Core Plot view to my application based on a tutorial (http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application). I have put the Core Plot drawing code in the windowDidLoad method of the window controller for the window where I have included the CPLayerHostingView. The code for the plot is:
CP...
How can I add a new Executable in my XCode project?
Hi,
I add a .cpp file in my XCode project. And the xcode project compiles fine afterward.
#include <iostream>
using namespace std;
int main(int argc, char **argv) {
cout << "Starting main " << endl;
}
But how can I execute that main in my xcode project?
I assume I need to cre...
I've been developing my first iPhone app part-time and would like to start using a more rigorous form of version control than I've been using over the past four months, i.e. copying source code folders to another directory and time stamping them.
I've used SourceSafe and Team Foundation System but I don't have a good idea of what versio...
Here is a simple program to output to a text file:
#include <iostream>
#include <fstream>
using namespace std;
int main() {
double myNumber = 42.5;
fstream outfile("test.txt", fstream::out);
outfile << "The answer is almost " << myNumber << endl;
outfile.close();
}
All that ends up being wrote to my text file is, "The answer is almo...
I have two Xcode iPhone projects I want to merge. Both have viewcontrollers, xibs and appdelegates.
I have merged them but have over a dozen fatal errors, largely about one of the appdelegates.
I went into info.plist and changed the main nib from the first project to the second but am still getting the errors about the second projec...