NSFileHandle fileHandleForUpdatingAtPath never returns

2008-05-28 Thread Denis Bohm
When another application has a device file open and I try to use NSFileHandle fileHandleForUpdatingAtPath to open the same device file, the call just seems to hang and never return. The API documentation doesn't say what should happen in this case. Does anyone know why it isn't returning?

Re: Alert Sheets hard wired in Interface Builder

2008-05-28 Thread Chris Hanson
On May 27, 2008, at 9:06 PM, Jens Alfke wrote: On 27 May '08, at 1:40 PM, Kyle Sluder wrote: You're looking for +[NSApplication beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:], I'm not surprised the OP didn't find this … it's my candidate for Most Misplaced Cocoa Metho

Re: Attaching file to an email using Cocoa APIs

2008-05-28 Thread Kiel Gillard
Hi Palav, Please see for more information. Searching this list may also give you other answers. Kiel Hi all, > > I want to create an email using email client & want to attach a file to that > email. I did some analysis on this. With Apple Ma

Re: Attaching file to an email using Cocoa APIs

2008-05-28 Thread Scott Anguish
On May 29, 2008, at 12:33 AM, parag vibhute wrote: Hi all, I want to create an email using email client & want to attach a file to that email. I did some analysis on this. With Apple Mail & Microsoft Entourage, it is possible using Applescript since both the applications are scriptable.

Re: 10.5.3 Release Notes?

