Hi I have declared a method in one of my classes called HttpWorker. The method declaration is
-(void) setRequestParameters:(NSString *)parameters iRequestCode:(double)iRequestCode initialSleep:(long)initialSleep;
I am using trying to call this method from another class called NetManager. I wrote following code for this
NSString *par...
How would I go about creating a custom number pad like what is used in 'Tipulator' and other apps.
I know how you can customize UIKeyboard, but their number pad doesn't look at all like the default number pad. Is it even a UIKeyboard or a separate UIView?
...
I've got several UIViews that have a layer class of CATiledLayer because they need to be zoomed using UIScrollViews. I use Quartz to render some PDF pages inside said UIViews. Everything is fine until I try to animate said views frames on page rotation.
The animation is fine, the contents of the view gets scaled quickly and cheaply to m...
Hello,
Is there an efficient way to update the last modified property of a file on the iPad's filesystem i.e. the unix touch command?
I've had a look at NSFileManager but no luck.
...
I want to use sqlite3 for my iphone application. But it is not working. Scenario is :- On click event of a button a method should run and retrieve the data from the database. But My sequence of program is not going into
if(sqlite3_open([databasePath UTF8String], &database) == SQLITE_OK) {
const char *sqlStatement = "select * from r...
Hi everybody.
I've got an iPhone app that need to be localized.
No problem with strings, but, I'm having trouble with resources : I need to load HTML pages that are localized.
The files are like : presentation.htm
The files are added in the project with the folder where they are (html/), and it add the group called as the folder.
I...
I am developing an iPhone application which will install few third party applications in an enterprise. I have the information about the bundle IDs. Is there a way to check if the application is already installed, using some system APIs? Currently the application gets installed again, overwriting the current installation. I need to preve...
I have the following block giving me problems in the performance tool: Particularly it is saying STObject is leaking. I am not sure why?
for (NSDictionary *message in messages)
{
STObject *mySTObject = [[STObject alloc] init];
mySTObject.stID = [message valueForKey:@"id"];
[items addObject:mySTObject];
[mySTObject rele...
Hi Guy's
I need to convert the audio files which are in the format .caf,.mp3,.3gp to NSData.Can any one suggest me how to do this.
Hope I will get a quick response from your side.
Thanks in advance,
Monish.
...
The title says it all. Any help figuring out how to do this would be great: How much time each CPU core spent in the C0 power state over the past second.
This is for a mac app so Objective-C, cocoa and c are needed.
Thank you!
...
I have a quite a big iPad application with about 20 xib's about 50 images. It has a login view and until its login page it loads only the images and language resources in to memory. When I load the application and after login view loaded it consumes about 40 MB's. Only the login view is in memory at that time. I noticed this memory from ...
Hello, I'm trying to get a depth buffer working so I can start making a game for iOS. I'm fine with OpenGL and Objective-C for OSX but this is my first time making an iphone application.
I removed the ES1Renderer and ES2Renderer classes and moved the ES1 code into the EAGLView class. The default animation worked when I did that. When I ...
Hi all,
I am implementing a MapKit based application. I had a problem in that, my problem is when we zoom into the map I need to call a method. I have no idea to get implement this one. Can you guys please help on this.
Thanking you,
Sekhar Bethalam.
...
Hey, I have a problem in Multithreading.
To describe this, I have two threads.
On main thread I have some logic
And on another thread, I have a logic and some logic to UI which will update UI.
What I want to do is that I want to call some method after the UI on another thread is updated.
I think I am supposed to use NSOperationQueue or s...
Hi,
I'm very curious - why does UITextInputDelegate have all its methods required? Why can't I just implement the one I want (for example textDidChange)?
...
For example:
@synthesize wheelImageView = _wheelImageView;
...
Dear scholars, code gurus.
My question is rather simple, I have been searching and trying for some time now without any luck, I would greatly appreciate some tiny help.
I have a simple class that should generate a view as following:
// vipcardclass.h
//
#import <UIKit/UIKit.h>
@interface vipcardclass : UIViewController {
}
+(IBA...
Sorry if this is answered somewhere else, but I couldn't find it.
It's pretty simple, I want to set the Z-order of the sprites I create in Objective-C, specifically in Cocos2D.
This is the error I get when trying to build the following code:
CCSprite *mySprite = [CCSprite spriteWithFile:@"mySpriteImage.png" rect:CGRectMake(...
Hi All, I am new to Core Audio and really lost, I am trying to record an audio and then apply voice modulation to that recording and play it back. I have looked at the example Speak Here which uses Audio Queue for audio recording. I am stuck at the part of how to change the audio samples. I understand that it can be done using Audio Unit...
How do I hide an NSTableView header completely, so that it does not take any space up?
...