We're working on a couple simple games and we have some performance problems that we keep running into, and I was curious if it was a code issue or a "we're using the wrong objects" issue.
Our games are basically simple ones that work as follows:
We have a custom view that we load, and a custom object that is our game engine. The view ...
I would like to allow the user to select one of several pre-supplied images. Is there a standard way to do this?
...
I am researching iPhone image libraries. I am looking for a lightweight image library that will compile on an iPhone. Have any libraries such as ImageMagick been ported? What image libraries would be best suited for the iPhone?
The image library should be suited to do black & white, sepia tone, saturation filters, and more sophisticat...
i have a UINavigationController in my viewcontroller,and after pushing another viewcontroller from current viewcontroller,when i press the back button on navigation bar, it return to previous view,however the previous data in the first view still there, how can i reset the first view data as like call the viewDidLoad function again when ...
I am trying to display two labels on UITableViewCell, one with left-aligned text and another with right-aligned text. The cell with right-alignment of text is cut on the right by 1-2 pixels. I tried increasing the width of the UILabel but it does not make a difference.
The text appear fine in the simulator but on the device it gets cut ...
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...
hai any one help me that i have one obstacle, i have implemented swipe navigation in my web-based application. For that i have place a uivew over a uiwebview. By way of using this technique i have get the uiview touch event and make the impact action over its super view as uiwebview. In that i got an runtime exception while the user do t...
avc = [[MPAVController sharedInstance] avController];
//avc is AVController
NSString *path = [[NSBundle mainBundle] pathForResource:@"Sound" ofType:@"wav"];
id feeder = [[MPArrayQueueFeeder alloc] initWithPaths:[NSArray arrayWithObject:path]];
[avc setQueueFeeder:feeder];
[avc play:nil];
[feeder release];
NSTimer *sound =...
i'm using windows xp what would be a good c compiler?
i want to learn c so that i can better understand the objective-c language for the iphone.
i have a great background in php so hopefully something will make sense
ps:
what sections should i put more focus on when learning c in getting prepared for objective-c?
thanks
Duplicate:
...
Is it possible to create multiple view or window in a (Window based) iPhone app ? If possible Plz tell me.
...
I know its probably a really simple thing, but I need to reload some data if some changes have been made from a subview and then the master view is returned to.
...
My iPhone app needs to do some URL escape sequence encoding for a form parameter. The NSString stringByAddingPercentEscapesUsingEncoding as stringByAddingPercentEscapesUsingEncoding doesn't escape a lot. This is what I have
-(NSString*)currentMessageUrlEncoded{
CFStringRef originalURLString = (CFStringRef) self.currentMessage;
CFSt...
I know Java pretty well. I know now most of the Basics in Objective-C.
I know nothing about Photoshop. I know how to use TurboCAD 10 Professional, so I do have some experience in 3D object modelling. Although not much.
What do I have to learn step-by-step, to come to 3D game Development for iPhone? What Tools do I need? Which Books help...
I want to disable input pad on iphone when pressing 'done'. Any ideas about how to detect button press event?
...
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...
I'm at the part of my development process for tracking down crashing and memory leaks. As a strategy, do you put any NSLog messages or notifications of some such into didReceiveMemoryWarning: ? The documentation for this method is rather sparse. Is it accurate to say that before a crash will happen, the UIViewController will trigger that...
I'm experimenting with adding the GPS functionality to my iPhone app. It's a workout app that will be used while walking or running. So what I want to use GPS for is to show the speed that the person is moving in Mph and minute/mile.
How should I configure the CLLocationManager so I get the best possible results? What should I set desir...
I would like to arrange UIControls in WPF in a similar way to the applications on the iPhone. They should be positioned on a grid, but a user should be able to drag them somewhere else, after releasing the mouse button (or the finger in case of an iPhone) the selected UIControl should snap back to the next position in the grid. The other...
I'm trying to convert the following code from OpenGL 1.5 spec. to the OpenGLES 1.1 spec
(num_x and num_y are passed into the function by arguments)
::glBegin(GL_LINES);
for (int i=-num_x; i<=num_x; i++)
{
glVertex3i(i, 0, -num_y);
glVertex3i(i, 0, num_y);
}
for (int i=-num_y; i<=num_y; i++)
{
glVertex3i(-num_x, 0, i);
...
Hi all,
I've been able to replicate a bug consistently on an iPhone app I'm working on. The bug always follows as soon as my UIViewController's didReceiveMemoryWarning method gets invoked. Some of the issues I'm seeing are as follows:
UITextField's text property niling out.
The previous data in the UITextField is getting appended to...