Re: Details and the concepts related to the Nib Window

2010-03-22 Thread Jon Pugh
> > Whenever we drag an object from the Interface builder to our Nib window >> (like we do for a controller object), it means that we are instantiating the >> object of a class or interface. But where actually can i see it being >> instantiated. > >What do you mean by "see"? I presume he means via

Re: Details and the concepts related to the Nib Window

2010-03-22 Thread Ken Thomases
On Mar 22, 2010, at 5:07 PM, Abhinav Tyagi wrote: > Whenever we drag an object from the Interface builder to our Nib window > (like we do for a controller object), it means that we are instantiating the > object of a class or interface. But where actually can i see it being > instantiated. What d

Attempt to nest an NSCollectionView fails.

2010-03-22 Thread Brian Krisler
Hi, I am trying to nest an NSCollectionView inside an existing collection view and am not having much luck. The example I am building runs without issue, however the nested values do not appear. I currently have two model classes: @interface BlockModel : NSObject { NSString *blockTitl

Details and the concepts related to the Nib Window

2010-03-22 Thread Abhinav Tyagi
Hi, Thanks for your time for reviewing this. I am new to objective c and Cocoa on iMac OSX Leopard XCode3.1. Whenever we drag an object from the Interface builder to our Nib window (like we do for a controller object), it means that we are instantiating the object of a class or interface. But wh

Modify image in IKImageview with CIFilter‏

2010-03-22 Thread paul morel
Hi, I was wondering if someone would know how it is possible to use a CIFilter with an IKImageview? In the documentation they mention the fact that we can use an IKImageview with a CIFilter. But they don't really explain how! Actually so far I am using a CALayer that I added over the ima

Re: Merge changes between two Managed Object Contexts

2010-03-22 Thread Austin Grigg
Joanna, That worked perfectly. Thanks for taking the time to help me out -- it always bugs me when something takes 10 extra steps and I have a gut feeling it can be done in one. mergeChangesFromContextDidSaveNotification: was the key to making the changes from the second context a simple thin

Re: Embedding WebKit in Java 1.6 application

2010-03-22 Thread Martin Nedbal
You're right, I didn't check if there's any better list - and it really is (webkit-dev). Sorry;) Martin On 03/22/2010 06:40 PM, Jens Alfke wrote: On Mar 22, 2010, at 10:31 AM, Martin Nedbal wrote: The problem is that embedded browser does not seem to be able to load Flash / Silverlight plu

Re: Odd crash

2010-03-22 Thread Steve Shepard
I've seen this too. Customer comments in the crash report indicate that it occurs most frequently when saving to a USB "thumb" drive. It only seems to happen on 10.6.2. -Steve On Mon, Mar 22, 2010 at 1:48 PM, Martin Wierschin wrote: >>> Thread 6 Crashed:  Dispatch queue: TFSVolumeInfo::GetSyncGC

Re: Odd crash

2010-03-22 Thread Martin Wierschin
Thread 6 Crashed: Dispatch queue: TFSVolumeInfo::GetSyncGCDQueue 0 com.apple.DesktopServices 0x901d8445 TFSVolumeInfo::GetVolumeSyncThread() + 83 1 com.apple.DesktopServices 0x901d8391 TNode::PostNodeTaskRequest(TCountedPtr const&) const + 81 I've seen these kinds of

Re: Refreshing NSArrayController after Undo/Redo

2010-03-22 Thread Joanna Carter
OK, I've done some more digging and found where the problem appears to be happening. The Undo isn't happening because there is nothing to undo!!! The situation is happening because I am using a secondary MOC for editing. Once the edited object is saved to the secondary MOC, I reconcile the main

Re: drag & drop / re-ordering

2010-03-22 Thread Dave Reed
Another place to look is: http://www.red-sweater.com/blog/274/a-moveable-beast Daniel Jalkut (Red Sweater is his company) wrote an NSArrayController subclass that supports re-ordering of an NSTableView and released it under an open source license. I've used it for a couple hobby projects of mi

Re: Embedding WebKit in Java 1.6 application

2010-03-22 Thread Jens Alfke
On Mar 22, 2010, at 10:31 AM, Martin Nedbal wrote: The problem is that embedded browser does not seem to be able to load Flash / Silverlight plugins. I think it's probably caused by incompatible architecture - Java 1.6 is 64bit only while Safari (and mentioned plugins) are 32bit, right? WebKi

Re: drag & drop / re-ordering

2010-03-22 Thread Dave DeLong
Here's a little blurb I wrote a while ago on the basics of drag and drop: http://stackoverflow.com/questions/1383021#1383640 HTH, Dave DeLong On Mar 22, 2010, at 11:31 AM, Rainer Standke wrote: > Hello, > > I am looking to create a drag & drop mechanism that allows the re-ordering of > items

drag & drop / re-ordering

2010-03-22 Thread Rainer Standke
Hello, I am looking to create a drag & drop mechanism that allows the re- ordering of items. Ideally it would work like the side bar in Finder windows, where one can drag items and their icons up and down. Another way it could work would be like a horizontal film strip with thumbnail icons

Embedding WebKit in Java 1.6 application

2010-03-22 Thread Martin Nedbal
Hi, I have an issue with embedded WebKit from Java 1.6. The problem is that embedded browser does not seem to be able to load Flash / Silverlight plugins. I think it's probably caused by incompatible architecture - Java 1.6 is 64bit only while Safari (and mentioned plugins) are 32bit, right? Any i

Re: about 3D sound

2010-03-22 Thread Eric Wing
> Nota bene: I found out you need to use _mono_ sounds or the 3D placement > won't work. At least, that was the case for my iPhone game; I have never > used OpenAL for a MacOS project. This is true of OpenAL in general (all platforms). The 1.1 spec specifies only mono sounds are spatialized. -Er

Re: NSPredicate to exclude specific elements??

2010-03-22 Thread Robert Monaghan
Good Suggestion! Let me look. bob. On Mar 21, 2010, at 4:43 PM, Kyle Sluder wrote: > On Sun, Mar 21, 2010 at 12:47 PM, Robert Monaghan wrote: >> I've replaced the "not" predicate with all sorts of combinations. I get a >> NSInvalidArgumentException the moment the NSPredicate is instantiated. >

Re: Odd crash

2010-03-22 Thread Gideon King
Ah, I've been seeing a bunch of TNode errors too - I thought it must be something I was doing wrong. Could never work out any rhyme or reason to it, or reproduce it here, but received quite a few reports of crashes due to this from customers. Glad to know I'm not going crazy. Gideon

Re: Odd crash

2010-03-22 Thread Paul Sanders
And I have seen something similar (including once here), always, I see, on 10.6.2: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0018 Crashed Thread: 2 ... Thread 2 Crashed: 0 com.apple.DesktopServices 0x9873dd1

Re: Odd crash

2010-03-22 Thread Kevin Wojniak
I've seen this crash plenty of times as well. Hopefully it'll be fixed in 10.6.3. On Mar 21, 2010, at 4:40 PM, Kyle Sluder wrote: > On Sun, Mar 21, 2010 at 3:37 PM, Graham Cox wrote: >> I got this crash report from a user. It seems to be an isolated incident but >> it would be good to know wh

Subclassing and Relationships - different xcdatamodels

2010-03-22 Thread Alexander Spohr
Hi list, I used to create a base model in EOF and group some additional models around it having relationships into the base model. The base model was reusable, the others where project specific. Now I would like to use such a setup with CoreData. Is it possible to 1) create entity BSubclass in

