Contribute  :  Calendar  :  Advanced Search  :  Site Statistics  :  Directory  :  Files to download  :  Links for developers  :  Privacy policy  :  Web Resources  :  Polls  
    MacOSX Guru Site Information, tips and tricks, FAQ for Mac OS X developers    
 Welcome to MacOSX Guru Site
 Friday, June 23 2017 @ 06:17 AM BST

How to be alerted when user presses a modifier key ?

  View Printable Version 
Cocoa Development FAQIf the user presses only modifiers key (shift, alt, command, …) the keyDown/keyUp methods of the first responder are not called. What to do if I need to be notified of these events ?
 
read more (38 words) Post a comment
Comments (1) Trackbacks (0)

NSConditionLock and the producer/consummer problem with multiples buffers, how to ?

  View Printable Version 
Cocoa Development FAQIs there a beginner example how to use NSConditionLock in a producer/consummer situation with multiple buffers and showing how to handle speed differences between both thread ?
 
read more (358 words) Post a comment
Comments (0) Trackbacks (0)

NSTableView and Java

  View Printable Version 
Cocoa Development FAQI'm writing a Cocoa application in java that uses the JDBC to hook up to a postgresql database. I want to display results from database queries in an NSTableView, however I can't seem to find any NSTableView Java examples. Can somebody give me some tips!? Thanks in advance.
 
Post a comment
Comments (2) Trackbacks (0)

How to draw text in a non-flipped view ?

  View Printable Version 
Cocoa Development FAQTo draw text in a NSView view of my own, the view has to return YES from its isFlipped method. But if I really need to draw text in a non-flipped view, how ?
(If you don't see what we refer to, open the Sketch example in your Developer folder and comment out the isFlipped method of the SKGraphicView...).
 
read more (184 words) Post a comment
Comments (0) Trackbacks (0)

I need a small database for my cocoa project...

  View Printable Version 
Cocoa Development FAQI need something light, if possible free (freeware, LGPL, BSD, ... licensing), fast and with trouble-free installation from my users point of view… any idea ?
 
read more (214 words) Post a comment
Comments (0) Trackbacks (0)

I got errors when passing strings I got from Cocoa to UNIX or BSD calls…

  View Printable Version 
Cocoa Development FAQI got some file names from NSOpenPanel methods and I pass these to UNIX calls like open, but sometimes it fails, I don't understand why...
 
read more (97 words) Post a comment
Comments (3) Trackbacks (0)

How to make screenshot programmaticaly ?

  View Printable Version 
Cocoa Development FAQHow to make a screenshot from my own program code without using an external tool ?
 
read more (292 words) Post a comment
Comments (0) Trackbacks (0)

How can I accept directory drops to my app icon?

  View Printable Version 
Cocoa Development FAQI would like to accept directories with arbitrary names dropped onto my application icon, in the Dock and elsewhere.
 
read more (78 words) Post a comment
Comments (0) Trackbacks (0)

How to turn off line wrap in NSTextView ?

  View Printable Version 
Cocoa Development FAQIs there a way - API or other - to turn off line wrap in NSTextView ?
 
read more (36 words) Post a comment
Comments (0) Trackbacks (0)

How to know the size of a dash pattern in a NSBezierPath ?

  View Printable Version 
Cocoa Development FAQWhen using - (void)getLineDash:(float *)pattern count:(int *)count phase:(float *)phase how do I know the size of the pattern buffer to pass since I don't know yet the value of count ?
 
read more (53 words) Post a comment
Comments (0) Trackbacks (0)
 Copyright © 2017 MacOSX Guru Site
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.10 seconds