Re: Can scroll direction be changed programmatically?

2013-05-09 Thread Steven Degutis
Kinda like https://github.com/invariant/Scroll-Reverser ? Someone showed me this and I glanced at the source code, and was not fond of this technique. On Thu, May 9, 2013 at 7:26 PM, Uli Kusterer wrote: > On 09.05.2013, at 20:55, Steven Degutis wrote: >> I found a solution using Appl

Re: Can scroll direction be changed programmatically?

2013-05-09 Thread Steven Degutis
> What are you actually trying to accomplish? I often switch between using my rMBP directly, and plugging it into this giant monitor. When I'm just using the rMBP's trackpad, I want the scroll direction to be natural. But when I'm plugged in and using a mouse, I'd prefer it to be unnatural. So I'

Can scroll direction be changed programmatically?

2013-05-09 Thread Steven Degutis
I found a solution using AppleScript[1] but it seems like it may be fragile (uses magic numbers, etc). Is there another way? -Steven [1] http://apple.stackexchange.com/questions/60877/toggle-natural-scrolling-from-command-line-with-reload ___ Cocoa-de

Re: Wanted: new owner for Mac apps

2013-05-09 Thread Steven Degutis
Alex, I think my favorite part of your response is that, what I said wasn't something to be vaguely recalled, a lost moment enveloped in a foggy memory, a fragment of a conversation hopelessly swallowed by the past. There was no reason to settle for remembering "something to the effect of" it. On

Re: Wanted: new owner for Mac apps

2013-05-08 Thread Steven Degutis
Alex, does this mean you aren't gonna buy me a PaintCode license out of gratitude? Dang. :( On Wed, May 8, 2013 at 7:25 PM, Alex Zavatone wrote: > > On May 8, 2013, at 8:17 PM, Luther Baker wrote: > >> Steve's entire thread was about giving away his source code -- he even keeps >> us up to date

Re: Wanted: new owner for Mac apps

2013-05-08 Thread Steven Degutis
that they might want to fork one sooner than later. The part about permanence being an illusion? Maybe a bit melancholy, but certainly not snippy. -Steven On Wed, May 8, 2013 at 9:17 AM, Alex Zavatone wrote: > > On May 8, 2013, at 1:14 AM, Steven Degutis wrote: > >> It's funny h

Re: Wanted: new owner for Mac apps

2013-05-07 Thread Steven Degutis
It's funny how when you say "in order of" but omit the direction, people have different assumptions: https://github.com/biohazardffm/grs/network/members On Tue, May 7, 2013 at 1:37 PM, Steven Degutis wrote: > Update: > > The original repo has been deleted. > > Tak

Re: Wanted: new owner for Mac apps

2013-05-07 Thread Steven Degutis
One more thing: If you end up doing something cool with any of these apps, please let me know. I'm kinda nerdy so I like hearing about that kinda stuff. On Tue, May 7, 2013 at 8:54 AM, Steven Degutis wrote: > These ones: https://github.com/sdegutis/grs > > They're a lovel

Re: Showing numpad key equivs in menu items

2013-05-07 Thread Steven Degutis
That's the problem with legacy. We learn from the past, and realize our mistakes. But sometimes we can't fix them, because users already depend on them. Or rather, we do fix them, and anger lots of people who need it to keep working the old way. Reminds me of http://xkcd.com/1172/ ... "legacy: can'

Re: Main Window Disappears when Loaded from Separate NIB File

2013-05-07 Thread Steven Degutis
ARC is on. Retain the window controller. On Tue, May 7, 2013 at 4:52 PM, Thomas Wetmore wrote: > I hope someone can put me straight. I created a vanilla Cocoa App. I deleted > the window from the MainMenu.xib and created a MainWindow.xib with > essentially an identical window (no views). > > I

Re: Wanted: new owner for Mac apps

