Re: IKImageBrowserView Dragging outside

2009-10-26 Thread Tobias Jordan
s:[self selectionIndexes] atDestination:dropDestination]; return nil; } No need to implement :mouseDown- or -mouseDragged: :-) Thank you for your help! Best regards, Tobias Jordan. On Oct 25, 2009, at 12:41 PM, jonat...@mugginsoft.com wrote: That might prove to be the case. Othe

Handling projects with several XIBs

2009-11-02 Thread Tobias Jordan
the most fastest and efficient way? Thanks a lot for sharing your methods! Best regards, Tobias Jordan. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

Re: Handling projects with several XIBs

2009-11-02 Thread Tobias Jordan
Thanks Alex and Peter. Your link to Wil's blog post is exactly what I was looking for. Best regards, Tobias Jordan. On Nov 2, 2009, at 2:08 PM, Peter Ilberg wrote: The other day, Wil Shipley shared his solution to the localization problem: http://wilshipley.com/blog/2009/10/pimp-my

NSTimer never being deallocated

2010-03-13 Thread Tobias Jordan
invalid address. What am I doing wrong? There really should be a way to deallocate an instance of NSTimer, I guess. Thanks, guys! Best regards, Tobias Jordan.___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mod

Re: NSTimer never being deallocated

2010-03-13 Thread Tobias Jordan
t to know what's going on inside my app and I've got enough experience in coding to know that just trusting the Apple docs (especially when it's about memory management) is not reliable. Best regards, Tobias Jordan. On Mar 13, 2010, at 4:56 PM, Manfred Schwind wrote: I sent an

Re: NSTimer never being deallocated

2010-03-13 Thread Tobias Jordan
which does the releasing very well. But that's just one example, I mean no ones perfect that's why I make sure on my own that everything's fine. I've had a few classes in the past not behaving properly and being fixed in the next OS (Tiger to Leopard, Leopard to Snow Leopard

Re: NSTimer never being deallocated

2010-03-13 Thread Tobias Jordan
#x27;NSTimer is caching its instances' line that confused me so sorry about that and thanks for your help! Best regards, Tobias Jordan. On Mar 13, 2010, at 6:55 PM, Joar Wingfors wrote: On 13 mar 2010, at 09.08, Tobias Jordan wrote: Yes, don't get me wrong, I trust the Apple docs

Re: NSTimer never being deallocated

2010-03-13 Thread Tobias Jordan
aks in sample code I am downloading somewhere. That's the reason I am so careful. Let's just close the topic here, I thank everyone for the explanations, I appreciate all of them! Best regards, Tobias Jordan. On Mar 13, 2010, at 9:53 PM, Paul Sanders wrote: I don't underst

Re: NSTimer never being deallocated

2010-03-14 Thread Tobias Jordan
If these cachings don't result in a huge memory leak (which they obviously don't do) I am fine with it. :-) On Mar 14, 2010, at 10:09 PM, Steve Christensen wrote: On Mar 13, 2010, at 10:57 AM, Tobias Jordan wrote: What made me think it is a bug was actually only the fact that i

CoreData database sharing and migration

2010-03-17 Thread Tobias Jordan
Hi Folks, I am wondering whether it is possible to create a database in core data that can be opened by more than one application at the same time. It is currently impossible to handle one SQLite database with two instances of the same app. The problem is if user1 quits the app, the data

Re: CoreData database sharing and migration

