I'm making a game for iPhone/iPod.
My engine uses OpenGL-ES, and this means game requires some performance.
(realtime games, not a static boardgame like games.)
I looked at basic sound framework in iPhone, there're several frameworks,(Core Audio, Audio Toolbox, OpenAL...) but I cannot determine differences of them in detail.
I think Op...
Thanks to some help on StackOverflow, I am currently animating a path in CAShapeLayer to make a triangle that points from a moving sprite to another moving point on the screen.
Once the animation completes, the triangle disappears from the screen. I am using very short durations because this code is being fired every .1 of second for ea...
Web frameworks to develop for Android and iPhone?
...
Hi everybody: i want to take a picture and retrieve the main color analyzing its palette (i think this should be the easiest way), but i don't know really where to start.
...
If I have a number int aNum = 2000000 how do I format this so that I can display it as the NSString 2,000,000?
...
Hi there,
I'm trying to give my iPhone a splash screen.
I've placed Default.png in my resources group. When I run the simulator it is displayed as expected, however when I install my application to the iPhone, no splash screen is displayed.
Does anyone know what the cause/solution to this problem is?
Thanks!
...
I went through the process of setting this up once, but now I need to make it so we can develop on two Macs with the one account. all walkthroughs tell me to
create a signing request or something on the new Mac through keychain access, which generates some private and public keys BS, and then it says to go to the developer portal and "a...
How do I concatenate to NSStrings together in Objective C?
...
Strangely my app works in the simulator.
When run in debug on my iTouch, I get the error , "Unknown Error" when I try to run a "Update" sql command.
I can read from the SQLite db fine though. The database is in the root and it's being found as the open() command works.
I'm using MonoTouch but think it may be a more general error. The ...
Hello!
I'm trying to create a transparent button in my iPhone app -- to create an Easter Egg of sorts. How would I go about setting the button to be transparent without touching the alpha (when alpha = 0.0 on a UIButton, it no longer responds to touch)?
Thanks. :)
...
I put a UIWebView on the UIView,and I would like to get the URL of javascript link from the content page.What should I do?
...
Is it possible to overlay a third-party map and use the iPhone's GPS services?
That is, for example, I have a street map of my own and want to use the GPS to track where I am in relation. Is this possible?
Further, if so, are there any examples out there?
...
Hi there,
Fairly new to iPhone dev. My app uses Core Data, and at one point I'm attempting to save some data during an NSFetchedResultsControllerDelegate method:
- (void)controller:(NSFetchedResultsController *)controller didChangeObject:(id)anObject
atIndexPath:(NSIndexPath *)indexPath forChangeType:(NSFetchedResultsChangeType)type
...
I have created an app which uses Application Settings and user defaults following the example in the book "Beginning iPhone Development". In some cases my settings seem to disappear.
If I launch the simulator I can go into settings and see it, I can then open my app and my settings can be read from within the app. If I then leave my app...
I have a problem with an Xcode project which has a path of "/users/me/blah" with a lowercase 'u'. When I check my other projects (in the General Tab of the Project Info Window the Path starts with a uppercase "Users".
This causes a couple of problems. When I try and add an existing file which is "relative to group" or "Relative to Proje...
I'm having trouble figuring out how to manage memory for an instance variable that needs to maintain it's current state for a period of time, then be reassigned to newly allocated memory.
Take the following example for the instance variable "importantData".:
-(void)Update
{
importantData = [[self getObject] retain];
}
- (SomeObjec...
I'm trying to pass touch events from a UIImageView to a UIScrollView and it doesn't appear to be working. I've tried to define my screen elements below. Essentially, the overlaidImage will be the first to respond to all events. If a condition is met, I want it to handle the events. If not, I want it to be passed to the imageView and then...
I am creating a collage combined with elements from other images. Here is some ASCII art to explain what I am doing:
Given images A, B and C,
AAA, BBB, CCC
AAA, BBB, CCC
AAA, BBB, CCC
I take part of A, part of B and part of C as columns:
Axx, xBx, xxC
Axx, xBx, xxC
Axx, xBx, xxC
...and combine them in one image like this:
ABC
ABC
A...
Hello,
Currently I am using iPhone SDK 3.1.2 for developing iPhone apps.
Apple has recently released iPhone SDK 3.2 beta and I want to try my hands with it.
But my problem is that I want to use both versions of SDKs, 3.1.2 since I am currently developing apps and uploading on app store, 3.2 beta to start trying the new version (but Ap...
I'm trying to implement a drop-in location manager subclass to allow me to pass heading data to the iphone simulator, similar to the unimotion/accelerometer hack. Unfortunately, according to the CLHeading docs, everything is read only and there's no initialiser which allows the heading to be set. Is there a way to force the creation of a...