Hello,
I am trying to use NSTask on to run an ASR Multicast Stream, a Ruby Server Script, etc. Basically, I'm trying to run tasks with NSTask that do not finish running until interrupted, but the problem is that I can't get the NSTask to run in the background. So it ends up just running and holding up the rest of my program. Any help?
...
Hey guys.
Right now in my application, I have a TTButton.
I am setting the color of the TTButton initially using stylesheet like TTCatalog.
it's like
[TTStyleSheet setGlobalStyleSheet:[[[CustomBadgeButtonStyleSheet alloc] init] autorelease]];
[code for initializing ttbutton here];
And then there is a class called buttonStyleSheet
in t...
Hello there,
I'm having performance issues when drawing with CoreGraphics in my iPhone application, the Idea is to draw a line with the finger. Every suggestion I could find on the internet targeting this problem was:
"cache the lines to a CGLayer, so that the application doesn't have to redraw all those lines over and over again".
No...
I'd like to be able to display a quick animated "flash" around the mouse cursor (similar to the effect in some screen-recording applications). What would be a good way to go about this?
My current idea is to display a temporary, floating, transparent window window under the mouse position, animate it, then hide it. But I'm wondering if ...
How I can filter video stream from camera in MacOS X. I write quicktime sequence grabber channel component, but it`s work only if app used SG API. If app used QTKit Capture the component is not worked.
Somebody know how I can implement it?
...
I have been thinking of saving data using dictionaries and arrays etc. Would it not be more efficient to use a database and just read and write to it rather than running through arrays, getting keys and values, blah blah? It will need to hold a lot of text that is it.
How is the database setup and used on the iphone?
Also , if one wri...
I want to start an NSTimer at viewdidload and then execute a few void functions at specific intervals. How do I do this?
Thanks!
...
How do get back to your table view when you are done with the safari browser so that it wont have to exit the application and anytime you access safari, it will just take you back directly to your last table view not exit the application
...
I want to do some animations with the 2d graphics, pretty simple stuff but a little more involved that transformations. I could accomplish this easily in after effects and output a .mov or gif but is there a way to play this in a view within an ipad app?
What's the best way to go about animations?
...
Possible Duplicates:
Objective-C: Class vs Instance Methods?
What do the plus and minus signs mean in Objective C next to a method?
I've tried to look around and couldn't come up with a solid answer that really explained my confusion. I've seen a few times and that is a class having a method that has it's "method type" set ...
Hi i have a strange issue after adding my UIViewController.view to my Application Window.
I created a window based app and added my view in my appDelegates didFinishLaunchingWithOptions method.
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
overviewViewController ...
I've run into a sort of roadblock with my iPad app. I apparently made some unrecoverable change to my code recently and now it will only launch with a black screen. It displays the LoadingImage for a split second and goes right to black.
In an effort to streamline what sort of problem I'm looking for, I'd like some advice on where shoul...
hey
is it possible to get hand gesture through a transparent png, in object c? i need to make it possible to zoom on a mapview, but through an imageview, containing a transparent png. iv tried to illustrate this:
.png
the white in the middle being the mapview underneath the png.
anyone know the solution to this?
...
I'm working on an iTunes menu bar controller and I want to get the names of all the songs in the user's library. I have found that there is an xml file called iTunes Library.xml. It holds all the data for iTunes (name, artist, album .ect) I want to be able to access that data to use in my controller.
I really have never used xml for an...
Hi all,
I am trying to subclass TTTableViewCell in my Three20 app, and I would like to change the height of the cell. However, I am having major issues.
I am using self.variableHeightRows = YES; in the class which call my TTTableViewCell class.
Does anyone have any idea how to change the height of the cell? The doc for this is almo...
Hi I am trying to init an object with a double value in the format double filter[3][3];
but i keep getting the following error.
cannot convert 'double[3][3]' to 'double' in assignment.
in my header i have this
@interface filter : NSObject
{
double **matrix;
}
@property(nonatomic)double **matrix;
-(id)initWithMatrix:(double**)filte...
Hi all,
I'm puzzling over how multithreading can work with delegates.
The main thread has an object "A", which has created an object "B". Object "A" is the delegate for object "B". Object "B" uses a thread to run the code.
When object "B" wants to notify the delegate, it does:
[[self delegate] performSelectorOnMainThread:@selector(di...
Hi all, im trying to block the zoom setting on my app.
...
I have a custom control that I use that has some (NSTextField *) NSCells in it.
I have attempted at the cell level to disable all cells from usage, yet my loop that goes through all the cells seems to do nothing.
[myCell setEnabled:NO];
compile and run...
cell is still clickable and editable.
My final goal is to ofcourse disable onl...
I do this, but the new cookie doesn't show up, just some other cookies that are already set. What's wrong?
[[NSHTTPCookieStorage sharedHTTPCookieStorage] setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways];
[[NSHTTPCookieStorage sharedHTTPCookieStorage] setCookie:[NSHTTPCookie cookieWithProperties:[NSDictionary dictionaryWithObjectsAn...