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
 Thursday, April 27 2017 @ 05:52 PM BST

How to handle com.apple.carbon.core.DirectoryNotification when there is no API to convert voldIDs into something useful ?

  View Printable Version 
Cocoa Development FAQDistributed notifications describe file events with a path /.vols/volumeID/dirID/name but how to use the volumeID ?
 
read more (168 words) Post a comment
Comments (0) Trackbacks (0)

NSTextView and tab key navigation

  View Printable Version 
Cocoa Development FAQHow to make a NSTextView participates in the keyboard navigation as a normal text field for the tab key but not for the return key ?
Pressing tab should navigates as usual for a text field,
pressing option-tab should insert a tab character in the text,
pressing newline/return - without any modifiers consideration - should insert a newline character in the text,
 
read more (47 words) Post a comment
Comments (0) Trackbacks (0)

How to code a NSString with UTF-8 ?

  View Printable Version 
Cocoa Development FAQThe Xcode editor lets you define a file encoding as UTF8. You can then type in a line like:

NSString *foo = @"blah blah";
where blah blah have Unicode characters in them with encoded as UTF8.
But, when I ask this string for its characters I get garbage back, and length is not correct.
 
read more (190 words) Post a comment
Comments (0) Trackbacks (0)

Redirect NSLog()

  View Printable Version 
Cocoa Development FAQDoes anyone know how to redirect NSLog() output? So far, the output goes into XCode's run log window. I would like to redirect it to a text file…
 
read more (125 words) Post a comment
Comments (0) Trackbacks (0)

How to add my application to StartupItems from inside the application itself ?

  View Printable Version 
Cocoa Development FAQI want to offer to the user the possibility to add my application to the StartupItems folder as an option in the installation procedure and later in the Preferences: how to do that in a save and portable way ?
 
read more (96 words) Post a comment
Comments (0) Trackbacks (0)

How to embed PostgreSQL in my application ?

  View Printable Version 
Cocoa Development FAQWe develop an application requiring a database and want to use PostgreSQL for technical reason, but we want to make the life of our users as easy as possible when installing our product. We would like to embed the PostgreSQL server in your application bundle, is that possible ?
 
read more (407 words) Post a comment
Comments (0) Trackbacks (1)

When adding a column to a NSTableView the alternate background color is not displayed in the added column ?

  View Printable Version 
Cocoa Development FAQIs there any workaround ?
 
read more (36 words) Post a comment
Comments (0) Trackbacks (0)

How to refresh a progress indicator in a lengthy monolithic task ?

  View Printable Version 
Cocoa Development FAQWe need a visual feedback during a very long computing task but when we change value of a progress bar using setDoubleValue nothing happens until the computing task is done ?
 
read more (139 words) Post a comment
Comments (0) Trackbacks (0)

How to show invisible files and folders in NSOpenPanel list

  View Printable Version 
Cocoa Development FAQAre there any way to show invisible files/folders in NSOpenPanel list?
 
read more (19 words) Post a comment
Comments (0) Trackbacks (0)

Converting file paths from absolute to relative and rev. ?

  View Printable Version 
Cocoa Development FAQIs there any NSString methods to convert file paths to relative to absolute and absolute to relative ?
 
read more (189 words) Post a comment
Comments (1) 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.07 seconds