Re: Custom NSView / NSToolbar drawing woes

2012-11-29 Thread Graham Cox
When your custom view is activated, it should be made first responder, which is responsible for validating the toolbar - check out NSUserInterfaceValidation. Your -drawRect: does not need to account for the toolbar (but it also should take some care not to mess up the graphics environment, thoug

Custom NSView / NSToolbar drawing woes

2012-11-29 Thread João Varela
I would really appreciate if someone could help me with this mixed bag of problems I'm having while drawing a custom NSView: I have a textured window on which I display either an NSOutlineView or this custom view (both are subviews of the window's content view). This window has a toolbar with seve

Automatic document duplication

2012-11-29 Thread Gideon King
I have an application where documents are created which can have other files attached to them. A user can open the file in its native application. I copy the original file to a temporary folder (using NSTemporaryDirectory() and adding the file name to it) and ask NSWorkspace to open it. If the

Re: Does anyone find Restore Snapshot kind of weak?

2012-11-29 Thread Richard Somers
I use Git and have a work flow similar to what you are describing. My git commits are usually frequent, focused and sometimes staged. But I also manually copy the entire project folder or repository at various points in time and put it in a manual backup or history folder. I usually keep the las

Re: FileWrapper & iCloud

2012-11-29 Thread Gordon Apple
Well, if you are lobbying for features, IMHO, they should also at least include simple migration. On 11/29/12 7:16 PM, "Sean McBride" wrote: > On Fri, 30 Nov 2012 00:43:36 +, Mike Abdullah said: > >> >With all the different features of the document system these days, it >> >can be pretty h

Re: FileWrapper & iCloud

2012-11-29 Thread Sean McBride
On Fri, 30 Nov 2012 00:43:36 +, Mike Abdullah said: >With all the different features of the document system these days, it >can be pretty hard to slot them all in nicely with Core Data. People may >find https://github.com/karelia/BSManagedDocument pretty handy for this >(the real meat is in th

Re: FileWrapper & iCloud

2012-11-29 Thread Mike Abdullah
On 10 Nov 2012, at 21:36, Gordon Apple wrote: > I don¹t know about iCloud, but I finally got file wrappers working for my > NSPersistentDocument subclass. It wasn¹t easy. I use a separate folder for > stored files, sibling to my coreData storage, in the same package. I based > it losely on the

Re: split views, best practices for 10.8?

2012-11-29 Thread Chuck Soper
Peter, Your last email helped a lot, but I'm stuck on one issue (at the bottom of this email). I preserved the previous discussion on the topic. On 11/27/12 6:33 PM, "Chuck Soper" wrote: >>On Nov 27, 2012, at 10:27 AM, Chuck Soper wrote: >> >>> [snip] > >>> >>> >>> 3. Programmatically show/

Re: FileWrapper & iCloud

2012-11-29 Thread Mike Abdullah
On 10 Nov 2012, at 18:28, Sean McBride wrote: > On Sat, 10 Nov 2012 18:09:58 +, Luke Hiesterman said: > >> File wrappers don't make it inherently easier or harder to deal with >> iCloud. File packages (which you would use file wrappers to represent) >> can be elegant means of wrapping up doc

Re: iTunes 11 miniPlayer bug

2012-11-29 Thread Eric E Dolecki
I've done that. Sorry for the noise. Sent from my Apple ][+ Peek -16336 On Nov 29, 2012, at 4:00 PM, Cody Garvin wrote: > Probably should submit an actual bug report vs here. > > > > On Nov 29, 2012, at 12:32 PM, "Eric E. Dolecki" wrote: > >> *12779305*

Re: iTunes 11 miniPlayer bug

