I honestly wish that he had left them up or had allowed them to be
Archived. Those articles were invaluable back in the NeXT/OPENSTEP
days and they would certainly be valuable today.
GC
On Mon, Oct 17, 2011 at 2:23 PM, Charles Srstka
wrote:
> On Oct 17, 2011, at 4:37 AM, Mark Taeery wrote:
>
>>
Is there an effective way to be notified when the system goes into full screen
mode (on 10.6 and 10.7)? The only information I found on Google was from 2005
and earlier including Carbon event handlers which are deprecated now.
I ask because I have a user agent app (which floats above all windows
On Oct 17, 2011, at 2:23 PM, Charles Srstka wrote:
> On Oct 17, 2011, at 4:37 AM, Mark Taeery wrote:
>
>> Hi all,
>>
>> does anybody have a copy of the following article:
>>
>> http://www.stepwise.com/Articles/Technical/MemoryManagement.html
>>
>> archive.org appears not to have it.
>>
>> Tha
> -(void)mouseDragged:(NSEvent *)theEvent {
>NSPoint locationOnCanvas = [self convertPoint:[theEvent
> locationInWindow] fromView:nil];
>
> if(currentMouseMode == MMZooming) {
> *[self display]; //clear the previous "rectangle"
> [self lockFocus];
> [self drawRectUsingTwo
I had not, but now I have - it made no difference - I still got the same
cryptic error message.
Regards
Gideon
On 18/10/2011, at 11:29 AM, Graham Cox wrote:
>
> On 18/10/2011, at 12:27 PM, Gideon King wrote:
>
>> • The system interprets the exit status and attempts to obtain a valid
>> rece
On Oct 18, 2011, at 6:44 PM, Quincey Morris wrote:
> Absolutely. I'll add here that NSArrayControllers are basically glue, and not
> even (exactly) necessary glue. You can connect a table view directly to a
> data model, without using an array controller. All the array controller does
> is to
On Oct 18, 2011, at 5:01 PM, Keary Suska wrote:
> Well, "entries" in this case is redundant. If you subclass is designed to
> manage an array of "entries", then its content would simply be the array
> itself. There is no need to abstract it out by the key. In fact, it is a code
> smell to do s
FYI, I’m giving a live webcast with O’Reilly tomorrow about my current work
project — Couchbase Mobile. We’ve taken the tangy Apache CouchDB NoSQL database
engine, wrapped it in delicious Objective-C APIs, and packaged it in a
convenient no-mess framework that’s easy to drop into your iOS app. (
Thank you
2011/10/19 Fritz Anderson
> On 19 Oct 2011, at 12:41 PM, Nick wrote:
>
> > Could you advice me how to get rid of blinking in the following code?
> > This is an NSView's subclass, I am trying to draw a rectangle for zooming
> > (theoretically a user is supposed to be able to zoom in a p
On 19 Oct 2011, at 18:41, Nick wrote:
> Hello
> Could you advice me how to get rid of blinking in the following code?
> This is an NSView's subclass, I am trying to draw a rectangle for zooming
> (theoretically a user is supposed to be able to zoom in a piece of a view,
> by selecting a rectangle
On 19 Oct 2011, at 12:41 PM, Nick wrote:
> Could you advice me how to get rid of blinking in the following code?
> This is an NSView's subclass, I am trying to draw a rectangle for zooming
> (theoretically a user is supposed to be able to zoom in a piece of a view,
> by selecting a rectangle area
Hello
Could you advice me how to get rid of blinking in the following code?
This is an NSView's subclass, I am trying to draw a rectangle for zooming
(theoretically a user is supposed to be able to zoom in a piece of a view,
by selecting a rectangle area to zoom.
The problem is that when the mouse
Many thanks to all who responded. Here's a few resolutions for the archives:
1. CFType: cast to id and autorelease. Verdict: it is OK (under manual memory
management).
http://www.cocoabuilder.com/archive/cocoa/215004-autorelease-cgimageref.html
http://developer.apple.com/library/mac/#document
Check the nice clear tutorial at
http://www.mikeash.com/pyblog/friday-qa-2011-09-30-automatic-reference-counting.html
It spells out how to handle CF types in ARC.
On Oct 19, 2011, at 9:52 AM, Wade Tregaskis wrote:
>> Following Cocoa convention you'd want to cast it to what and autorelease it?
>
Thanks a lot Graham and John!
That did it :-)
2011/10/18 Graham Cox :
>
> On 18/10/2011, at 5:59 AM, John Pannell wrote:
>
>> Hi Nick-
>>
>> There is some composition of views needed to make this work. Within
>> GCDrawKit, find the GCZoomView class… make your custom view a subview of
>> this (
On Oct 19, 2011, at 6:24 AM, Roland King wrote:
> Following Cocoa convention you'd want to cast it to what and autorelease it?
> CGColorRef isn't toll-free bridged with anything. If you have been casting it
> to id and autoreleasing it you might have gotten away with that before but I
> don't
> Following Cocoa convention you'd want to cast it to what and autorelease it?
> CGColorRef isn't toll-free bridged with anything. If you have been casting it
> to id and autoreleasing it you might have gotten away with that before but I
> don't think it's documented anywhere you can do that wit
On Oct 19, 2011, at 8:04 AM, John Pannell wrote:
> I've got a category on NSColor to return a CGColor value. Source looks like
> this:
>
> - (CGColorRef)CGColor
> {
>NSColor *colorRGB = [self
> colorUsingColorSpaceName:NSCalibratedRGBColorSpace];
>CGFloat components[4];
>[colorRGB
Following Cocoa convention you'd want to cast it to what and autorelease it?
CGColorRef isn't toll-free bridged with anything. If you have been casting it
to id and autoreleasing it you might have gotten away with that before but I
don't think it's documented anywhere you can do that with CFType
Hi all-
I've got a category on NSColor to return a CGColor value. Source looks like
this:
- (CGColorRef)CGColor
{
NSColor *colorRGB = [self
colorUsingColorSpaceName:NSCalibratedRGBColorSpace];
CGFloat components[4];
[colorRGB getRed:&components[0] green:&components[1] blue:&compone
On 2011 Oct 18, at 21:58, Ken Thomases wrote:
> "Should" in what sense? It's a type indicator, that's why it starts with
> "type".
Well, it's an enum symbol in a system header. But forget it. I made a mistake
there. James was correct to begin with. It should be typeEventHotKeyID.
Sorry
On Mon, Oct 17, 2011 at 10:26 AM, Fritz Anderson wrote:
> On 15 Oct 2011, at 9:18 AM, Bill David wrote:
>
> > I need implement a UI as the following on my Mac OS 10.6:
> >
> > option 1
> >detailed configuration for option 1
> > option 2
> >detailed configuration for option 2
> > option 3
>
On Tue, Oct 18, 2011 at 6:26 AM, Jonathan Taylor wrote:
> Belated thanks for the various replies to my question. I'm working through
> the posted code and links now and looking at what I can learn from it. One
> query though:
>
> On 12 Oct 2011, at 16:42, Heinrich Giesen wrote:
> > Another rule of
23 matches
Mail list logo