I have an Objective-C iPad app I want to build an opaque static library from so I can give it to testers using X-code to test without giving them the source code. How can I do this?
...
I'm trying to set a UIDatePicker to today's date, but the picker isn't behaving.
The code I'm using is pretty simple:
.h
IBOutlet UIDatePicker *datePicker;
.m
- (IBAction)setForCurrent:(id)sender
{
NSDate *today = [NSDate date];
[datePicker setDate:today animated:YES];
}
When I hit the button that is linked to the setForCurren...
I've done a complete clean uninstall of XCode and deleted the prefs and deleted complete /Developer folder and reinstalled XCode again.
I create a new Cocoa application, go over to Target, doing a "Get info" in the target and enable "C / C++ compiler version" to "LLVM compiler 1.0.2" and press Build.
I get:
ld: warning: directory '/us...
Hi
Why are old SDKs beeing removed when installing a new version of xcode with new Iphone SDK ?
Now we have v4, what settings do I have to make in order that the apps still work with 3.x ?
Thanks
...
Hello
I am trying to get the MPMovieplayerController to work. I load a video everything goes wel i even see the first frame but then it automatically pauses, if i press play it pauses again. In the simulator it works perfectly but on the ipad device it gives the problem. I can even seek through the video and i see the frame i seeked to ...
I am having tremendous trouble adding a title to a nav bar. heres the code.
detailViewController.title = [NSString stringWithFormat:@"%@", [editArray objectAtIndex:row]];
it keeps saying expecting '=' 'asm' or 'attribute' before '.' token
Please Help!!! :(
...
I would like to make my own iPhone Application Templates in XCode, based on a modified project from the Apple templates.
For example, I would like to take a View Based project, add an Image View and save that project as a template. Really, this is just an example.
Is this possible? How so?
...
Hi, I'm creating a web-browser type app (using a web view object) that needs to be able to connect to the internet via a proxy. Server, port, username and password can all be hardcoded into the app but unfortunately I have no idea how to customise the proxy settings of a web view without changing the system wide proxy settings.
If you k...
I followed "iPad Programming Guide" from Apple to try to upgrade one of my iPhone project for iPad. But I cannot find the menu item of "upgrade current target for ipad" even after I selected one of the Targets.
What is the reason? My SDK version is 3.1.3.
Thank you.
The screenshot is here
...
I want to use gcc 4.4 or greater for iphone developement.
anyone know how?
...
Hello,
I am using the Xcode 3.1.4 that means SDK 3.1.2
The problem is that I cannot open .xcdatamodel (Core Data) file and I don't even get the Data Model option in Design Menu bar.
When ever I double click and try to open the file,
XCode gives me an error saying that it cannot find the file at (my project's path).Perhaps it was moved...
I have a UIViewController and I'm noticing that I've done something to where the didReceiveMemoryWarning method is getting called every time I run it on an actual device.
I've run the project with Run > Run With Performance Tool > Object Allocations (and Leaks also). There are no leaks but I have no idea how to read or understand the "...
I have OSX installed on a case preserving but not case sensitive partition:
Which seems to be causing XCode and SVN to fight.
At various points, for reasons I cannot discern, XCode will take a file that has mixed case, and save it in all lowercase to the file system. XCode will continue to display in its file lists the mixes case file....
textview content disappear whenever i clicked save button or whenever the photo album loads. textview content was saved but it will not appear unless i close and open my application again. what could be the problem?
...
hey all
I am using two QTMovie object for playing a two mp3 file. I want one mp3 file sound came from left speaker and another mp3 file sound come from in right speaker. Also i want how to manage left and right speaker sound.
Please suggest,how can I do this.
Thanks
Mandeep
...
How would I make the following calculator Class work?:
//Calculator.h
#import <Cocoa/Cocoa.h>
@interface Calculator : NSObject {
float initialNumber, operandNumber;
typedef enum{
additionOperation,
subtractionOperation,
multiplicationOperation,
divisionOperation
}operationType;
}
@property(readwrite) float...
In my iPhone Project when i select build and analyze (shift + mac + A ) it will give me all potential memory leak in my project... but in my current project it is not working... when i intentionally put a memory leak and select build and analyze... it doesn't give me any potential memory leak as analyzer result
if i write
NSMutableArr...
I want to move to the new XCode 3.2.3 GM Seed build for development, but when I bring up my project I get 'base sdk missing' because my project is set to use iPhone SDK 3.0. If I change 'base SDK' to iPhone 3.2 or 4.0 and then compile I get a lot of errors that I don't understand. I dumped a few of them below. Can anyone tell me what ...
Possible Duplicate:
Is there a best coding style for indentations (same line, next line)?
I noticed in Objective C that xcode automatically uses a strange position of braces:
if (statement) {
}
whereas I am used to using:
if (statement)
{
}
it just makes it easier to read. Is it a matter of preference or is a standard t...
I've been using Xcode for a while now. One thing that always bugs me is the way it handles files. I like to have my files all in nested folders rather than one big physical folder, but when you create a group in Xcode by default it does not create a folder just a virtual folder within the project.
I can see that virtual folders are grea...