When I construct types for images,
I just used CGImageSourceCopyTypeIdentifiers as follows for now:
BTW is there any way to construct a types array with selected identifiers?
For example, I just need PNG and JPEG identifiers.
Thanks
___
Cocoa-dev
In MyDocument.xib, I have a table and an array list (dataList) for data source.
Then I created a subclass of NSArrayController (dataListController)
and linked the array list (dataList) to this class.
And in the dataListcontroller, I made an outlet of the table and made
a connection.
Ok, that's my
I did further investigation and found the reason.
It was because the problem of regsterForDraggedTypes
I just wanted to filter out images, so I used following to define types:
NSArray* types = (NSArray*)CGImageSourceCopyTypeIdentifiers();
and then set it as,
[tableView
I have a NSPopUpButton list, which contains name of timezones.
When I construct the popup button, I get the list of the timezone using
[NSTimeZone knownTimeZoneNames]
and then constructed another array using [NSTimeZone timeZoneWithName:name]
So, basically, the popup button has the list of
I wonder if it is ok to integrate google map in a cocoa application
using webkit.
I know it's possible, but I was also told that google map only can be
used within a web browser.
Do you guys have any experience with this?
___
Cocoa-dev mailing list
I need to get time and date from EXIF of a image.
Following is the code snippet I used:
NSDictionary *metadata = (NSDictionary *)
CGImageSourceCopyPropertiesAtIndex(source, 0, NULL);
NSMutableDictionary *muMetadata = [[metadata mutableCopy] autorelease];
[metadata release];
PM, Jushin coco...@gmail.com wrote:
I need to get time and date from EXIF of a image.
Following is the code snippet I used:
NSDictionary *metadata = (NSDictionary *)
CGImageSourceCopyPropertiesAtIndex(source, 0, NULL);
NSMutableDictionary *muMetadata = [[metadata mutableCopy] autorelease
I have to display a message (using NSLabel) to a user, but want to
make it disappeared after certain amount of time (e.g. 5 seconds or
so). How should I do this?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
In my application, I have to open a form window when a user press a button.
It is somewhat similar to Apple Mail. In Apple Mail, if you click New
Message button from the toolbar, a New Message window is appeared.
For now, what I did was something like this:
In IB, I added a window (or a panel),
I would like to have fixed with of the left pane in NSSplitView when I
resize the window,
and I found this code from google search.
http://www.cocoabuilder.com/archive/message/cocoa/2008/3/28/202614
It says,
===
Your split view delegate should implement the following method:
Could you tell me more in detail?
It makes me more confusing :(
Sorry for novice question.
On Mon, Dec 8, 2008 at 3:29 AM, Benjamin Dobson
[EMAIL PROTECTED] wrote:
On 8 Dec 2008, at 08:03:51, Jushin wrote:
However, I have no idea how to do this. Should I create a subclass of
NSSplitView
I would like to add a left pane (I don't know what to call this) as in
iTunes or Apple Mail.
In this pane, I want make place a library, folders, and smart folders.
Where should I start?
I couldn't find any example code or documentation regarding this.
Please someone help me how to do this.
12 matches
Mail list logo