Hi, I made a physics arcade game (with a metaphorical twist!) called Enlightenment Vision, and I see it available on iTunes, but when I do a search for "Enlightenment" on my iPod my app isn't shown.
I didn't get an e-mail from Apple announcing its launch though, which is strange. (I got one a few days ago for a naming inconsistency in t...
If I've created these two variables:
NSDecimalNumber *myNum;
NSString *myString;
how do I later test whether an object has been assigned to them yet or not?
Thanks
...
I'm curious why a variable overtly assigned to nil, prints as (null) with NSLog:
NSString *myVar = nil;
NSLog(@"%@", myVar);
# RESULT: ' (null) '
This is of course quite confusing given all the different kinds of "nothingness" to figure out in Objective-C, and had me trying to test various IF NULL syntaxes.
...
Hello,
I´m writing an program that uses twitter. I want that my app shows an UIAlertView when the user presses on the "Tweet"-Button and the username or password is wrong.
For my Twitterfunction I use the TwitterRequest.m/h from Brandon Trebitowski. If everthing works great and the username/password is right, this happens in my app:
...
On my iPhone 3G I have a couple videos saved from emails and some apps i recored with and every time I try and open the UIImagePickerController it doesn't show the videos for me to choose. How do I get the UIImagePickerController to include videos and not just pictures?
...
I have UIView subclass - actually a puzzle piece - with 2 different CGLayer initialized at initWithFrame.
In drawRect I have to blend this two layer, and the uppermost should have variable alpha depending on game-logic.
What is the best (most performance optimized) way to do this? Is there any CGLayer, or CGContext function that sets s...
Hi
I have found a set of great macros here Objective C Macros
I put the:
#if DEBUG==1
#define .... macros
in my header file.
Now I simply can't figure out where to set DEBUG=1 or DEBUG=0 in Xcode so that
it will define the macro when debugging and not when releasing.
Hope someone can help me find the missing drop down menu:)
Thank...
I add some js and css files in my xcode left project tree. but when I build this project , I got the warning : no rule to process file '$(PROJECT_DIR)/js/builder.js' of type sourcecode.javascript for architecture i386
I think if I lost some setting with my project in xcode , but How to add some like js and css files? Thank you very much...
Hey, working on some categories and I've bumped up against a weird issue, im basically expanding on a calculator class to add some trig methods, and i am getting an incorrect value when i call the sin method in the return in the form of a double. i send a value of 100.7 to the method and it returns 0.168231, from what i can see the corre...
I realize I have to use Xcode to develop for the iphone, but I'm trying to build apps from raw source code generated outside of Xcode.
For example, I would like to "Build and Go" the apple demo "TheElements" (here). (I use this example because it has no .xib files - so Xcode is not needed for the UI).
It works to just unzip and open ...
I have a Xcode project that is building a library and I want to be able to debug the library when it is loaded by the main application.
Run and Debug options from Run menu are disabled and if i try to use attach to process option I get "No launchable executable present at path". When looking at Active Executable I see but I don't know ...
This is for some reason really hard to find and solve. Cannot find any documentation on it.
I've got a non-document based application which I would like to open all specific file types, but I do not want to use NSDocuments but let my code handle the opening of file and processing of it. I've added the CFBundleTypeExtensions and all, sett...
I have an Excel file with about 60 rows and 4 columns to convert into a test.plist file. I wrote a csv2xml parser and generated the plist but XCode refuses to recognize it when I added test.plist to the project. Double-clicking on the file inside XCode reveals this error:
The document test.plist cannot be opened. Conversion of string...
Hi, I've created a Beta ad hoc delivery profile, and when I press 'build and run' on the device in beta mode, my app crashes after I press a button.
However, when I use the app in debug mode (on the device) it works fine. It also works fine in the simulator and on the device in beta mode (when it's not connected to XCode)
Any ideas wha...
I have an Xcode project (for an iPhone application) that uses cocos2d. I have cocos2d set up as a dependent project, so it builds alongside my project.
Now I need to set a compiler flag to Cocos, and I can't find where to do it.
I tried setting the compiler flag in my build settings, but it doesn't propagate to the dependent projects. ...
Hello everybody!
I've created a new App and want to test ist in release Version. So I copied the Growl Framework to my ProjectFolder and added into XCode.
Then I copied the new files in the Target to my Project and copied the growl.framework to the new "Copy Files" Framework folder in "Targets". When i debug my Project, its all right, ...
I am taking a programming class and we are required to use the gcc 4.1.2 compiler to compile our c++ projects. I will be creating my projects in xcode and can't find how to set that compiler. I went to the get info window on the project and hit the drop down under Compiler Version, however I do not have 4.1.2 on the list. It seems that t...
I have the following UITableView DataSource method:
- (NSInteger)tableView:(UITableView *)tableView sectionForSectionIndexTitle:(NSString *)title atIndex:(NSInteger)index
On some items (i.e. section index titles) I just want to return "nothing", so that the table view won't jump to any section. I tried to return nil, but I get the "R...
I've been programming on the Mac since I was a little kid using THINK C. I've never had to use a debugger as bad as the one that comes with XCode.
It's unresponsive, and bogs down further and becomes unstable when watching more variables.
When it crashes, I lose undo history for my sources because it's integrated with the editor.
It do...
When a user moves the slider it will trigger a signal and based on that I want to call a method readData from dataClass, to return me a string and then print it in guiClass. But it does not work. I get Program received signal: “EXC_BAD_ACCESS”. I am using Xcode. As soon as I move the slider the program crashes and highlights line 9.
1...