2012-11-29 Thread Eric E Dolecki
Oops. Sorry ;) Sent from my Apple ][+ Peek -16336 On Nov 29, 2012, at 3:59 PM, Kyle Sluder wrote: > On Thu, Nov 29, 2012, at 12:32 PM, Eric E. Dolecki wrote: >> >> This needs fixed as it's a big usability problem. > > Why are you posting this here? This is a mailing list about Cocoa > develop

Re: iTunes 11 miniPlayer bug

2012-11-29 Thread Cody Garvin
Probably should submit an actual bug report vs here. On Nov 29, 2012, at 12:32 PM, "Eric E. Dolecki" wrote: > *12779305* > . > > If I open up the miniPlayer, play some music, I will see song title,

Re: iTunes 11 miniPlayer bug

2012-11-29 Thread Kyle Sluder
On Thu, Nov 29, 2012, at 12:32 PM, Eric E. Dolecki wrote: > > This needs fixed as it's a big usability problem. Why are you posting this here? This is a mailing list about Cocoa development. --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.ap

Re: Does anyone find Restore Snapshot kind of weak?

2012-11-29 Thread Kyle Sluder
On Thu, Nov 29, 2012, at 12:02 PM, Yi Lin wrote: > Wow, what a response for a simple post. That said, the responses should probably cease, since this post is really appropriate for xcode-users, not this list. --Kyle Sluder ___ Cocoa-dev mailing list (C

iTunes 11 miniPlayer bug

2012-11-29 Thread Eric E. Dolecki
*12779305* . If I open up the miniPlayer, play some music, I will see song title, etc. and when I roll over the player, I get transport controls. If I click anywhere in the player I then lose mouse out, a

Re: Does anyone find Restore Snapshot kind of weak?

2012-11-29 Thread Yi Lin
Wow, what a response for a simple post. I do use Git, and take advantaging of its staging abilities. But sometimes, I want to do some quick experiments and want to get back to a previous state. Kind of like undoing with Command-Z except it involves multiple files. Yes, theoretically, Git can do a

Re: Does anyone find Restore Snapshot kind of weak?

2012-11-29 Thread Kyle Sluder
On Thu, Nov 29, 2012, at 11:16 AM, Charles Srstka wrote: > On Nov 29, 2012, at 1:08 PM, Kyle Sluder wrote: > > > On Nov 29, 2012, at 10:47 AM, Charles Srstka > > wrote: > > > >> On Nov 29, 2012, at 9:48 AM, Kyle Sluder wrote: > >> > >>> > >>> One might argue that it would be a good idea for

Re: Does anyone find Restore Snapshot kind of weak?

2012-11-29 Thread Charles Srstka
On Nov 29, 2012, at 1:08 PM, Kyle Sluder wrote: > On Nov 29, 2012, at 10:47 AM, Charles Srstka wrote: > >> On Nov 29, 2012, at 9:48 AM, Kyle Sluder wrote: >> >>> >>> One might argue that it would be a good idea for Xcode to offer the >>> ability to commit snapshots to a branch on the git rep

Re: Does anyone find Restore Snapshot kind of weak?

2012-11-29 Thread Kyle Sluder
On Nov 29, 2012, at 10:47 AM, Charles Srstka wrote: > On Nov 29, 2012, at 9:48 AM, Kyle Sluder wrote: > >> >> One might argue that it would be a good idea for Xcode to offer the >> ability to commit snapshots to a branch on the git repo to which all the >> affected files belong, if one such re

Re: Does anyone find Restore Snapshot kind of weak?

2012-11-29 Thread Charles Srstka
On Nov 29, 2012, at 9:48 AM, Kyle Sluder wrote: > On Thu, Nov 29, 2012, at 03:51 AM, Charles Srstka wrote: >> On Nov 29, 2012, at 4:39 AM, "jonat...@mugginsoft.com" >> wrote: >> >>> Interactive rebasing is quite straightforward. >>> >>> # fiddle with the last 10 commits >>> git rebase -i HEAD~

NSPopover in NSPopover

2012-11-29 Thread Gordon Apple
I know this doesn¹t work in iOS. Can an NSPopover have a popover? (Nothing mentioned either way in the docs.) I have a slider control in a popover for movie shuttle. Ideally, I would like to add a small popover showing the movie frame and have it track the control. If not, I suppose I could mak

Re: Does anyone find Restore Snapshot kind of weak?

2012-11-29 Thread Kyle Sluder
On Thu, Nov 29, 2012, at 03:51 AM, Charles Srstka wrote: > On Nov 29, 2012, at 4:39 AM, "jonat...@mugginsoft.com" > wrote: > > > Interactive rebasing is quite straightforward. > > > > # fiddle with the last 10 commits > > git rebase -i HEAD~10 > > I think that what Greg was referring to was the

Re: Does anyone find Restore Snapshot kind of weak?

2012-11-29 Thread Charles Srstka
On Nov 29, 2012, at 4:39 AM, "jonat...@mugginsoft.com" wrote: > Interactive rebasing is quite straightforward. > > # fiddle with the last 10 commits > git rebase -i HEAD~10 I think that what Greg was referring to was the fact that it can't be done from within Xcode without dropping down to th

Re: Does anyone find Restore Snapshot kind of weak?

2012-11-29 Thread jonat...@mugginsoft.com
On 29 Nov 2012, at 01:44, Charles Srstka wrote: > On Nov 28, 2012, at 7:39 PM, Greg Parker wrote: > >> On Nov 28, 2012, at 5:28 PM, Charles Srstka wrote: >>> Perhaps, although I'm somewhat unsure of what VC is for, if not for making >>> it possible to compare and revert changes that might pos