I'm having trouble getting my SubViews properly initialized using Interface Builder. I have the following View hierarchy (UIWindow -> BlankCanvasView -> StalkerView). BlankCanvasView is a subclass of UIView and StalkerView is a IBOutlet of BlankCanvasView
@interface BlankCanvasView : UIView {
IBOutlet UIView *stalker;
}
@end
I've...
I've used iPhone SDK and tools for several months. XCode seems pretty nice, but there is one tool which I don't get: FileMerge. How can anyone use it for comparing files or doing merge?
Seriously now, what do you really use?
My use case is subversion database on remote server, few local developers working on same project as well as few...
hi. when i choose a uiimageview in interface builder it display in the image pick list (of this imageivew) an image name that been deleted from this project (deleted:reference and trashed),
why the image name still on the list ?
...
Here's an odd one. I have a class named TileMap with the following interface:
@interface TileMap : NSObject
{
int *data;
int tilesWide;
int tilesHigh;
NSString *imageName;
}
+ (id)mapNamed:(NSString *)filename;
- (id)initWithFile:(NSString *)filename;
@end
The implementation looks like this:
@implementation TileMap
+ (id)mapNa...
I have a plist that is processed with a precompiled header file and in it there is the "variable" VERSION_STRING used a few times in such fields as CFBundleGetInfoString, ie the value for the key CFBundleGetInfoString is: MyProduct VERSION_STRING Copyright © 2009 MyCorp
In MyHeader.h (which is the set as the Info.plist prefix header I w...
hi. i have a very basic question. i've never worked in XCode before but i am designing a plugin (objective-c) for an open source radiology program called OsiriX. i can get the thing to compile fun and i can even get the plugin to run in OsiriX. but i'm not sure how to run/debug it from XCode. Run/Debug is grayed out on my xcode. is it be...
I have placed two button in navigation controller on click of each button it should open new view , how to load a new view on click of a button
...
Is there any reason to not use Time Machine over Subversion (on Mac)?
I've been using both Versions and Cornerstone trials. Neither can resolve merge issues. With svn 1.6, you have the impossible tree conflict. If you get that, forget it. I continually have tree conflicts and file conflicts but no way to do anything about them. My ...
Hi, I made two version of my library to fit different platform as device and simulator
How to make xcode automatically choosing the correct platform lib(.a)
with the config of the target's "Base SDK" ?
and By using the same header files.
I know Admob could do this without any modify but configuring the Base SDK.
...
During the execution of my program I'm getting the following output in the XCode debugging console:
<Error>: CGContextSetTextMatrix: invalid context 0x0
I have no idea where in the application this NULL-context is being passed to the OS. Anyone know of a good technique to hunt it down? Can I break into the application when something i...
Anyone have documentation/tips/tricks/advice on how to debug an application from another computer? I have a MacPro (10.6.1) and a MacBook Pro (10.5.8), and I'd like to debug an application residing on the former from the latter. Both are running XCode 3.1.3.
...
I'm working on my first iPhone app and have been able to get most things done. There's one problem that I've run into a few times and I want to understand the issue better.
In XCode, if I go File->New File->UIViewController subclass and make sure that both UITableViewController subclass and With XIB for user interface are checked, then...
Is there a fast way to make headers public when setting up a Framework in Xcode? I always have to click through one by one, changing each one from private to public. This irks me. Thanks.
...
Some code I am unit testing needs to load a resource file. It contains the following line:
NSString *path = [[NSBundle mainBundle] pathForResource:@"foo" ofType:@"txt"];
In the app it runs just fine, but when run by the unit testing framework pathForResource: returns nil, meaning it could not locate foo.txt.
I've made sure that foo.t...
In our iPhone XCode 3.2.1 project, we're linking in 2 external static C++ libraries, libBlue.a and libGreen.a. libBlue.a globally overrides the "new" operator for it's own memory management. However, when we build our project, libGreen.a winds up using libBlue's new operator, which results in a crash (presumably because libBlue.a is maki...
I wanted to rename one badly named variable to something more naturally named (UITableView myListView --> myTableView). Did that with XCode "Edit - Find - Find in project" and replaced all found 7 items with the new one. Application compiled ok, started and crashed.
After some debugging found out that there was one (1) old name remainin...
I created my own small .m4a file with GarageBand, for use in my app on the iPhone. Everytime I try to Add existing file, XCode crashes when I select the .m4a file.
The file itself will play nicely in QuickTime Player and iTunes.
Any workarounds?
...
In an application I am developing I need to integrate the In-app-purchase concept, I have read the apple documentation but still don't completely understand how to completely integrate the system and make the call.
Does anyone know if there is an example out there to help me put me on track?
...
So let's say you want to build the Boost "Getting Started" examples and link to them using an Xcode project rather than building at the command line. You try the header-only option and it works fine.
But then you take the example source:
#include <boost/regex.hpp>
#include <iostream>
#include <string>
int main()
{
std::string line...
I'm working with the iPhone 3.0 SDK (bit of a novice really), and I have set up an Interface Builder View with several UIButtons in it. I also have several sound files in the Xcode project.
I have searched for this and none of the solutions seem to work for me. Does anyone know how to make a short sound play once upon pressing a button?...