2013-05-07 Thread Steven Degutis
you'll have learned sooner than later that permanence is an illusion. -Steven On Tue, May 7, 2013 at 8:54 AM, Steven Degutis wrote: > These ones: https://github.com/sdegutis/grs > > They're a lovely little set of Mac apps. Most of them are on the App > Store, and with a

Re: Wanted: new owner for Mac apps

2013-05-07 Thread Steven Degutis
ke one. > > Sent from my iPhone > > On May 7, 2013, at 9:54 AM, Steven Degutis wrote: > >> These ones: https://github.com/sdegutis/grs >> >> They're a lovely little set of Mac apps. Most of them are on the App >> Store, and with absolutely no marketi

Re: Wanted: new owner for Mac apps

2013-05-07 Thread Steven Degutis
Okay, the apps are removed from the App Store. Have at it. On Tue, May 7, 2013 at 10:42 AM, Steven Degutis wrote: > Also, sorry about the unfinished sentence at the end, it happened because > > On Tue, May 7, 2013 at 8:54 AM, Steven Degutis wrote: >> These ones: https://github.c

Re: Wanted: new owner for Mac apps

2013-05-07 Thread Steven Degutis
Also, sorry about the unfinished sentence at the end, it happened because On Tue, May 7, 2013 at 8:54 AM, Steven Degutis wrote: > These ones: https://github.com/sdegutis/grs > > They're a lovely little set of Mac apps. Most of them are on the App > Store, and with absolutely no

Re: Wanted: new owner for Mac apps

2013-05-07 Thread Steven Degutis
. The read me in the link has their names. See > what people think of em. > > Sent from my iPhone > > On May 7, 2013, at 6:54 AM, Steven Degutis wrote: > >> These ones: https://github.com/sdegutis/grs >> >> They're a lovely little set of Mac apps. Mos

Re: Wanted: new owner for Mac apps

2013-05-07 Thread Steven Degutis
od to go. 4. Found some stray reviews from a few months ago. Put them in the README for easy finding. 5. Trying to figure out how to take apps down from the Mac App Store, once they're down I'll ping the final pong to this list. -Steven On Tue, May 7, 2013 at 9:32 AM, Steven Degutis wro

Re: Wanted: new owner for Mac apps

2013-05-07 Thread Steven Degutis
Ok. On Tue, May 7, 2013 at 9:38 AM, Tom von Schwerdtner wrote: > On Tue, May 7, 2013 at 9:54 AM, Steven Degutis wrote: >> >> These ones: https://github.com/sdegutis/grs >> >> (...) >> >> For the curious, I'm giving them away because >> &

Re: Wanted: new owner for Mac apps

2013-05-07 Thread Steven Degutis
Also, I've just updated the README to include all sorts of pertinent information. Please consult it for important details on each app. On Tue, May 7, 2013 at 9:08 AM, Steven Degutis wrote: > Alternatively, anyone and everyone is welcome to fork these apps, or > do whatever you wan

Re: Wanted: new owner for Mac apps

2013-05-07 Thread Steven Degutis
Alternatively, anyone and everyone is welcome to fork these apps, or do whatever you want with them. I'm releasing all of that repo under the MIT license. Give them away for free, sell them, whatever, I don't care. On Tue, May 7, 2013 at 8:54 AM, Steven Degutis wrote: > Thes

Wanted: new owner for Mac apps

2013-05-07 Thread Steven Degutis
These ones: https://github.com/sdegutis/grs They're a lovely little set of Mac apps. Most of them are on the App Store, and with absolutely no marketing they've been making about $42 per month. I'm sure with marketing they'll do much better. This repo also includes AppGrid, which had a huge cult

Re: Showing numpad key equivs in menu items

2013-05-06 Thread Steven Degutis
Part of the territory. Apple "knows better than you", thus so do its fanboys. On Mon, May 6, 2013 at 10:20 PM, Steve Mills wrote: > On May 6, 2013, at 16:58:10, gweston wrote: > >> In light of the great opportunity for user confusion - because a little >> rectangle around the number is hardly a