Re: NSUserDefaultsController valueForUndefinedKey:

2010-03-22 Thread Richard Somers
On Mar 19, 2010, at 10:04 PM, Richard Somers wrote: When moving a slider in a preference panel I sometimes get an error. On Mar 20, 2010, at 11:36 AM, Quincey Morris wrote: So you're getting an exception (thrown in valueForUndefinedKey:) from objects of various strange classes, and it only

Re: Knowing when control tracking is done

2010-03-22 Thread James W. Walker
On Mar 21, 2010, at 11:27 PM, James W. Walker wrote: > I have an instance of NSSlider that I've marked as "continuous", but I also > need to know when the user has released the mouse button and stopped messing > with the slider. Do I need to subclass NSSlider and override mouseUp:, or is > th

Refreshing NSArrayController after Undo/Redo

2010-03-22 Thread Joanna Carter
Hi folks I understand how to manage the NSUndoManager on a NSManagedObjectContext, but getting the visuals to react is proving elusive. Example === Core Data application (not document-based) Main form contains an NSTableView connected to an NSArrayController in Entity mode. I can add and

LaunchServices refuses to launch Finder

2010-03-22 Thread arri
Hoi list, I'm sorry if this is abit off-topic, but it's only a bit, and i thought some smart brains here might have a 'clear' answer right away, i didn't manage to find a proper solution the regular ways. it seems i'm the only one seeing this behaviour, and it's keeping me from doing my work: prog

re: CoreData database sharing and migration

2010-03-22 Thread Steve Steinitz
Hi Ben, Thank you for your detailed and candid reply. I have some comments and questions on a few points, below... On 18/3/10, Ben Trumbull wrote: there wasn't a good solution for multiple machines simultaneously accessing an SQLite db file (or most other incrementally updated binary file f

Re: I am Getting 2 Preferences Files

2010-03-22 Thread Citizen
From my observations the com..name>.LSSharedFileList.pList files are written out (well, actually renamed and moved from a temporary file) by a background process within a second of the application quitting. This does appear to be normal behavior under Snow Leopard, but does not appear to be

Re: ATTR_CMN_CHGTIME

2010-03-22 Thread gMail.com
Hi Ken, thanks, I have read those lines on the man. But where are these Carbon APIs setting the Attribute Date? I tried FSSetCatalogInfo with kFSCatInfoAttrMod and it didn't work. I ended up with an attribute date equal to the current time (when I called the API), not the date I wanted to set. On

Re: Merge changes between two Managed Object Contexts

2010-03-22 Thread Joanna Carter
Hi Austin > Thank you Joanna, that was very helpful. So, from your experience, > mergeChangesFromContextDidSaveNotification: will not pick up adding a new > object, just editing an existing one? It seems like the real pain point is > having to re-create the new object in the second managedObj

Re: ATTR_CMN_CHGTIME

2010-03-22 Thread Ken Thomases
On Mar 21, 2010, at 6:01 PM, gMail.com wrote: > Also, the man says that getattrlist and setattrlist don't work on all the > volumes. So, how can I know whether I can call these APIs? The man page for getattrlist says: > The best way to test whether a volume supports this function is to simply >

Re: ATTR_CMN_CHGTIME

2010-03-22 Thread gMail.com
Hi Ron, You speak about the modification date of the "content of the file". I am speaking about the modification date of the "attributes of the file". It gets modified when you change the ownership or the permissions or the lock flag... You can get it with lstat and sb.st_ctime or with FSSetCatalo