I have integrated box2d in my engine, ( Debug Draw, etc. ) and with a world I can throw in some 2d squares/rectangles etc.
I saw this post, where the user is basically not using a world for collision detection, however the user doesn't explain anything about how he's using the manifold (b2Manifold), etc.
Another post, is in the cocos2d...
Hi to all.
I've been working on an Xcode (iPhone) project with three different persons. We have the project on a Subversion repository, but we still don't completely understand some aspects of the Subversion + Xcode methodology:
1) Each time someone does a commit on a single file, it may appear or not in the project of the other dev...
Hello,
I have a tabbar application, with many views. Is there a way to know if a particular UIViewController is currently visible from within the UIViewController? (looking for a property)
...
I have a MKMapView that has a pin and when pressed shows the annotiona Title and SubTitle.
Is there a way in code to have this text shown automatically so the user need not click it?
If I have many pins, can the all appear as well?
...
i am doing coding in iPhone and i want to know how a new view popup from a button when we click it and the popup view continuosly zooming to cover the whole iphone screen.(it is not any image , it is a view having view controllers too)
...
Hi Everyone,
I'm new to iPhone development. I am trying to get Xcode to run an application on a phone.
The app works fine in the simulator. Initially I hit the error:
The executable was signed with invalid entitlements
I followed the steps here:
http://stackoverflow.com/questions/1074546/the-executable-was-signed-with-invalid-entitl...
Does anyone know why there would be one-off errors with NSLog and NSString? It works fine in 99% of my program, but for some reason this error appears in one of my model's description method:
Example code:
localFileId = 7;
type = 2;
localId = 5;
NSLog(@"CachedFile localId=%d, 2=%d, localFileId=%d, type=%d, path=%@", localId, 2, localFil...
I have an iPhone application that posts data to a web application ... and I want to only accept data posted from an iPhone application that was purchased from the iTunes store.
Is there a way to do this? Is there something (or somethings) I can pass from the iPhone app to the web application that I can use to do such verification?
Tha...
I'm using NSKeyedArchiver in Mac OS X program which generates data for iPhone application. I found out that by default, resulting archives are much bigger than I expected. Example:
NSMutableArray * ar = [NSMutableArray arrayWithCapacity:10];
for (int i = 0; i < 100000; i++) {
NSString * s = [NSString stringWithFormat:@"item%06d", i...
I'm loading a 2400x1845 png image into a scroll view. The program crashes out of memory, is there a better way to handle this? mapScrollView is an UIScrollView in IB, along with a couple of UIButtons.
-(void)loadMapWithName:(NSString *)mapName
{
NSString* bundlePath = [[NSBundle mainBundle] bundlePath];
UIImage *ima...
Hi all, I'm working on an app and need to add the ability to import CSV files into the app for processing. What are the options here? I've read posts about embedding http servers or fetching a CSV file from a web resource, but what is the easiest way to do this?
thanks
...
When rotating a View from UIInterfaceOrientationPortrait to UIInterfaceOrientationPortraitUpsideDown on the iPad simulator, there is a white border along one side of the view (see diagram, lower left of the image). The white border shows only on one side, but not the opposite side. How can I prevent (hide) it? Thanks!
...
I have a UITabBarConroller that I use to switch between 3 different views. This all works perfectly. On one of my tabs, I added a button at the to called "Add", I have added an outlet to this, as well as an IBAction method which looks like the following:
// Method used to load up view where we can add a new ride
- (IBAction)showAddNew...
what is the best way to load a xml file as an parsed object in objective c?
...
the Map app that comes with the iphone. what is it written in? opengl es or quartz 2d? especially the page flip part
...
how can i draw 2 parallel lines (1pixel in width) across the screen with 10px margin on each side?
...
Hello
How do we play a video using MPMoviePlayerController in sdk 4.0. Like 3.1 and higher, the play does not seem to work. Or it seems to me. Any suggestions?
...
I am looking to customize the appearance of a tab bar. Specifically I want to:
Change the default tabBar color
Add a custom image on top of the tabBar
Add custom images to tabBarButtons
Change the font of tabBarButtons
In a nutshell, I want all of the functionality of a tab bar but with a completely custom look.
Should I start subc...
I'm new to iphone development. i want to write an app that has 3 buttons. touching each will trigger a sound.
1.wav
2.wav
3.wav
Can someone give me some hints and guide me to the right path?
...
Hi,
I am trying to use Shark to profile my app. However, it crashes after I hit "stop" and it analyzes and then goes to "load session". Only once when I decided not to select my app but chose to target "everything" did it actually display some trace. However, I could not reproduce this case. Does anyone have any idea what might be go...