Hello guys!
In the documentation I have read that I don't need to release the NSOperation object because it will be released by the NSOperationQueue, but the instruments gives me a memory leak if I don't release it in some cases, in other cases it crashes if I release. What's the problem what do you think?
...
Hi,
We want to create an application that downloads a mp3 file and then starts to play it.
Has anyone an idea of how to download the mp3 file from an url and then store it, either on the iphone or in the application (depending on what is possible).
...
I have two files independant on each other.
Let's just call it Class1 and Class2.
In Class1, I need Class2, and in Class2 I need Class1.
I have a prefix file where I include all my files, and I get some syntax errors because I do
#import "Class1.h"
#import "Class2.h"
How would I define both of them so they can use each other?
What...
how can hide particular button which is created from UIBarButtonItem in iphone ?
...
When compiling a vanilla iPhone project, any macro is defined to identify the platform is on iPhone OS, even when no header file is included?
TARGET_OS_MAC or TARGET_OS_IPHONE-like macros are not defined if no header is included.
So I am looking for macros defined at the similar level of __cplusplus , __GNUC__ , _MSC_VER ... etc.
...
I have tried to use twitter API in my application using MGTwiiterEngine, I think Ih ave configured all thing but while I am running the app by giving my username and password. The delegate of the MGTwitterEngine was called with the 0 statuses and also the numberOfConnections=0.
twitterEngine = [[MGTwitterEngine alloc] initWithDelegate:...
Hello,
The title says it all, I have a Web Service written in .NET that provides data for an iPhone application. It will also allow the application make a "reservation."
Currently it's all internal to the corporate network but obviously when the iPhone application is published I will need ensure the Web Service is available externally....
I a trying to pass data thru userInfo for an NSTimer call. What is the best way to do this? I am trying to use an NSDictionary, this is simple enough when I have objective c objects, but what about other data? I want to do something like this, which doesn't work as is:
- (void) play:(SystemSoundID)sound target:(id)target callbackSelect...
I have added an imageView of size 300*300 into the interface in my ipad project. I can play the video fullscreen using MPMOviePlayerController. And I am trying to make it play in the imageView by using the following code.
[imageView1 addSubview:moviePlayer.view];
[self.moviePlayer play];
Its playing but not as fullscreen and also not ...
Description: Out of date:'the file name' in transaction '2639-1'
Anyone can help? Thanks
...
In a SOAP app, all communication with the server is as text, when the server needs an integer it is the text value that gets sent and returned integers are sent back as text.
To have the app working with integers one has to convert the returned strings into numbers e.g. NSInteger but then to, for example, save them to an array they must...
I have a class called MainGame, which is defined like this in my .h:
@interface MainGame : Renderer <UIAccelerometerDelegate>
Then later in my .m I have this:
- (void) accelerometer: (UIAccelerometer *)accelerometer didAccelerate: (UIAcceleration *)acceleration {
// here I would read values like accelerometer.x
NSLog(@"accele...
I'm using libxml2 for SOAP-Actions in an iPhone App.
The big problem is that i want send an SQL-Statement with
NSString *query = @"SELECT test FROM database WHERE test = \"string\""
But libxml2 converts the qotes " into &quot;
Any ideas how to prevent this?
...
hi guys. I'm looking to create a simple app which will send keystrokes from an iphone to a PC.
I understand that I will need to have a program on my PC "listening"... I've been looking in to AsyncSocket and NSStream, but there are no tutorials which really make it clear to understand. Does anyone know if this is right?
I basically wa...
Hey everyone,
I'm having a bit of trouble connecting intstruments to my App on a iPod touch device. Whilst debugging in the Simulator is possible, I get this error in instruments when trying to start a app:
Target failed to run: Remote exception
encountered : 'Selector'
processIdentifierForBundleIdentifier:'
not authorized for...
Hi,
I have to draw underlined-multiline text with all types of text alignment. I have searched on forums and got some results like:
http://davidjhinson.wordpress.com/2009/11/26/underline-text-on-the-iphone/
http://forums.macrumors.com/showthread.php?t=561572
But all draw text for single line only. while i have multi-line text. The si...
i have latitude and longitude of particular place and i want to calculate the distance so how can i calculate it?
...
I've setup some background colors for my Labels in order to position them. Now that they are well in place, I vould like to reset their background color to none, or clearColor.
But I don't find any way to achieve this in IB, I don't gind any "no color" color...
Any way to do this without re-coding color at runtime?
Thanks,
Jérémy
...
Command/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 iphone
Can anyone slove my problem
is dis related to .mm file
...
Hello guys!
Mayb do you know a good open-source pdf renderer for objective-c? :)
...