Does Bluetooth p2p connectivity work on iPhone simulator?
Does Bluetooth p2p connectivity work on iPhone simulator? I want to test GameKit connection over bluetooth with an iPad but have only one physical device. ...
Does Bluetooth p2p connectivity work on iPhone simulator? I want to test GameKit connection over bluetooth with an iPad but have only one physical device. ...
I have a data structure object which is loaded from an XML file inside the "did finish loading" method of the delegate. If I use the data objects "printData" method from inside the load method of the delegate it shows all the info. I can do this multiple times. However, I have a button which runs a second method in the delegate and al...
My problem is that I am both new to iPhone development and also to using this HTTPRiot class. The goal is to have a generic XML parser and this class seems to do the trick from the completed demos, but what I haven't been able to find is a barebones implementation tutorial. What I'm not seeing is the delegate methods being invoked on t...
Ok here goes my situation: I have a core-data generated class Quantity which has one of its attributes 'Value', marked as a float. There's a convenience method in the Quantity class which helps me set this property: - (void)setValueValue:(float)value_ { [self setValue:[NSNumber numberWithFloat:value_]]; } Now when I set try se...
I have been wondering which is the best way to load a navigation view. I have found that there are 3 ways I can do it without having major errors What I was wondering is which one is best for memory and as a recommended practice ?? 1) no declaration in .h file (the code below IS NOT writen in the .h file) @interface companyViewContr...
Hello everyone, I'm making an iPhone cards game where each use has a deck of cards, I'd like to give the user the option to drag his finger through the cards and each card get's highlighted while his finger is on it. This effect is already done in Uno for iPhone. My cards are put into UIButton, what i tried to do is to set a small image ...
Hi all, Wanted some help with a problem with mapkit I am facing. Should be a silly problem or I have missed out something while going through the mapkit framework. Here is the senario. I am placing multiple annotation on the map when the user performs some search like pizza. Added button for the right annotation view, on click which op...
I'm trying to make a timeline view that shows events as UIButtons that can be pressed for more info. Ideally I want to lay out the buttons on a UIScrollView, and allow them to stretch/shrink horizontally, but not vertically. What I'm trying to accomplish would basically be equivalent to using pinch gestures to resize the content view, ...
I'm following this iPhone tutorial from Apple and I think I did everything correctly, however the app is not behaving as it should. I checked the troubleshooting section and I still think I got things right. So I guess I need help to tell where the problem is... here is a snapshot of the relevant connections in Interface Builder. Basi...
In the early stages of a project when lots of files are being added and the project is being worked on by more than one person concurrently, Xcode project files tend to come into conflict often under source control. Merging those is a pain and often results in lost file references if you're not careful. Has anyone worked out a tried an...
I have a little sketch program that I've managed to throw together using Quartz2D, but I'm very new to the iOS platform and I'm having trouble figuring out how to allow the user to save their sketch. I have a CGContextRef that contains the sketch, how can I save it so that it can later be retrieved? Once it's saved, how can I retrieve ...
Hi, I have a sprite which i animate using CCAnimate. the animation is composed of 4 spritesheets that i swap when needed. everything works pretty good except for some flickering when swapping spritesheets. any ideas on what to do? ...
I want to code up a audio fx program that would process the samples coming in through the mic input and play them through the audio output in near realtime. But I cannot seem to figure out how to get accesses to the individual audio samples as they come in. Can. Anybody point me in the right direction and possibly some sample code? Than...
If I have a custom NSObject class called ProgramModel, does it get alloc/init -ed when I @property and @synthesize it from another class? For instance, in a ProgramController class like this // ProgramController.h #import "ProgramModel.h" @interface ProgramController : UIViewController { ProgramModel *programModel; } @property (nona...
So i'm working on an iphone app that parses json and tries to put the results into a plain UITableview. I have my tableview setup in the xib file and also setup the datasource and the delegate as the MainViewController (this is utility application). I get the JSON request just fine and I always test this by outputting it to a text label...
I used an AVAudioPlayer object to control playing multiple music files. I also created an UISlider to control seeking file. But i have a problem when seek the pointer. After seeking, AVAudioPlayer update time correct then jump into "audioPlayerDidFinishPlaying" function unexpected. Here is the code that i used : -(void)timeChange { ...
We have developed a magazine style app for a client. Even though we're pretty happy about it we want to migrate to a in-app purchase version ASAP. The idea is to have an app much like Wired or Popular Science where you can purchase issues on a monthly basis. We have read the in-app purchase programming guide, but the problem we're havi...
I (and you) know how to play audio in background. But my question is like that, some music play apps replace iPod icon which is shown on the first background app page with their icon while they are playing audio in background. How can I do that? ...
I have a UIView subclass. This subclass has multiple subviews. Is it possible to draw a line using core graphics inside a subview that is part of the uiview subclass? For example, I have a SampleView class, which is a subclass of UIView. Inside this class's header file is the property for UIView *sampleSubView, which is a subview of Sam...
i have tried to set up a uitableview cell to be given a tag however i am not sure how to get the cell to become tagged on user input (uibutton) and then the code required to retrieve the multiple items or single item tagged. ...