Re: Enable Unique Selection

2013-05-03 Thread Steven Degutis
Personally I would just use the value transformer approach. It's easy, obvious, and discoverable. Any other solution I can think up with would be lacking in at least one of these. I actually find value transformers to be super helpful when working with bindings. I've used one for an empty string (t

Re: Is FSEvents more efficient than polling?

2013-04-28 Thread Steven Degutis
thing I would consider, as you're talking > about reading, which should be considered harmless (in the physical sense, > not the performance point of view) > > -Michael > > On 28.04.2013, at 19:43, Steven Degutis wrote: > >> There is a library I'm using

Is FSEvents more efficient than polling?

2013-04-28 Thread Steven Degutis
There is a library I'm using that is reading a list of files every 0.5 seconds and watching for the last-modified attribute to change. Is this less efficient than using FSEvents? If so, how? For example, will it weak down the HDD or SSD faster? Run the battery of my laptop out sooner? Some other w

Re: ^Block statement considered harmful for callbacks?

2013-04-25 Thread Steven Degutis
Using blocks with ARC just requires more discipline, that's all. It isn't to be avoided, just carefully thought about at the appropriate times. On Thu, Apr 25, 2013 at 6:07 AM, Oleg Krupnov wrote: > The compiler indeed warns, but only for ARC projects, and for non-ARC > projects it perfectly all

Re: ANN: new open-source window manager for OS X

2013-04-18 Thread Steven Degutis
github.com/sdegutis/windowsapp/wiki/AppGrid-config [3] http://giantrobotsoftware.com/appgrid [4] https://github.com/sdegutis/home/blob/master/.windowsapp.coffee#L13 -Steven On Thu, Apr 18, 2013 at 7:21 PM, Graham Cox wrote: > Fantastic! What does it do? > > --Graham > > > On 18

Re: ANN: new open-source window manager for OS X

2013-04-18 Thread Steven Degutis
True, but I'm confident they don't care. :) On Thu, Apr 18, 2013 at 1:00 AM, Charles Srstka wrote: > On Apr 17, 2013, at 11:44 AM, Steven Degutis wrote: > > Called Windows.app. > > > ... I think someone may have used the name &quo

ANN: new open-source window manager for OS X

2013-04-17 Thread Steven Degutis
Called Windows.app. Source is on github: https://github.com/sdegutis/windowsapp What's particularly neat about it is how you configure it. It looks for a dotfile in your home dir, which can either be JavaScript or CoffeeScript. In this config file you, bind your hot keys as you want, using a very

Re: Any frameworks for Leopard's Spaces?

2010-04-05 Thread Steven Degutis
or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This

Re: Best book for learning Objective c and cocoa

2010-03-31 Thread Steven Degutis
tors at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thoughtfultree.com/ http://www.degu

Re: Cocoa sometimes raises "minor" exceptions without logging them

2010-03-17 Thread Steven Degutis
I usually add a breakpoint on objc_exception_throw. Not sure how much of a difference it makes... but yeah, I agree. -Steven On Wed, Mar 17, 2010 at 12:55 PM, Jerry Krinock wrote: > > Apparently, Cocoa sometimes raises "minor" exceptions without logging them, > so it's good idea to set a breakp

Re: app window that doesn't deactive the current app

2010-03-16 Thread Steven Degutis
pple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > >

Re: Nil items in NSMutableSet

2010-03-16 Thread Steven Degutis
coa-dev@lists.apple.com) >> >> Please do not post admin requests or moderator comments to the list. >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/cocoa-dev/

Re: Cut and paste out of/ into text fields in a separate window doesn't work

