Re: Identify image file count in directory

2015-11-14 Thread Akis Kesoglou
I would suggest to count the number of files asynchronously if possible, so the user doesn’t have to wait for this information in order to begin working with the panel. A couple of years ago I had to split by file type an enormous amount of restored files from a corrupt hard disk that were

Re: IB_DESIGNABLE - anyone got it to work?

2015-05-12 Thread Akis Kesoglou
On 13 Μαΐ 2015, at 02:04, Graham Cox graham@bigpond.com wrote: One possible issue in this case is that the first time -drawRect: for any instance is called, it calls a class method to load the image from a resource, which is then retained indefinitely. There's a method if I remember

Re: BOOL attribute types.

2015-02-16 Thread Akis Kesoglou
Yeah. Thanks. What I'm asking is how can I identify the property as a BOOL when analyzing property structures so that I can output BOOL to a descriptive string and if I analyze a char, I can output char as a descriptive string. Obviously, I can't use property_getAttributes() since it

Re: BOOL attribute types.

2015-02-16 Thread Akis Kesoglou
class-dump [1] properly dumps properties as BOOLs where appropriate. Just had a quick look over the code but didn’t find anything particular to help you out, but you might want to take a look yourself. [1] https://github.com/nygard/class-dump On 16 Φεβ 2015, at 23:27, Akis Kesoglou

Re: best way to implement unlock features in app

2015-02-03 Thread Akis Kesoglou
If you want some kind of control on the user experience, you can use PotionStore[2] to build the online-store and CocoaFob[1] to integrate with your app. I haven’t used them myself, but judging from the code they seem to be simple enough to use and take most of burden off of yourself. [1]

Re: Rearranging NSOutlineView via drag-and-drop

2015-02-03 Thread Akis Kesoglou
But in my app, whether an item has children or not can affect which icon appears beside it in the list. Unfortunately, reloadItem: doesn't request a view, which would call the function that assigns icons, nor can I figure out how to ask the outline for the view after my delegate creates it.