I'm having a problem getting XCode to deal with a particular file structure that I am using or that I wish to use.
I have a set of files in the following form...
Library
Headers
Library
Package1
Header1.h
Header2.h
HeaderN.h
Package2
Header1.h
Hea...
hi
i m making an application in iphone in which am creating tabbar in my idocviewcontroller class,In homeviewcontroller class there is button on which click i navigate to class askadocviewcontroller class. The problem is that view is navigate but askadocviewcontroller tabbar is not selected with navigation from home to askadoc. it select...
hi,
i am making an application in iphone, in which i am creating tableview with 2 sections. i have created sections parts of tableview, but the problem is that i need different images in every cell of each section. anyone has any solution for this
...
Is there a good reference somewhere with all the C functions that can be used by default in iPhone development (I guess they lie in the Foundation framework)? I mean functions like:
arc4random(), cos(), sinf(), hypot(), sqrt(), sqrtf() etc...
They are so many considering their variations too (sin(), sinf()) and googling every single tim...
Hi folks
During debugging the console always spits me an error message: "Break on _NSLockError() to debug"
My assumption is: in XCode i have to appear a certain breackpoint, so that the debugger stops at the point where this error occurs.
How can i make this?
...
Hello,
Short question: How do you take two apps, one for intel and the other ppc, and package them into one Universal Binary?
My current thoughts on this problem:
I have read though the apple developer documentation on universal binaries and haven't been able to find an answer so it may not be possible.
Due to reasons I won't go into...
I'm looking for an Xcode project file that will let me trivially build a dynamic framework for libpng to embed in a Mac OS X application bundle. I found this project for libpng 1.2.8, but I need something reasonably current. I can make the project file myself, but I'd rather not reinvent the wheel if I don't have to. Does this already...
I've added several localization files (for several languages) to a xib. Do I also need to do the same for all other xibs?
Should I just make all of my labels IBOutlets, use NSLocalizedString in the related .m files that will assign values to the labels? Then I wouldn't have to create all of these localization files. At least for the ...
Ok, so I'm working on an alternate version of an iPhone app, and my new version builds just fine. The executable is actually created, I checked the build directories.
I've tried manually changing EXECUTABLE_NAME to the correct name in my second target's info plist file, but that does not change the behavior. MyApp2.app is still create...
I use finalbuilder (http://www.finalbuilder.com/) for my build process.
I wonder if exist a alternative to run in OSX. I could try to run finalbuilder inside a Windows virtual machine and run from SSH commands from there but still I want sometime to automatize the build process of my iPhone apps.
I don't find a tool like FB with graphi...
One of my projects suddenly had its double-clicking behavior changed and I don't know how to change it back.
The behavior I want:
Double clicking a source code file opens up a new window.
The behavior I have:
Double clicking a source code file opens the file in the existing window. This results in only allowing one window open for th...
See topic. It's just with one application -- 2 of them work fine, but the third (and largest, go figure) doesn't respond to touch events. I tried changing a UIImageView's location on TouchesBegan, and that doesn't show up (but it does in the Simulator!)
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
UITouch *touch =...
My Mac OS application links with a non-system-provided framework Foo.framework. I added a reference to the framework in XCode and the app builds fine. I also have a rule which copies the framework into the output Frameworks folder (MyApp.app/Contents/Frameworks). However, at runtime the binary is looking for the framework in ~/Library/Fr...
I am a first year Comp. Sci. student and am looking for the best way to develop C++ on a Mac. I have Xcode and Textmate.
What are the benefits/negatives of each? Are there any better ones?
I am not a fan of having to use a whole project to run programs with Xcode. Is this the only way to do it, or am I mistaken?
Also, is there a way t...
This is the first time that I'm upgrading the iphone sdk and am wondering if there is anything else needed to use the upgraded version with xcode besides just installing it?
...
how do i remove all subviews from my scrollview...
i have a uiview and a button above it in the scrollview something like this....
here is my code to add subview in scroll view
-(void)AddOneButton:(NSInteger)myButtonTag {
lastButtonNumber = lastButtonNumber + 1;
if ((lastButtonNumber == 1) || ((lastButtonNumber%2) == 1)) {
btnLeft = ...
I want to know how to implement an activityIndicator in a WebView based app, I wrote the following code but the indicator does not appear.
The webview load file locally, so it load very fast, but when it load an external page it load slow and I need the indicator...
FirstViewController.h
#import <UIKit/UIKit.h>
@interface FirstView...
my application is running fine in simulator...but not on real device....and i have jailbroken iphone so i am unable to debug through device...if i use try catch something like this
@try
{
Statements
}
@catch (NSException *ex) {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Error" message:[NSString stringWithFormat:@"%@",ex...
I'm having some troubles with the bundle and somehow I can't save images from bundle to docs directory any more. Now I've got this error before building:
The document NSBundle.h could no be
saved
It apparently compiles well.
This is the kind of code I'm using:
//Get every name from plist array and append it to the full path
for(...
The following code crashes in an Xcode created template project.
int main(int argc, char *argv[])
{
uint64_t t64 = 100000;
double s = (double)t64; // Crash!
...
The crash is accompanied with the following console output and occurs on a 2.2.1 device but not on 3.0.1 devices. It occurs both compiling for Thumb or ARM.
dyld...