2010-03-16 Thread Steven Degutis
otentially confusing plugin authors, and possibly even newer users. -Steven On Mon, Mar 15, 2010 at 2:27 PM, Don Quixote de la Mancha < quix...@dulcineatech.com> wrote: > On Mon, Mar 15, 2010 at 10:15 AM, Steven Degutis > wrote: > > In my experience, Firefox (and thus > > prob

Re: Cut and paste out of/ into text fields in a separate window doesn't work

2010-03-15 Thread Steven Degutis
> > 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 cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mail

Re: death in dealloc

2010-03-13 Thread Steven Degutis
list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.th

Re: Is kCAOnOrderOut too good to be true?

2010-03-09 Thread Steven Degutis
the past but gave up as the animation was > optional. > > Regards, > Jon > > On Mar 6, 2010, at 11:01 PM, Steven Degutis wrote: > > > This seems to suggest that the presentation layer has something to do > with > > solving this issue, if it can be solved at all (

Re: WebView refresh problem

2010-03-09 Thread Steven Degutis
s or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to

Re: Is kCAOnOrderOut too good to be true?

2010-03-06 Thread Steven Degutis
n returned given kCAOnOrderOut, it would be appreciated. -Steven On Sat, Mar 6, 2010 at 7:18 PM, Kyle Sluder wrote: > On Sat, Mar 6, 2010 at 3:08 PM, Steven Degutis > wrote: > > I've been reading the docs for Core Animation, specifically about > > layer-actions,

Is kCAOnOrderOut too good to be true?

2010-03-06 Thread Steven Degutis
Hi all, I've been reading the docs for Core Animation, specifically about layer-actions, and it mentions a constant called kCAOnOrderOut which is supposedly called when your layer is removed from its superlayer (or hidden). However, if it's removed from superlayer, the animation returned for the k

Re: Converting a Cocoa Application project to a document-based one

2010-03-05 Thread Steven Degutis
v-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/

Re: Uninitialized rectangle??

2010-03-04 Thread Steven Degutis
I'd just like to hear the arguments for it before proceeding. > > >> >> On Thu, Mar 4, 2010 at 1:05 PM, fabian wrote: >> >>> On Thu, Mar 4, 2010 at 6:50 PM, Steven Degutis >> > wrote: >>> >>>> Are you sure that your NSStatusBar or

Re: Uninitialized rectangle??

2010-03-04 Thread Steven Degutis
Right. Have you tried the solution I proposed in the /very first reply/ to this thread? -Steven On Thu, Mar 4, 2010 at 1:05 PM, fabian wrote: > On Thu, Mar 4, 2010 at 6:50 PM, Steven Degutis > wrote: > >> Are you sure that your NSStatusBar or NSStatusItem instances are nil,

Re: Uninitialized rectangle??

2010-03-04 Thread Steven Degutis
; > 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 cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/

Re: Uninitialized rectangle??

2010-03-03 Thread Steven Degutis
not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@g

Re: Windows and nibs and dialogs, oh my!

2010-03-02 Thread Steven Degutis
> > 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 cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.co

Re: what is a bindings pattern to check for a non-empty selection?

2010-03-02 Thread Steven Degutis
; 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 cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/co

Re: NSForegroundColorAttributeName without AppKit

2010-03-01 Thread Steven Degutis
coa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.de

Re: Forcing the package bit

2010-03-01 Thread Steven Degutis
ption: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ ___ Cocoa-dev mailing list

Re: NSViewAnimation vs Distributed Notification: Bug?

2010-02-27 Thread Steven Degutis
t)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ ___

Re: How to get my application version from inside my code?

2010-02-27 Thread Steven Degutis
m) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This

Re: NSMenuItem Action

2010-02-27 Thread Steven Degutis
list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com >

Re: NSButton and NSEvent

2010-02-27 Thread Steven Degutis
t; Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thoughtfu

Re: Webview and dynamic content

2010-02-27 Thread Steven Degutis
p/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ ___

Re: Setting parent window

2010-02-26 Thread Steven Degutis
-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/stev