2008-05-28 Thread Scott Anguish
On May 28, 2008, at 11:31 PM, Kyle Sluder wrote: Hi, This is more a question for Tech Pubs or DTS than anyone, I guess, but are there/will there be developer release notes for 10.5.3? Can anyone confirm any previous show-stoppers are fixed (like the NSOpenPanel bug that essentially makes garb

Attaching file to an email using Cocoa APIs

2008-05-28 Thread parag vibhute
Hi all, I want to create an email using email client & want to attach a file to that email. I did some analysis on this. With Apple Mail & Microsoft Entourage, it is possible using Applescript since both the applications are scriptable. I want to know is there any other way (framework/APIs) to ach

Re: Alert Sheets hard wired in Interface Builder

2008-05-28 Thread Graham Cox
Here's a trivial category to address this. Whether it's really worth using is hard to say, but for what it's worth: @interface NSWindow (SheetAdditions) - (void) beginSheet:(NSWindow*) sheet modalDelegate:(id) modalDelegate didEndSelector:(SEL) didEndSelector contextInfo:(void*) contextInfo

Re: Alert Sheets hard wired in Interface Builder

2008-05-28 Thread Jens Alfke
On 28 May '08, at 8:29 PM, Scott Ribe wrote: Yes, the method could be in NSWindow and call on NSApplication to get that done, but, should a window really be able to have such a drastic effect on the events going to other windows??? It doesn't. A sheet doesn't change anything in the app's o

Re: Alert Sheets hard wired in Interface Builder

2008-05-28 Thread Kyle Sluder
On Wed, May 28, 2008 at 11:29 PM, Scott Ribe <[EMAIL PROTECTED]> wrote: > Probably because it involves the run loop and event dispatch, since the > running a window as a sheet must ensure that the window to which the sheet > is attached does not receive events, yet a click in that parent window mus

10.5.3 Release Notes?

2008-05-28 Thread Kyle Sluder
Hi, This is more a question for Tech Pubs or DTS than anyone, I guess, but are there/will there be developer release notes for 10.5.3? Can anyone confirm any previous show-stoppers are fixed (like the NSOpenPanel bug that essentially makes garbage-collected Cocoa apps an exercise in failure)? --

Re: Alert Sheets hard wired in Interface Builder

2008-05-28 Thread Scott Ribe
> I agree with your assessment. What business has NSApplication > providing this method? it doesn't make sense. Probably because it involves the run loop and event dispatch, since the running a window as a sheet must ensure that the window to which the sheet is attached does not receive events, ye

Ending Editing when Doc Saves?

2008-05-28 Thread David Carlisle
If I'm adding text to an NSTextField, then I select Save, somehow the message needs to get to the NSTextField wherever it is that it needs to terminate editing and send its contents to the model before the model is saved. I don't see how I should go about implementing that? Any suggestion

Re: SOLVED: Incompatible CoreData store format

2008-05-28 Thread Rick Mann
It was a false alarm; I was double-clicking the file in the Finder, and it was launching a sample app I had built just before. It ran so fast (and the very minor difference between active and inactive windows) led me to believe it was my app complaining, not the sample. Sorry for the noise.

Re: Incompatible CoreData store format

2008-05-28 Thread Ben Trumbull
Rick, Try cleaning all the targets and rebuilding the entire project. Create a new document instead of opening an existing one. You're probably either getting an old model, a weird union of models, or a corrupted model from previous work. If that doesn't help, you can try adding the documen

DO woes

2008-05-28 Thread Western Botanicals
Cocoa Experts, Thank you for your time. I am having a problem with DOs. I am working on this time clock system to track the timecards of employees. The following code works perfectly if run as a non- distributed system. When I try to set it up for a distributed system, it works once, and th

Re: Mount Point

2008-05-28 Thread Michael Watson
Now you're depedent on shell output and running three separate processes (plus invoking pipes and regexes). If you look at the source for the mount utility, you'll find that it gets a list of mounted volumes with the getmntinfo() function and then iterates over the statfs structs to print i

Re: Mount Point

2008-05-28 Thread Mr. Gecko
Thanks that could work On May 28, 2008, at 4:20 PM, Dmitri Goutnik wrote: On May 28, 2008, at 10:36 PM, Mr. Gecko wrote: Hello I have a program that finds a device by it's device number such as /dev/disk2s3 how would I find out the mount point/name of that device? If not how can I find the

Re: Mount Point

2008-05-28 Thread Herb Petschauer
2008/5/28 Mr. Gecko <[EMAIL PROTECTED]>: > Hello I have a program that finds a device by it's device number such as > /dev/disk2s3 how would I find out the mount point/name of that device? > If not how can I find the device number and name from a mount point? You can get the mount point from a dev

Re: Mount Point

2008-05-28 Thread Dmitri Goutnik
On May 28, 2008, at 10:36 PM, Mr. Gecko wrote: Hello I have a program that finds a device by it's device number such as /dev/disk2s3 how would I find out the mount point/name of that device? If not how can I find the device number and name from a mount point? mount | grep /dev/disk2s3 | s

Re: Cover Flow in Cocoa?

2008-05-28 Thread Scott Anguish
Jens (ex-Apple) is speaking from experience here (not from using private API, but from how things work) Apple can change private API at any time because Apple controls all the apps that use it. Teams can be made aware that change "foo" is happening, and they can be required to make alter t

[moderator] Re: iPhone - AddressBook Question

2008-05-28 Thread Scott Anguish
From the list guidelines Discussing NDA and Private API == This list is not an appropriate forum for the discussion of issues that are covered by non-disclosure. Doing so will violate your NDA and the message may be forwarded to WWDR. The discussion of Private

Re: Cover Flow in Cocoa?

2008-05-28 Thread Scott Anguish
On May 28, 2008, at 4:04 AM, Steve Harrison wrote: On another thread on the Apple Mailing Lists, Alexander Cohen said that there is an API in Leopard for CoverFlow (see archived post here: "http://www.cocoabuilder.com/archive/message/cocoa/2007/11/6/192424 "): there is no public, useable,

Re: Mount Point

2008-05-28 Thread Mr. Gecko
That is a possibility. On May 28, 2008, at 3:51 PM, Randall Meadows wrote: On May 28, 2008, at 12:36 PM, Mr. Gecko wrote: Hello I have a program that finds a device by it's device number such as /dev/disk2s3 how would I find out the mount point/name of that device? If not how can I find th

Re: Incompatible CoreData store format

2008-05-28 Thread Rick Mann
On May 28, 2008, at 13:53:36, Matt Long wrote: Yes. See this post. http://www.matthew-long.com/2007/11/02/the-managed-object-model-version-used-to-open-the-persistent-store-is-incompatible-with-the-one-that-was-used-to-create-the-persistent-store/ Thank you, but this does not appear to be m

Re: Mount Point

2008-05-28 Thread stephen joseph butler
On Wed, May 28, 2008 at 3:51 PM, Randall Meadows <[EMAIL PROTECTED]> wrote: > On May 28, 2008, at 12:36 PM, Mr. Gecko wrote: > >> Hello I have a program that finds a device by it's device number such as >> /dev/disk2s3 how would I find out the mount point/name of that device? >> If not how can I fi

Re: Incompatible CoreData store format

2008-05-28 Thread Matt Long
Yes. See this post. http://www.matthew-long.com/2007/11/02/the-managed-object-model-version-used-to-open-the-persistent-store-is-incompatible-with-the-one-that-was-used-to-create-the-persistent-store/ hth -Matt On May 28, 2008, at 2:41 PM, Rick Mann wrote: In my simple CoreData document app,

Re: Mount Point

2008-05-28 Thread Randall Meadows
On May 28, 2008, at 12:36 PM, Mr. Gecko wrote: Hello I have a program that finds a device by it's device number such as /dev/disk2s3 how would I find out the mount point/name of that device? If not how can I find the device number and name from a mount point? One brute force way would be t

Incompatible CoreData store format

2008-05-28 Thread Rick Mann
In my simple CoreData document app, if I create a bit of data and save it, then try to re-open it, I get the following complaint: "The document “Test.binary” could not be opened. The model configuration used to open the store is incompatible with the one that was used to create the store."

Re: NSFileManager's errors in 10.5, where are they documented?

2008-05-28 Thread Ali Ozer
Messages corresponding to the errors defined in FoundationErrors.h and other NSCocoaErrorDomain errors should be pretty decent, although they may be too generic in some cases. If you want to specialize them, then you can certainly provide your own localized strings in the userInfo dictionar

Re: NSPredicate containing contains

2008-05-28 Thread Keary Suska
5/28/08 1:52 PM, also sprach [EMAIL PROTECTED]: > NSString *predicateFormat = @"%@ contains %K"; > NSPredicate *predicate = [NSPredicate predicateWithFormat: > predicateFormat, searchString, kMDItemFSName]; See my follow-up--I had the arguments backwards. I am surprised that the above works, but

[ANN] CocoaHeads, Stockholm (Sweden) - First meeting ever, June 2

2008-05-28 Thread Mattias Arrelid
Hi everyone, It is with great joy I invite you to the very first CocoaHeads Stockholm (Sweden) session. We'll kick of next Monday (June 02) at the Spotify office at Humlegårdsgatan 20 (Stockholm), at 18:00 CET. We'll start with a short introduction of ourselves, and then talk about the coming WWDC

Re: Cocoa Classes from C++?

2008-05-28 Thread jeffs87
like C++ objects as member variables of an ObjC object I have a little sample program from 2002 by Aaron Hillegass that shows you how to do that. It doesn't show you how to use Cocoa from a C++ object though. I looked for it online but couldn't find it again. I can email it to whoever is in

Re: NSPredicate containing contains

2008-05-28 Thread Gerriet M. Denkmann
On 29 May 2008, at 02:02, [EMAIL PROTECTED] wrote: 5/28/08 12:10 PM, also sprach [EMAIL PROTECTED]: NSString *searchString = @"SpoD"; NSString *predicateFormat = @"kMDItemFSName contains %@"; NSPredicate *predicate = [ NSPredicate predicateWithFormat: predicateFormat, searchString ]; NSMeta

Re: Cover Flow in Cocoa?

2008-05-28 Thread Alexander Cohen
On May 28, 2008, at 11:08 AM, Jens Alfke wrote: On 28 May '08, at 1:04 AM, Steve Harrison wrote: On another thread on the Apple Mailing Lists, Alexander Cohen said that there is an API in Leopard for CoverFlow (see archived post here: "http://www.cocoabuilder.com/archive/message/cocoa/200

Re: NSPredicate containing contains

2008-05-28 Thread Keary Suska
5/28/08 12:10 PM, also sprach [EMAIL PROTECTED]: > NSString *searchString = @"SpoD"; > NSString *predicateFormat = @"kMDItemFSName contains %@"; > NSPredicate *predicate = [ NSPredicate predicateWithFormat: > predicateFormat, searchString ]; > > NSMetadataQuery *query = [[NSMetadataQuery alloc] i

Mount Point

2008-05-28 Thread Mr. Gecko
Hello I have a program that finds a device by it's device number such as /dev/disk2s3 how would I find out the mount point/name of that device? If not how can I find the device number and name from a mount point? ___ Cocoa-dev mailing list (Cocoa-de

Re: NSMetadataItem attributes

2008-05-28 Thread Hamish Allan
Hi Gerriet, On Wed, May 28, 2008 at 5:35 PM, Gerriet M. Denkmann <[EMAIL PROTECTED]> wrote: > > I have an NSMetadataItem, which gives me via attributes a list of keywords. > > But: kMDItemPath is not in this list, although >NSString *itemPath = [ item valueForAttribute: (NSString > *)kMDIt

Re: Repost: NSAlert beeping

2008-05-28 Thread Dale Jensen
On May 28, 2008, at 12:37 PM, Sherm Pendley wrote: I strongly suspected that at first, but you said your callback method *was* being called - and it's called by the framework in response to your own call to -endSheet:returnCode:. So now I'm confused. Were you calling the callback method directly

Core animation bug?

2008-05-28 Thread Henk Kampman
According the the documentaion bounds, boundsOrigin and boundsSize are animatable properties. However trying to do something like: NSRect newBounds = [myView bounds]; newBounds.origin.x += 100; [[myView animator] setBounds: newBound

NSPredicate containing contains

2008-05-28 Thread Gerriet M. Denkmann
NSString *searchString = @"SpoD"; NSString *predicateFormat = @"kMDItemFSName contains %@"; NSPredicate *predicate = [ NSPredicate predicateWithFormat: predicateFormat, searchString ]; NSMetadataQuery *query = [[NSMetadataQuery alloc] init]; [ query setPredicate: predicate]; // <---

Re: NSFileManager's errors in 10.5, where are they documented?

2008-05-28 Thread Jonathan Dann
Thanks Jens and Ali, I appreciate your time. On 26 May 2008, at 20:15, Ali Ozer wrote: In general Cocoa classes, including NSFileManager, return errors just in the domain NSCocoaErrorDomain. So all the possible errors should be listed in FoundationErrors.h. However, there may of course b

Re: Repost: NSAlert beeping

2008-05-28 Thread Sherm Pendley
On Wed, May 28, 2008 at 1:19 PM, Dale Jensen <[EMAIL PROTECTED]> wrote: > > I was neglecting to call [NSApp endSheet:theSheet returnCode: 0]; I strongly suspected that at first, but you said your callback method *was* being called - and it's called by the framework in response to your own call to

Re: email

2008-05-28 Thread Dirk Stoop
You might also want to take a look at the scripts Apple pre-installs for usage with Mail.app /Library/Scripts/Mail\ Scripts (on Leopard, not sure if they're in the same place on Tiger installs) There's a subfolder called 'Address Importers' that'll get you started with Entourage. In Panthe

Re: Repost: NSAlert beeping

2008-05-28 Thread Dale Jensen
Thanks to Jim Matthews, a solution for the archive: I was neglecting to call [NSApp endSheet:theSheet returnCode: 0]; It would still be nice to hear from someone at Apple as regards the beeping, but this solves it for me. Thanks, Jim! dale -- Dale Jensen Ntractive, LLC [EMAIL PROTECTED] h

Re: Repost: NSAlert beeping

2008-05-28 Thread Kevin Grant
Try linking with debug versions of the frameworks, these often print info to the console on the nature of an error that may otherwise just beep. Kevin G. (Nary a response from last post, I'll try again.) I've got a situation where an alert, attached as a sheet, just beeps when it's called (

Re: email

2008-05-28 Thread Jens Alfke
On 28 May '08, at 9:56 AM, has wrote: Not quite that bad. For example, getting all recipient names and addresses from the 'sent mailbox' on my 2.4GHz dual core MBP: He did say "emails and email addresses", so I assume he wants the full content of each message too. That would be slower; alt

Re: Storing miscellaneous singleton data in CoreData app?

2008-05-28 Thread Quincey Morris
On May 28, 2008, at 00:43, Rick Mann wrote: I also want to display some data in the detail view that is global to the document. What's the best/easiest way to add that information to my document and make it available to a text field via bindings? Do I need to create additional CoreData sch

Re: iPhone - AddressBook Question

2008-05-28 Thread Mike Abdullah
As ever and ever and ever: iPhone SDK is under NDA. You cannot discuss it here. On 28 May 2008, at 17:42, James Cicenia wrote: Hello - I am new to iPhone and Cocoa, but, am definitely enjoying learning it. Anyway, I was wondering if it was possible for my application to have its own separat

Repost: NSAlert beeping

2008-05-28 Thread Dale Jensen
(Nary a response from last post, I'll try again.) I've got a situation where an alert, attached as a sheet, just beeps when it's called (instead of displaying and interacting with the user.) I'm about 99.99% certain that this is being caused by a sheet that comes up prior to the alert (not

Re: email

2008-05-28 Thread has
Jens Alfke wrote: On 28 May '08, at 4:38 AM, [EMAIL PROTECTED] wrote: I've build an email application,which doesn't using any email clients.In this application i've to extract emails and email addresses from other email clients(example mail.app,entourage etc). Importing messages from Mail

iPhone - AddressBook Question

2008-05-28 Thread James Cicenia
Hello - I am new to iPhone and Cocoa, but, am definitely enjoying learning it. Anyway, I was wondering if it was possible for my application to have its own separate address book? Thanks James Cicenia ___ Cocoa-dev mailing list (Cocoa-dev@lists.appl

NSMetadataItem attributes

2008-05-28 Thread Gerriet M. Denkmann
I have an NSMetadataItem, which gives me via attributes a list of keywords. But: kMDItemPath is not in this list, although NSString *itemPath = [ item valueForAttribute: (NSString *) kMDItemPath ]; gives a reasonable answer. On the other hand, this aforementioned list of attributes contai

Re: Prevent computer from going to sleep but _not_ disable dimming

2008-05-28 Thread Jere Gmail
Either you are doing something wrong or you have another app keeping your screen on, like quicktime or vlc. On Tue, May 27, 2008 at 11:26 AM, Manfred Schwind <[EMAIL PROTECTED]> wrote: >> You have to use IdleActivity, that's the one I use and it works. > > Are you sure? I tried all constants, but

Re: Storing miscellaneous singleton data in CoreData app?

2008-05-28 Thread Andrew Merenbach
Hi, Rick, It's been a while since I did this, but I had a need for the exact thing that you are describing at one point. Basically, in my document data model, I created another entity. This entity had whatever properties I needed to make global. I then used an NSObjectController (rathe

Re: Storing miscellaneous singleton data in CoreData app?

2008-05-28 Thread Jens Alfke
On 28 May '08, at 12:43 AM, Rick Mann wrote: I also want to display some data in the detail view that is global to the document. What's the best/easiest way to add that information to my document and make it available to a text field via bindings? Do I need to create additional CoreData sc

Re: if statement

2008-05-28 Thread Sherm Pendley
On Tue, May 27, 2008 at 6:04 PM, Sherman Pendley <[EMAIL PROTECTED]> wrote: And second, comparison of floating-point numbers is an inherently inaccurate > in *any* programming language.* I just realized - I forgot the footnote link the * is referring to here. :-( Here 'tis:

Re: NSFileHandle, performance of socket writing

2008-05-28 Thread Jens Alfke
On 28 May '08, at 2:18 AM, Doo-Hyun Jang wrote: - 24.9% mach_kernel ml_set_interrupts_enabled ... ... - 15.9% mach_kernel find_user_regs That just shows the time your thread spent blocked (it's down inside thread_block). CFNetwork classes do the real I/O on a background thread, ty

Re: Cover Flow in Cocoa?

2008-05-28 Thread Jens Alfke
On 28 May '08, at 1:04 AM, Steve Harrison wrote: On another thread on the Apple Mailing Lists, Alexander Cohen said that there is an API in Leopard for CoverFlow (see archived post here: "http://www.cocoabuilder.com/archive/message/cocoa/2007/11/6/192424 "): Yeah, but that's private API.

Re: email

2008-05-28 Thread Jens Alfke
On 28 May '08, at 4:38 AM, [EMAIL PROTECTED] wrote: I've build an email application,which doesn't using any email clients.In this application i've to extract emails and email addresses from other email clients(example mail.app,entourage etc). Importing messages from Mail via AppleScript may n

Re: Cocoa Classes from C++?

2008-05-28 Thread Fritz Anderson
In response to Jens Alfke's suggestion of: // MyObjCClass.h #ifdef __cplusplus class MyCppClass; #else typedef struct MyCppClass MyCppClass; #endif @interface MyObjCClass { @private MyCppClass *cppObject; } @end On 28 May 2008, at 12:14 AM, Bill Bumgarner wrote: On Ma

Re: if statement

2008-05-28 Thread Sean McBride
On 5/28/08 10:11 AM, Graham Cox said: >what is OB? Is it 1, 2, 3 etc? Or is it 0.99, 1.9? >If the latter, what will "if (OB == 1)" produce - true or false? The >point is that floating point values have limited precision (after all, >you are trying to represent all possible numb

Re: Which framework for Wifi?

2008-05-28 Thread Peter Burtis
On May 27, 2008, at 11:28 PM, J. Scott Tury wrote: And in 10.5.2 the -x command line option does not work at all Hrm... That's odd and disturbing. But not *quite* true. :) I'm using 'airport -x -s' in my little network jumper app to list networks in range, which--I just checked--*does* stil

Re: Crashes related to garbage collection?

2008-05-28 Thread Markus Müller
Please excuse me for taking so long to get back to this thread! Thank you both for your answers. It's interesting that you think that those crashes are related to the open panel. I also have several crash logs that contain traces of open/save panel methode calls. If this doesn't get better in 10.

Re: NSImage display quality and zooming

2008-05-28 Thread Heinrich Giesen
On 28.05.2008, at 03:16, also wrote: I've created a custom NSView that displays an image and allows the user to zoom in and out. The view works in general, but the quality of the image displayed is not what I expect. When I zoom in even slightly on a high resolution image (300 dpi, 500x500) t

Re: DO problems

2008-05-28 Thread Aurélien Hugelé
I really wanted this patch to work, but in my tests, it does not work : Here is my backtrace. #0 0x939d4689 in _cache_getImp () #1 0x939c3bd0 in lookupMethodInClassAndLoadCache () #2 0x939c3c5b in object_cxxDestructFromClass () #3 0x939c4943 in _internal_object_dispose () #4 0x949f8f70 in N

Re: Cocoa Classes from C++?

2008-05-28 Thread Uli Kusterer
Am 28.05.2008 um 01:50 schrieb Todd Heberlein: The gotchas that I often run into are: (1) Changing an Objective-C file to an Objective-C++ object (by renaming it to a .mm file) often causes me to rename a lot of files to .mm, because if the Objective- C class definition has a C++ object in it

Re: email

2008-05-28 Thread Mike Abdullah
I would reccommend you have a look at the Address Book framework for importing e-mail addresses. On 28 May 2008, at 12:38, [EMAIL PROTECTED] wrote: Hi, I've build an email application,which doesn't using any email clients.In this application i've to extract emails and email addresses from

Re: Cocoa Classes from C++?

2008-05-28 Thread Thomas Engelmeier
On 28.05.2008, at 01:50, Todd Heberlein wrote: The gotchas that I often run into are: (1) Changing an Objective-C file to an Objective-C++ object (by renaming it to a .mm file) often causes me to rename a lot of files to .mm, because if the Objective- C class definition has a C++ object in

Re: email

2008-05-28 Thread Vijay Malhan
Yes. You can use Apple Scripting to achieve this. Another trivial method to do this could be using Automator.app. By Automator you can create workflow's for importing mails/calenders/addresses etc using automator-actions provided by Mail.app and Entourage.app (They both support automator actions).

email

2008-05-28 Thread vinitha
Hi, I've build an email application,which doesn't using any email clients.In this application i've to extract emails and email addresses from other email clients(example mail.app,entourage etc).Which method can i use for it?I searched this topic,then i got some topics related to apple script.Is

Re: NSImage display quality and zooming

2008-05-28 Thread Michael Vannorsdel
Could you give more detail on what you're ultimately trying to and more on the problems you're seeing in the results? On May 27, 2008, at 8:13 PM, also wrote: I had noticed this flag, but it did not solve the problem. I think this must only effect scaling when the receiving view is resized

Re: Time management

2008-05-28 Thread I. Savant
hi,I wish to realise time management in my program including functionalities of measuring time interval between events and all other events that occured during that event. plz help. Help you with what? Read this: http://catb.org/~esr/faqs/smart-questions.html -- I.S. __

Time management

2008-05-28 Thread nishant jain
hi,I wish to realise time management in my program including functionalities of measuring time interval between events and all other events that occured during that event. plz help. thanks Nishant ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

NSFileHandle, performance of socket writing

2008-05-28 Thread Doo-Hyun Jang
I make file transfer part that will be used IM. but, it's speed was slow, the speed of transfer was measured about 20~30KByte in local network. I had profiling with shark. - 24.9% mach_kernel ml_set_interrupts_enabled ... ... - 15.9% mach_kernel find_user_regs ... more detail : http:

Re: Cover Flow in Cocoa?

2008-05-28 Thread Steve Harrison
Hello, Here are several things that might be of help... As stated by Nick Zitzmann, Apple has a sample Cover Flow-style application called "CovertFlow", which is located at "/Developer/ Examples/Quartz/Core Animation/CovertFlow/". On another thread on the Apple Mailing Lists, Alexander Cohe

Storing miscellaneous singleton data in CoreData app?

2008-05-28 Thread Rick Mann
I have a little CoreData app that seems to work as I want it to. I have a list in my UI and I can add and remove items to it, and a customized detail view that displays the data for the currently- selected item. I also want to display some data in the detail view that is global to the docu

Re: NSImage display quality and zooming

2008-05-28 Thread Dmitri Goutnik
On May 28, 2008, at 4:37 AM, also wrote: I've created a custom NSView that displays an image and allows the user to zoom in and out. The view works in general, but the quality of the image displayed is not what I expect. When I zoom in even slightly on a high resolution image (300 dpi, 500x50