I'm starting a new xCode project. I'm porting in some code from my last project, but I've re-ordered the directory structure, so that it makes more sense ala:
Lib
Package1
File1.h
File1.m
Package2
File2.h
File2.m
etc...
Now my issue is that before I was using a flat file structure and using the xCode groups to ...
Does anybody know what might be causing this problem? When I run the code, the program immediately crashes on the simulator before getting anywhere; however if I just go to the simulator and run the program, the changes were loaded and there doesn't seem to be any obvious problems.
Or how could I try to pinpoint this problem?
[Session ...
how do i do this..i have appliation delegate...in which i added uinavigation controller through code...
here is my code...
- (void)applicationDidFinishLaunching:(UIApplication *)application {
HomeScreenController *homeScreenobj=[[HomeScreenController alloc] initWithNibName:@"HomeScreen" bundle:[NSBundle mainBundle]];
navController...
To understand my question please go through following.
In my application user first taps on a button.
Image picker controller is displayed
user selects images / an image from it.
all that images must be saved to my iphone application.
I have already implemented this. & for doing this i have implemented following code.
-(IBAction)set...
The source code editor in XCode 3.1 has a new feature where your compiler error (and warning) messages are embedded directly in your code below the relevant line of text. I'm sure it sounded like a nice idea, but in practice I find it very annoying - your code jumps around as you try to make the edits to fix the error.
I know you can c...
To understand my needs, please read followings.
user taps on a button.
a uiimage picker view controller displays
user selects an image
a thumbnail view of selected image should be saved in my application.
( like ui picker view has after selecting albums, there is thumbnail view )
Up to three points I can do.
But I don't know about c...
I cant get my views to switch!
In SettingsViewController.M <-- UITableViewController: loaded from a tabbar. My original application is a tabbar+navigationcontroller. What do I need to push it to cuz navigationcontroller won't work
CompanyProfileViewController *profile = [[CompanyProfileViewController alloc] initWithNibName:@"CompanyPr...
I dropped a UINavigationBar onto the XIB form. Then I dropped a UIButton on the form (not on the NavigationBar). I changed the type to InfoLight (so that it looks like an Info symbol).
I then dragged the UIButton onto the UINavigationBar and set it to be the right button. It magically changes the type from UIButton to UIButtonBarIt...
Hey guys,
I want to know if I can slowly increase the alpha MainWindow when I open the app and when I close the app. I know it may involve timers, and things like that, but I never dealt with this kind of thing before. I need your help guys...!
Kevin
...
Hey all,
How do I use an NSTimer. Can anyone give me step by step instructions?
Thanks,
Kevin
...
I have 2 XIBs with their corresponding View Controllers. Will call them MainViewController and AboutViewController. The names of the XIBs are exactly the same as the names of the ViewControllers. Upon a button click in the MainViewController, I want to show the AboutViewController.
I have code like this in the MainViewController:
- (...
I went into Xcode -> Preferences -> Documentation and grabbed everything there that makes sense. Yet when I option+click common symbols like CGRect or CGPoint I get:
Documentation not found for the symbol 'CGPoint'. Click here to view symbol declaration.
This wasn't an issue with versions previous to Xcode 3.2.
What am I missing?
...
I am getting a warning about setText method when I am not even using it. Why does XCode display this warning message?
...
It sure seems like the Xcode debugger has been playing a dirty trick on me for the last couple hours.
I was working with this code which has--in hindsight--a pretty obvious bug, but it wasn't obvious at the time:
- (UIImage*)loadBundleImage:(NSString*)imageName {
NSBundle* bundle = [NSBundle mainBundle];
NSString* path = [bu...
I've got several file pairs:
mydata.json, mydata.raw
other.json, other.raw
etc...
A custom tool builds these files into data files to be consumed by my app, like so:
mydata.dat, other.dat, etc...
What is the correct way for me to set up Xcode to build these resource files? Either one could change, so I can't just set up a custom bui...
Hi Everyone,
Sometimes one wants to really hate the Apple development environment. Seriously, does it need to be this complicated?
My problem is this. I am no longer able to build my project to the Simulator. I am getting the following errors. I realize it is a linker error - what I dont understand is 1) why this suddenly is no l...
Does anyone know of a library to read/write the Xcode project files .xcodeproj/.pbxproj? Any language is welcome.
Thanks in advance.
...
Hi All,
How to pass arguments to the main function in XCode ?
Thanks
...
I have received many errors while trying to Build & Run my iphone app using the xcode.
All the errors stated "non lazy ptr" for the used variables in the code.
The solution for me (and for all of you) is to look for the correct framework to be used according to the Simulator and Device versions the code will be running on.
At first i hav...
After having a hell of a time trying to get my certificate to work, I finally deployed the app to my iTouch.
However, if I try to run it via Build and Go, the app just displays with a blank screen. None of the breakspoints are hit (yes, I am in Debug mode).
If I disconnect XCode and just run the app from the device by tapping it, it w...