Re: Removing quit button from dock menu

2010-02-24 Thread Steven Degutis
_ > > 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 cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman

Re: Removing quit button from dock menu

2010-02-23 Thread Steven Degutis
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thou

Re: Help with creating CustomViews

2010-02-23 Thread Steven Degutis
nri Duteau wrote: > > On 2010-02-19, at 6:55 AM, Steven Degutis wrote: > > > It sounds a lot to me (and I could be wrong here) that you're trying to > implement something along the lines of an ActiveX control as they were back > when I used Visual Basic 5, in the sense that yo

Re: Removing quit button from dock menu

2010-02-22 Thread Steven Degutis
at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/

Re: Help with creating CustomViews

2010-02-19 Thread Steven Degutis
___ > > 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 cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/ma

Re: what is a bindings pattern to check for a non-empty selection?

2010-02-19 Thread Steven Degutis
list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.t

Re: Proper way to initialize application support file

2010-02-17 Thread Steven Degutis
le.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ _

Re: Dynamically populate a popup menu

2010-02-17 Thread Steven Degutis
ee NSMenuDelegate protocol. > There is some method to dynamically populate the menu. > > Le 17 févr. 2010 à 16:09, Steven Degutis a écrit : > > > Check out NSPopUpButton's NSPopUpButtonWillPopUpNotification > > > > On Wed, Feb 17, 2010 at 2:49 AM, Peter N Lewis >

Re: Dynamically populate a popup menu

2010-02-17 Thread Steven Degutis
ests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com >

Re: alternative to NSMatrix due to cell size restriction

2010-02-17 Thread Steven Degutis
om) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This emai

Re: Validation error after setting the value of a boolean attribute

2010-02-16 Thread Steven Degutis
time, if you look at the header of your file, it tells you what types you should use as arguments to methods, and what types to expect as return values. Steven Degutis Software Engineer Big Nerd Ranch, Inc. http://www.bignerdranch.com/ On Tue, Feb 16, 2010 at 5:35 PM, Lynn Barton wrote: > Why

Re: Bind to string (path), convert to NSImage

2010-02-15 Thread Steven Degutis
; http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ ___ Cocoa-dev mailing list (Cocoa-de

Re: Executing shell script with root privilege

2010-02-15 Thread Steven Degutis
t.com/> > > > > > > > > > ___ > > 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 cocoa-dev-admins(at)lists.a

Re: Dock position and size

2010-02-14 Thread Steven Degutis
and will) resize the dock on a whim > - users can (and will) change their dock hiding settings regularly > (particularly those on lower res screens such as laptops or older machines) > > Of course if you're just trying to do this for an app for yourself go nuts! > > Matt

Re: Dock position and size

2010-02-14 Thread Steven Degutis
-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ _

Re: SetFrontProcessWithOptions and NSPanel

