Hey guys, I am actually a really new programmer who is new to iphone developing and server stuff.
So I have a lot of questions to ask.
You don't have to answer all the questions but answering as much questions will help me a lot!
thx!
How does iphone apps interact with server?
Is there a particular kind of server i should use to intera...
Hi,
I would LOOOOVE to have the use of a UIDatePicker that is just one row displayed instead of three.
Three rows take up way too much real-estate!
HELP!!!
I am able to rotate and resize the control without any great stress, but have yet to figure out how to only display the one row. This is not what I'm chasing right this moment.
...
I want to test my application on older iOS versions. I am using weak linking for new frameworks and branches in the code for different OS version. But after some complaints from users running iOS 3.1.2, I need to do some testing myself. I don't have a separate iPhone for every iOS version.
So, how can I run an older version of iOS in t...
Hi everyone
I have a configuration class in my objective-c app which reads a PLIST file with configuration data. I would then like to be able to read the value for any key with a single function, something like this:
- () getValueforKey:(NSString *)key {
some magic here....
return value;
}
The issue: Some of the values in t...
Hi. With these variables:
NSInteger dataStart;
uint64_t dataSize[1];
const unsigned char *beginning;
NSInteger bytesEnd;
...at these values:
dataStart = 499
dataSize[0] = 427
beginning = 9060864
bytesEnd = 9061793
...the following code:
NSLog(@"dataStart = %d, dataSize[0] = %d, beginning = %d, bytesEnd = %d",
dataStart, da...
Hi,
I've just purchased a new iMac and I want to duplicate / import all my Xcode projects from my old MacBook onto to it. How can this be done without setting up a SVN repository?
Both machines are at home on the same network. This should be simple but I just can't find out how...
Thanks in advance
...
Hi,
I have the same problem as this guy had :
http://stackoverflow.com/questions/2332214/setting-the-active-executable-in-xcode
I'm pressing the "option" key, and it does add more options, i'm choosing iphone simulator 3.1.3 , but when I press "run" , still the ipad simulator is running.
The problem only appears when I choose "Iphoe ...
Hello,
I just spent a whole week tracking down and whacking memory leaks over the head, and I arrived on the other end of that week a little dazed. There has to be a better way to do this, is all I can think, and so I figured it was time to ask about this rather heavy subject.
This post turned out to be rather huge. Apologies for that,...
Hello, I'm building a Mac application for somebody, and it includes a WebView in it. I have already added the WebKit.framework, but for some reason, I just can't figure out how to zoom out on launch. I know where to put the code so it would do it on launch, but I don't know the code to zoom out. The page I'm viewing is too big for the We...
What is default settings to reffer to file location in xcode project ?
i have doubts between them
relative to build project
relative to project
relative to enclosing group
relative to source path
Absolute path
...
Hello, I'm trying to detect when a verification code is entered into a text field, so like if I wanted someone to type in "this is a test.", it would then run the following code:
system("say this is a test");
But I keep getting the error "void value not ignored as it ought to be". I have no idea what this means. This is what I have so...
Hi,
I want to create an application for the iPhone that plays a custom memory buffer.
I am currently using AVAudioPlayer class and I am pretty sure that the function I should use is "initWithData:error:".
The problem is that I don't know which kind of data I have to pass as an argument, and reading the poor API doesn't help me much.
C...
I just installed Xcode 3.2.3. I have a first generation iPhone that I use for testing purposes. It has 3.1.3 installed on the iPhone. On the build droplist near the upper left, there don't seem to be as many choices as there were on the older version i.e. base SDK to build against. Now there is only Device/Simulator, Debug/Release as...
I'm compiling in a local version of the SBJson library into my iPad project. I just started linking in a static .a library that has compiled symbols that collide with objects in the SBJson library. I am able to modify the SBJson library, what is the best way to modify it to avoid the name collisions?
...
Is there a way to retrieve what width and height the iphone camera is sampling at? I am targetting iOS4 and don't know what the width or height are until I get into the didOutputSampleBuffer delegate.
Here is the code that actually gets the width and height in the delegate:
- (void) captureOutput:(AVCaptureOutput*)captureOutput did...
I'm trying to support older iOS versions in my app. I initially thought I only have to set those frameworks to "weak linking" that are not present in the older OS, e.g. the iAd framework. And then make sure that I don't call unsupported APIs in the code. However, when I try to run the app (which is compiled with the most recent framework...
Hello everyone, I have an annoying situation here: I have updated my mac from Tiger to Snow Leopard, and my XCode has also been upgraded from from XCode 3.1.3 - SDK 3.0 to XCode 3.2.3 - SDK 4.0.1. The problem is: I can't run my projects anymore. The SDK 3.0 can not be found (and I have already read in Internet that there is no SDK 3.0 av...
Hello, I'm making an application for someone, and I need to make this NSTextView in an NSScrollView uneditable. Whatever I do, I just can't get anything to work. There is no editable or allow editing check box in Interface Builder for it, so I'll to do it programmatically. So far, I have tried the follow codes.
[TextView setEditable:NO]...
Hello, I'm making an application for someone, and theres some things I'd like to monitor. I have NSLogs all set in place for each action, but I want to be able to send those to a console or something. Is there anyway of doing this? Also I don't want the user to know about it, I'm monitoring this because I gave the user a password for an ...
I have some Annotationview on map. I just wanna detect event that happen when user touch it.
I figure out using observer, I add observer for each annotationview in viewForAnnotation delegate method. I thought it would work perfect, but something still wrong. "selected" attribute of annotationview change its value unexpectedly.
Someone t...