2010-03-17 Thread Tobias Jordan
Hello Ben, Thanks a lot for responding! My problem is as follows: The database which is currently a non-document based core data SQLite one is normally stored in the local User Library of the user. (/Users/user/ Library/Application Support/MyApp/database.db But there are cases in which two

Re: CoreData database sharing and migration

2010-03-17 Thread Tobias Jordan
13 PM, Ben Trumbull wrote: On Mar 17, 2010, at 2:59 PM, Tobias Jordan wrote: Hello Ben, Thanks a lot for responding! My problem is as follows: The database which is currently a non-document based core data SQLite one is normally stored in the local User Library of the user. (/Users/user

Re: CoreData database sharing and migration

2010-03-20 Thread Tobias Jordan
re as its own entity. It might be easier to think about how you would give each schema a version number. Each union of models is likely to be its own version, and you would migrate to a new union with a new version number. - Ben On Mar 17, 2010, at 3:28 PM, Tobias Jordan wrote: Hi Ben,

UI blocking

2010-05-16 Thread Tobias Jordan
Hey guys, I have a CA transition running which obviously doesn't support any blocking modes (CABasicAnimation). I must block the UI during the transition so the user can't click somewhere and something unexpected happens. I think all animations in OS X are blocking the UI, for example min

Re: UI blocking

2010-05-17 Thread Tobias Jordan
Thanks for your nice ideas guys, both solutions, subclassing NSApplication (overwriting -sendEvent:) and calling - nextEventMatchingMask:untilDate:inMode:dequeue: in a loop work. Now the only thing that's missing is disabling the application's menu since it's still clickable during animation

Re: UI blocking

2010-05-17 Thread Tobias Jordan
able the MainMenu or not, it depends on the animation duration but it shouldn't be more than a second. Thanks for taking the time to reply to my issue! — Tobias On May 17, 2010, at 6:21 PM, Uli Kusterer wrote: On May 17, 2010, at 6:08 PM, Tobias Jordan wrote: Thanks for your nice idea

Re: UI blocking

2010-05-17 Thread Tobias Jordan
Hey guys, it's funny, I just found a way of handling the animation without blocking the UI. I thought it's impossible to be in control of everything then but that's obviously not true. :-) Thanks to everyone! Best regards, Tobias Jordan. On May 17, 2010, at 7:02 PM, Kyle Slu

Re: UI blocking

2010-05-17 Thread Tobias Jordan
wrote: and that solution was to On May 17, 2010, at 7:38 PM, Tobias Jordan wrote: Hey guys, it's funny, I just found a way of handling the animation without blocking the UI. I thought it's impossible to be in control of everything then but that's obviously not true. :-)

IKImageBrowserView drop operation always highlighting a specific row

2010-01-28 Thread Tobias Jordan
Hey guys, first off thank you for your time, I really appreciate it! So I am having problems with the drag'n'drop of the IKImageBrowserView. In my case I am dragging a file to the view which is automatically sorted case insensitive which means the user isn't able to re-arrange objects in

Re: IKImageBrowserView drop operation always highlighting a specific row

2010-01-28 Thread Tobias Jordan
ew is - (void) setDropIndex:(NSInteger)index dropOperation: (IKImageBrowserDropOperation)operation; available on 10.6 -- Thomas On Jan 28, 2010, at 10:01 PM, Tobias Jordan wrote: Hey guys, first off thank you for your time, I really appreciate it! So I am having problems with the drag&#

Re: IKImageBrowserView drop operation always highlighting a specific row

2010-01-29 Thread Tobias Jordan
wserView - implement the needed methods from NSDraggingDestination (draggingEntered, draggingUpdated, draggingExited...) to achieve what you want. -- Thomas On Jan 29, 2010, at 7:04 AM, Tobias Jordan wrote: Hi Thomas, thanks for the information, didn't know there exists such a metho

Re: IKImageBrowserView drop operation always highlighting a specific row

2010-01-29 Thread Tobias Jordan
ImageBrowserView - implement the needed methods from NSDraggingDestination (draggingEntered, draggingUpdated, draggingExited...) to achieve what you want. -- Thomas On Jan 29, 2010, at 7:04 AM, Tobias Jordan wrote: Hi Thomas, thanks for the information, didn't know there exists such a method

IKImageBrowserView Dragging outside

2009-10-23 Thread TFS - Tobias Jordan
tion:forDraggedRowsWithIndexes :'. What's the method I am missing? Best regards & thanks. Tobias Jordan. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. C

Re: IKImageBrowserView Dragging outside

2009-10-23 Thread TFS - Tobias Jordan
you don't need to implement imageBrowser:writeItemsAtIndexes:toPasteboard:). -- Thomas On Oct 22, 2009, at 2:30 PM, TFS - Tobias Jordan wrote: Hi all, I've been wondering on how to implement dragging out of the view in the IKImageBrowserView. I am pre

Re: IKImageBrowserView Dragging outside

2009-10-24 Thread TFS - Tobias Jordan
itemsWritten++; } } } return itemsWritten; } Regards Jonathan Mitchell Developer http://www.mugginsoft.com On Oct 23, 2009, at 11:44 PM, Thomas Goossens wrote: On Oct 23, 2009, at 9:15 PM, TFS - Tobias Jordan wrote: Thanks for th