2010-02-14 Thread Steven Degutis
cription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ ___ Cocoa-dev mailing list (Cocoa-dev@l

cocoa-dev@lists.apple.com

2010-02-13 Thread Steven Degutis
the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www

Re: Connected Objects being allocated

2010-02-13 Thread Steven Degutis
loads. I thought I > had an idea of what happens, but maybe not completely. I am sure I will be > back with more questions. Thanks again. > > Don > > On Feb 12, 2010, at 7:06 PM, Steven Degutis wrote: > > > Don, > > > > Your first snippet of code is great a

Re: setWidth pop-up list of NSComboBox

2010-02-13 Thread Steven Degutis
/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: warning when setting the delegate of SpeechSynthesizer

2010-02-12 Thread Steven Degutis
as written. Steven Degutis Software Engineer Big Nerd Ranch, Inc. http://www.bignerdranch.com/ On Fri, Feb 12, 2010 at 9:22 PM, Martin Beroiz wrote: > > OMG, I'm sorry I just found that I should add > next to the class definition. > Disregard my last message. > > (I wonder why he

Re: Connected Objects being allocated

2010-02-12 Thread Steven Degutis
t; > @end > > I have no idea what I am doing wrong. Any help would be most appreciated. > Thanks in advance. > > Don Klett > > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >

Re: Cocoa-based GPS framework?

2010-02-12 Thread Steven Degutis
quests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com >

Re: NSArray (unique Items matching x)

2010-02-10 Thread Steven Degutis
e list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thou

Re: Socket Blocking Question

2010-01-20 Thread Steven Degutis
t; selector or object is returned or is it ? > If this is done on a public service (web server or other), couldn't code > injection be too easilly done that way ? (easy hacking, wilfull crash etc) ? > > > Le 20 janv. 2010 à 19:47, Steven Degutis a > écrit : > > Oo

Re: Socket Blocking Question

2010-01-20 Thread Steven Degutis
No check is done on what > selector or object is returned or is it ? > If this is done on a public service (web server or other), couldn't code > injection be too easilly done that way ? (easy hacking, wilfull crash etc) ? > > > Le 20 janv. 2010 à 19:47, Steven Degu

Re: Socket Blocking Question

2010-01-20 Thread Steven Degutis
>> >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/cocoa-dev/cepakare%40gmail.com >> >> This email sent to cepak...@gmail.com >> > ___ > > Cocoa-dev mailing list (Cocoa-dev@l

Re: Socket Blocking Question

2010-01-20 Thread Steven Degutis
rinkName:)] >} > } > > -(void)didFetchDrinkName:(NSString *)name > { >NSLog(@"Drink name is %@", name); > } > > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > &g

Re: Socket Blocking Question

2010-01-20 Thread Steven Degutis
this. -Steven On Wed, Jan 20, 2010 at 1:32 PM, Carter R. Harrison wrote: > > On Jan 20, 2010, at 1:40 PM, Steven Degutis wrote: > > Recently I had the same issue you were having, sort of. And I came up with > a solution I really liked. > > When I was playing with Distributed Object

Re: Socket Blocking Question

2010-01-20 Thread Steven Degutis
Oops, correction: the downside is that all arguments and return values need to conform to NSCoder protocol. So, it's even more strict than I described earlier. But it's still cool :) -Steven On Wed, Jan 20, 2010 at 12:40 PM, Steven Degutis wrote: > Recently I had the same issue yo

Re: Socket Blocking Question

2010-01-20 Thread Steven Degutis
{ >NSLog(@"Drink name is %@", name); > } > > ___ > > 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 cocoa-dev-a

Screwy Binding/KVO

2009-12-11 Thread Steven Degutis
yPath :keyPath]); } @end This is the output: *2009-12-11 11:10:02.139 ScrewyKVO[21311:a0f] mark 1* *2009-12-11 11:10:02.515 ScrewyKVO[21311:a0f] observing keypath [content] == [(* *)]* *2009-12-11 11:10:02.516 ScrewyKVO[21311:a0f] mark 2* *2009-12-11 11:10:02.521 ScrewyKVO[21311:a0f] mark 3*

Re: How can we draw a horizontal line with embossing effect?

2009-09-10 Thread Steven Degutis
Arun, It's just two lines drawn on top of one another, with the top one darker than the background and the bottom one lighter. I use it in my Preference panels all the time. -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ On Thu, Sep 10, 2009 at 4:15 AM, Arun

Re: NSTableView doesn't increase the number of elements in table?

2009-09-08 Thread Steven Degutis
t somewhere. But remember, use NSArrayController, not manual bindings, when using Core Data. (Usually.) -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ On Tue, Sep 8, 2009 at 9:55 AM, Rui Pacheco wrote: > Hi all, > I've an NSTableView that uses the controller object

Re: NSArray EXEC_BAD_ACCESS when initalized with strings

