I'm a newbie on Objective-C programming and aiming to follow Google's code convention: http://google-styleguide.googlecode.com/svn/trunk/objcguide.xml.
Some code formatting tool would be handy to use, is there any Objective-C code formatter that can easily be integrated into XCode?
...
Is it possible to extend the interface builder's attribute inspector with additional attributes for custom classes inheriting from UIView?
...
In your experience, what are some "smelly" keywords in class or function names that might be warning signs of bad object-oriented design?
I've found that classes containing the word Manager or Base are often suspect. For example, a FooManger often indicates poor encapsulation or a singleton design that is difficult to reuse.
A FooBase ...
I'm doing iPhone development on a PowerPC Mac. How do I get code signing to work properly so that I can build to my iPhone?
The iPhone SDK doesn't officially support PowerPC, but with some fidgeting, it can be installed. See here. I've got the SDK installed and running fine in Xcode and the iPhone simulator works fine.
However, I can't...
I'd like to start experimenting with Cocoa, Objective-C and Xcode, but the only Apple computer I own is an old PowerBook with OS X 10.4.7 installed and as far as I can tell I would have to buy and install OS X 10.5 (Leopard I think) just to be able to install Xcode 3.2 - the currently available version. The thing is I'm a Windows develop...
I would like to use the p4merge tool from Xcode in an SVN setup. Asking for trouble?
...
When writing c#, in Visual Studio, you can set regions to group code accordingly. Being new to Xcode I can't seem to find a similar feature.
...
I am trying to get the iPhone background Color to change color every X number of seconds.
How can I do this?
I've been trying a UIAnimation but can only get it to change to the very last color in a list.
Thanks alot!
...
I have a custom class that has quite a few accessor methods for customizing it. My question is, if a programmer uses this class and doesn't bother to assign values for ALL of these methods because he doesn't know about them or doesn't want to bother, how can I make the class assume a default view? I can't use awakeFromNib, because that w...
I'm building a navigation controller based iPhone application and am curious how to go about building the detail view for my application. The part that's complicating my endeavor is: What UI elements/hierarchy should I employ to create a variable-height yet scrollable detail view?
A great example of my goal is an arrangement like the m...
Hi everyone,
I'm trying to setup an automated build server for an iPhone application. I'd like to be able to have nightly adhoc beta builds so that testers can follow the development.
I've setted up xcode successfully xcode to perform adhoc builds and I can also launch the build from the command line:
xcodebuild -configuration AdHo...
Hi,
I am trying to port a windows application based on WxWidgets 2.8.9 to MacOS X. I've gotten to the point where everything compiles successfully, except from a few missing symbols related to WxWidgets. I've tried compiling WxWidgets with the command line and with XCode and I've tried several different configuration options, but none o...
I published an app which has about 10 different tabs. I got an email from a buyer saying that he edits those tabs to the order that he/she would like it to be. The problem is that it doesn't save it for the next launch. How do I get it to save the tab edits?
...
I have a WebView that displays a local pdf file. The file is 230 pages long and loads fine etc. I need a way for the user to jump to a specific page if I can. For instance if they look at the table of contents of the pdf and they want to jump to page 120, they can do it? Any ideas on getting this done?
...
how does function name scoping work across multiple c files?
i'm porting a standard gnu toolchain project to iPhone OS, and using XCode to do it.
the code builds through make, but not through xcode. when building through xcode, the linker complains that the same symbol (function) is defined in two objects. the code has two distinct sou...
Hi,
I am trying to port a project including both SDL and WxWidgets to MacOS X with XCode 3.1.2. The project is fairly big, but I finally got it to compile successfully. However, it exits immediately after starting it with the message "MyApplication has exited with status 99".
For debugging purposes, I changed my main function to look ...
Can someone give me a bit more information on this error please?
Console only logs
Program exited with status value:101.
If you imagine I have a nsmutablearray:
It holds TimeEntry objects:
#import <Foundation/Foundation.h>
#import "Constants.h"
/*
#define KTimeEntryInformationKey @"TEInformation"
#define KTimeEntryFromKey @"TE...
Hi,
I'm trying to port a fairly large windows project based on SDL and WxWidgets to MacOs X.
For the first time ever on a Mac, I can run my application, but the debugger does not seem to work properly. When breaking into my application, the stack view seems to make sense, but when I click on one of the function names shown in the debu...
I've just unwrapped my new MacBook Pro (yay!) and am now setting it up properly for development. Since I want to avoid clutter, I'm wondering if I really need to install the Xcode tools at all (I never use the IDE or Mac specific tools), since I'll install a newer version of GCC anyway, using MacPorts.
So, is there any benefit in instal...
How can I use the UIWebView in Xcode so that when it loads up pages it DOESN'T download the images (to cause a faster loading page)?
...