Ok, so I've finally decided on how to load my data I'm going to go with loading my book data as an XML file. The problem is that I'm not too sure on where to start, I've heard terms such 'parsing' but dont know how exactly it fits in.
I have added the code below if someone could give me a start in the right direction I would really app...
The below files have nothing to do with the project settings, right? It is just properties for the Xcode IDE.
*.mode1v3
*.pbxuser
...
Since moving to XCode I am desperately missing a text macro I have used in many other editors which I use all the time. Basically what it does is that everytime you invoke it, it selects text in an expanding scope. Here is IntelliJ's definition of the functionality:
Syntax aware selection
Ctrl+W (select word) in the editor selects ...
The following code is producing a memory leak on the in retVal line:
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
Any ideas on how to fix?
...
Hi
I want to use Neon SIMD instruction for the iphone.
I heard we have to put flags "-mfloat-abi=softfp -mfpu=neon" in the "Other C Flags" field of the Target inspector, but when building I get "error: unrecognized command line option "-mfpu=neon"" .
Is there anything else special that has to be done to allow this flag? (I have Xcode...
EDIT: This problem has been solved. See below.
Hey all. I'm building an iPhone application against my own library. To do this, I have the library project referenced from within the application. I have the header path properly set up, as compilation doesn't cause any issues. However, I'm having trouble during the linking phase and I get ...
I have several obj-c classes, each of which require a number of contants that are used in switch statements.
I had tried defining these numerical constants in the .m file using the #define preprocessor instruction. All these constants begin with 'kCell'. This seems to work well but Xcode's code sense is presenting me with every 'kCell' ...
I'm getting confused. I add resources (mp4 videos) to the resources folder in xcode and run the simulator and it picks them up, great!
I delete the file and simulator still picks it up from the resources directory. I delete the file in the app bundle that xcode is using and it still detects this file. I'm at a loss as to where/how I sho...
In my app I am using the agvtool to update the build number. I would now like to have the version of my app that appears in the settings to display this number and have it update automatically.
I have seen a few apps work around this by writing a script to ready the value and populate the value then in the root.plist. I was wondering i...
I need to read / write Xcode project definition files (myproject.xcodeproj/project.pbxproj) - is there any formal specification of the file format which I can use to create a parser?
...
Whenever I create a new .cpp/.h file in Xcode a comment is added to the top of the file. For example:
/*
* <file>.cpp
* <Name of project>
*
* Created by <My name> on <Date>.
* Copyright <Year and company>. All rights reserved.
*
*/
I want to change the default comment to be another license, like GPL/LGPL/ or something else....
opening http://ystatuschecker.com/n/iwall.php?tedad=1 by browser in safari in mac will redirect to http://ystatuschecker.com/n/iwall.php?tedad=5000
i don't know why in my code it's never redirect .
http://yahoo.ir will redirect to http://world.yahoo.com
what's wrong with my URL?
NSURL *originalUrl=[NSURL URLWithString:@"http://y...
I accidentally deleted the resource folder of my project. Is there a way to recover that?
...
Hello,
I want to add a title to my graph that gives a short description or name about the plot. For example, I have a table with a list of products and my graph shows how much those products cost. There should be a label/annotation superimposed on the graph that gives the name of the product.
...
hi all
in one .m file i have these codes.
i want to set num variable ( int num ) to static variable i. static int i = num;
#import "RecentView.h"
@implementation RecentView
static int i=0;
- (void)viewDidLoad {
//some code here ...
//int num = [latest intValue];
int num = 10 ;//for example
[super viewDidLoad];
}
...
Hi,
I am trying to animate my new views as they come in or go out and can't seem to figure out how to do this. I have tried several different things to no avail. Here is the code on how I load them:
(void) displayView:(int)intNewView {
NSLog(@"%i", intNewView);
[self.currentView.view removeFromSuperview];
//[self.currentView.view ...
Trying to get Xcode to work with Subversion server.
Server: Subversion upgraded to 1.6.9 (Mac OS X Leopard 10.5.8)
Client: Xcode 3.2.1 (Snow Leopard 10.6.2 with
Subversion 1.6.5 though not sure that matters)
Repository on server is setup and working fine via command line.
However, I get an error when trying to create the Repository...
I would like to add a vertical slider to my cocoa menulet application. Just like the vertical slider in the system volume menulet. How do I add this using Interface Builder? And if not with Interface Builder then how?
...
I want to take a user OUT of my app and into the App Store when they click on a link within a UIWebView in my app. But when I click on the link, nothing happens (sim AND device both). How can I jump to the App Store from a UIWebView link in my iPhone app?
BY THE WAY:
The link in my UIWebView html is as currently follows (minus the self...
I just upgraded from Xcode 3.1.4 to 3.2.1. Previously I've been using the Dusk color theme. After the upgrade I noticed that the fonts on this theme seem much bolder that for other default themes, even though they all use the same font type and size (Menlo Regular - 11). It seems that Xcode makes the font a little wider as you change the...