Following is my code:
.h file:
#import "Foundation/Foundation.h"
@interface GObject:NSObject{
NSTimer* m_Timer;
}
@property(nonatomic, retain) NSTimer* m_Timer;
- (void)Initialize;
- (void)TimerCallback:(NSTimer*)pTimer;
@end
.m file:
@implementation GObject
@synthesize m_Timer
- (void) Initialize{
self.m_Timer = [NSTimer...
I've tried looking through the documentation, but I can't seem to find (or recognize) what I'm looking for.
The iPhone and iPod Touch have a momentary switch on the headphones, which I believe is called the "remote" (please correct me if I'm wrong). It is used to start/stop/forward/back for music or to pickup/end a phone call. I'd like...
Hi
I am using the 2.x compatible branch of Three20 library. I want to display a URL and am using the TTStyledTextLabel for this purpose.
However when trying to use it, I get an exception
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[TTStyledTextLabel width]: unrecognized selector sent to in...
By default, UIDatePicker displays today's date in a blue font and the rest of the dates in black.
How can I make it so that all the dates are black?
...
I'm working on my first iPhone app and have been able to get most things done. There's one problem that I've run into a few times and I want to understand the issue better.
In XCode, if I go File->New File->UIViewController subclass and make sure that both UITableViewController subclass and With XIB for user interface are checked, then...
In the documentation I see several frameworks for audio. All of them seem to be targeted at playing and recording audio. So I wonder what the big differences are between these?
Audio Toolbox, Audio Unit, AV Foundation, and Core Audio. Or did I miss a guide that gives a good overview of all these?
...
hi, that's the code
play sound
[soundSh play];
later stop sound (not pause!)
[soundShe stop];
later play sound again
[soundSh play];
fixed, i call sound int again ...
...
Hey everyone, I was just wondering if anyone knows how to create a UITableviewCell swipe effect akin to the one in the Tweetie 2.0 app (see video: Tweetie 2.0) or in the Facebook 3.0 app (when pressing the blue "+" next to a status).
What I need to do is to have the cell slide away in response to you swiping it and reveal a background ...
I wonder if there is someone out there that can shed some light as to what is happening in my app. I have created a multiline text box using the UITextView. When the view loads it is a single line textbox and as the user types out their message I increase the size according. Pretty much how the SMS app works.
The problem is it is doing ...
Regarding In App Purchases, I can find a lot of information on all the technicalities of actually making purchases and interacting with the store (how to retrieve product information, verify receipts, etc), but I can't seem to find information on guidelines or special instructions for preparing the actual "apps" or "components," whatever...
I guess the GPS chip is only there on the iPhone. But for some reason, my iPod Touch seems to know my position anyways even without GPS chip. So what does that mean for Core Location? What do I have to consider when using Core Location both on the iPhone and iPod Touch? What are the differences?
...
I wonder if someone can distinguish precisely between these?
For my understanding, Core Graphics is just a "Framework Package" which contains Quartz Core and Quartz 2D. But I'm not sure about if Quartz 2D actually is Quartz Core? Maybe someone can draw some lines there? What makes up the differences between these?
When looking at the do...
What I'd like to be able to do is download any web page, and be able to view it offline.
It seems like html WebKit views cannot be converted to PDFs (on the Mac, you could 'print' a PDF, but that isn't possible on iPhone?).
So, the only way is to save the actual resources - save the html, the step thru each image, css, js file and save...
when playing a sound the animation freeze\slowing problem.
sound size 20kb mp3.
animation size 5kb png.
also happens in other animation functions.
basically whenever i play a sound the animation slowing down or pauses, what to do ???
code:
- (void) startAnimation {
[UIView beginAnimations:nil context:nil];
[UIView setAnimatio...
(Presumably the following question is not iPhone specific, aside from the fact that we would likely use a Framework or dynamic library otherwise.)
I am building a proprietary iPhone SDK for a client, to integrate with their web back-end. Since we don't want to distribute the source code to customers, we need to distribute the SDK as a s...
Dear all,
I have written a simple hello world .net web service which will accept 2 parameters and return the parameters as a string.
The web service is hosted by IIS on a windows xp pc.
I am able to access the web service using safari on the iphone simulator, successfully tested the operation using HTTP POST by clicking the "invoke" bu...
The background story:
I work for a company that develops and manufactures a commercial product which can have up to 100+ dedicated PC's in a farm.
We only get a handful of new customers per year.
We developed an iPod/iPhone app that lets us send commands to the farm and pull data. Our parent company has major concerns about putting th...
I am building a new app and I want to use Festvox voices. Anyone know where I can find them?
http://www.tomsoft.co.uk/iphone/flite.htm
...
Hi,
In my Iphone App I have created this query:
"SELECT * FROM visuel where id_visuel = 1"
And so I have this function that works very well:
- (void)getVisuel {
visuelArray = [[NSMutableArray alloc] init];
sqlite3 *database;
if(sqlite3_open([self.databasePath UTF8String],
while(sqlite3_step(getVisuelParcSt...
I want to make a UIView or UIImageView that is a circle. Or a circle that i can change the size of using a slider, and the color of with a pickerview.
...