2009-09-08 Thread Steven Degutis
For some reason, I really doubt that the creation of the NSArray is causing this exception. Have you run this through the debugger and verified this is the exact line that throws the exception? And is that the exact line of code? -- Steven Degutis http://www.thoughtfultree.com/ http

Re: Problem with LSSharedFileListInsertItemURL() usage. (API in LaunchServices/LSSharedFileList.h)

2009-09-07 Thread Steven Degutis
t had no Dock icon, and only used status bar items.) -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ On Mon, Sep 7, 2009 at 6:10 AM, Parimal Das wrote: > Hello all, > > I am trying to do the following- "when my app is used for the first > time -

Re: mouseDown Event Position Accuracy (was: NSString drawAtPoint and vertical font alignment)

2009-09-07 Thread Steven Degutis
, and see if it is acting "as expected" at that point, by appearing to register clicks inside the bounds and not outside. -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ On Mon, Sep 7, 2009 at 11:19 AM, Stephen Blinkhorn < stephen.blinkh...@audiospillage.co

Re: Making an NSAlert be displayed when the User attempts to delete a row from an NSOutlineView when it has children.

2009-09-07 Thread Steven Degutis
rt has come back positive (for chlamydia). -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ On Mon, Sep 7, 2009 at 10:14 AM, Joshua Garnham wrote: > How would I do this? > The Outline View is being used with Core Data. > > Cheers, > Josh. > > > > >

Re: completion handlers?

2009-09-06 Thread Steven Degutis
C and/or Cocoa, but never heard of Blocks before. Here's the link: http://www.degutis.org/dev/2009/08/30/beginners-guide-to-blocks-in-cocoa/ In a nutshell, Blocks are very simple, and greatly improve your code's readability and maintainability. (And yes, they work for C as well as Obj

Re: NSArrayController design/usage question

2009-09-06 Thread Steven Degutis
our example of Now Playing, since it has less to do with your model itself, but it works fairly well when you have a property derived from other properties on your Entity. -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ On Sun, Sep 6, 2009 at 10:41 AM, Gregory Holden w

Re: NSMenuItem font size of the keyboard shortcut text

2009-09-06 Thread Steven Degutis
n't bother trying, were I you. -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ On Sun, Sep 6, 2009 at 1:23 AM, aaron smith wrote: > Does anyone know of a way to change the font size of the keyboard > shortcut text in an NSMenuItem? > > I use NSAttributed

Re: crash question NSString

2009-09-05 Thread Steven Degutis
This error is not indicating that the receiver is invalid, but rather than your argument is nil. Thus, perform some kind of check to verify it's not nil, before passing it as an argument to the method, lest you get this error. -- Steven Degutis http://www.thoughtfultree.com/

Re: Easy Question re NSWindowController

2009-09-05 Thread Steven Degutis
indowNibName: and pass the name of this second NIB file you've just created. That's how I do it. -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ On Sat, Sep 5, 2009 at 7:42 AM, Brad Gibbs wrote: > I've done some testing, but I just can't make t

Re: Custom Window not receiving "full" shadow

2009-09-04 Thread Steven Degutis
Interestingly, after searching the NSWindow (and NSPanel) docs and google for like 5 minutes, I still can't figure out how to set this small shadow programmatically. Now I'm all curious! Anyone know? -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ On Fri, Sep

Re: Custom Window not receiving "full" shadow

2009-09-04 Thread Steven Degutis
Francisco, Generally this less pronounced shadow is produced by giving an NSPanel the "Utility" style in IB. As I've never had to do it programmatically, I don't know what the relevant method would be to set this style, but I'm sure it's a style on the NSWindow c

Re: Application main menu title behavior change in 10.6

2009-09-04 Thread Steven Degutis
t least look to see if this is possible using private APIs in AppKit. But that's just me... -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ On Fri, Sep 4, 2009 at 1:31 PM, Jim Turner wrote: > Hi all, > > I have an application (QuicKeys) that allows the us

  1   2   >