How to store/retrieve an NSMutableArray of objects?
How do I store/retrieve an NSMutableArray of objects? The easy / fast way please. Thanks! ...
How do I store/retrieve an NSMutableArray of objects? The easy / fast way please. Thanks! ...
Currently, I am trying out OpenMP on XCode 3.2.2 on Snow Leopard: #include <omp.h> #include <iostream> #include <stdio.h> int main (int argc, char * const argv[]) { #pragma omp parallel printf("Hello from thread %d, nthreads %d\n", omp_get_thread_num(), omp_get_num_threads()); return 0; } I didn't include any linking lib...
I am trying to add the Parsekit framework to my OSX Xcode project. I've never added a 3rd party framework before and I can't get it to work right. I dragged the included Xcode project into my 'Groups & Files' pane and chose to Add it to my project. I then dragged Parsekit.framework underneath the Link Binary With Libraries heading. Then...
I have a very simple UITableView that has 3 sections, and 3 rows per section. #pragma mark - #pragma mark UITableView delegate methods - (NSInteger)tableView:(UITableView *)tblView numberOfRowsInSection:(NSInteger)section { return 3; } - (UITableViewCell *)tableView:(UITableView *)tblView cellForRowAtIndexPath:(NSIndexPath *)index...
Hi, I have used the Google Analytics Tracker in a previous iPhone OS project. Everything was working fine and I copy & pasted the GANTracker Library and the Tracker initialization. When starting my new project it tells me: Xcode could not locate source file: GANTracker.m (line: 177) To tell the truth, I don't know where to star...
I am porting a project over to OS X. I am finding GDB debugging in the console to be woefully insufficient and really need a visual debugger. My project is built using Scons and as such, it sidesteps Xcode's IDE entirely. This is acceptable until I need to fire up a visual debugger and step through my code. Aside from generating and ...
Hi, sorry this is probably a dumb question, but I want to make the background of a normal UIViewController look like the gray, pinstriped background that of a grouped UITableView. Is this possible. Tell me if you need pictures, and I'll post some. Thanks for any help, ...
How does one add the protoc (Protocol Buffers) compiler to xcode so .proto files are compiled when building the project? also, these files have to be built first so the auto generated files are then available to the C++ compiler. ...
My google-fu has failed me, and I guess this may be basic OS X/Xcode knowledge but.... When I double click .xcodeproj files, I'm getting the Beta I have installed launching instead of the stable release - which is the one I actually want. I have tried changing the launch program in the finder info window, but it always displays as "Xc...
Hi all, I am making a game using cocos2d. in that I want to change the background after each second of time. I don't know how to do this in cocos2d. I am having 15 different images and one by one each image will be shown, i.e. after1 second next image will appear. I am new to cocos2d so, If any one can help me??? thank you in advance ...
hi i want to add images into my coredata which must be fetched using a table view display..im VERY VERY VERY new to xcode coding..can someone plsss help...ive set up coredata and all other finctionalities are working..just someone tel me from scratch how to do wat i want to do.. ...
I have a class (MyClass) with a lot of methods. Consequently, the .m file has become quite difficult to read. I'm relatively new to Objective-C (having come from REALbasic) and I was wondering if it's possible to put some of the methods in MyClass into different files and then include them in the class. How would I go about this in Xcode...
Hello, all! I feel it's quite a naive question I'm going to ask. Excuse me if it's foolish. I have made an iPhone game using Cocos2d, Box2d and OpenGL. I want to show the game to a potential employer for demonstration purposes, without giving him the source code. How can I make a .exe or .app file from the Xcode project? I've searched...
I get this warning when I start debugging. Does anyone know why it's looking in /dev/null for my history. I know it's some path which was mis-set somewhere but I do not know which? Any help. How can I see which environment parameters are passed to GDB by XCode? ...
I have a grouped UITableView with a few sections. The text in some of the cells can get quite long, I was wondering how I could make the text word-wrap? ...
I have a UITableView with 3 sections that are hard coded. Everything is working fine, but I am not sure if I am doing it correctly. Define number of rows in section: - (NSInteger)tableView:(UITableView *)tblView numberOfRowsInSection:(NSInteger)section { NSInteger rows; //Bio Section if(section == 0){ r...
I am using the code below to put together my UITableView. The Cell height allows the first three rows to show in the table without scrolling. Everything is fine with those first three rows. But as soon as I scroll down past the original first three rows, the image in the myImage inherits the width of cells in the first three rows and doe...
Background: I use a ton of NSDictionary objects in my iPhone and iPad code. I'm sick of the verbose way of getting/setting keys to these state dictionaries. So a little bit of an experiment: I just created a class I call Remap. Remap will take any arbitrary set[VariableName]:(NSObject *) obj selector and forward that message to a funct...
I'm compiling a project in XCode where MySQL++ in included and linked to. For some reason, I keep getting the following compiler error: 'assert’ was not declared in this scope originating from cpool.h, a header file that's part of MySQL++. Does anyone know why this is being triggered? EDIT: For reference, MySQL++ was installed via M...
THIS IS USING X-CODE Okay, so I've put in all of the code in order for a page to be saved in a navigation app. I've also made the table refresh once you enter the main screen, but I don't see the page pop up until the second time I come back. How can I make it so it comes up the first time I come in? ...