Re: trying to glue a cocoa ui to a pthread application / subclassing nsview

2008-06-03 Thread Sean McBride
i-CH15-125024-BAJGFJED> -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québe

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread Sean McBride
ode that uses this: <http://www.mattballdesign.com/code/> Alas, TransitionWindow() is deprecated and not available in 64. So really I don't recommend it. -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Resea

Re: garbage collection and WebKit plugins

2008-06-04 Thread Sean McBride
apps. Probably the flash plugin is not dual mode. -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread Sean McBride
t; > [NSAnimationContext endGrouping]; >} That'll work, but in my experience if any of the controls in the window make use of 'autoresizing springs' then they will resize incorrectly if starting from a window size smaller that the control's minimum size. --

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread Sean McBride
On 6/4/08 10:18 AM, Stefan Werner said: >On Jun 4, 2008, at 8:24 AM, Sean McBride wrote: >> Alas, TransitionWindow() is deprecated and not available in 64. So >> really I don't recommend it. > >Technically speaking, it's not deprecated (at least it's not mark

Re: C99 [was: RESTful API's - Easy way to interact?]

2008-06-04 Thread Sean McBride
Jens Alfke ([EMAIL PROTECTED]) on 2008-6-4 9:18 PM said: >I'd recommend the latter. C99 is backward compatible has a lot of >useful additions to C. This topic came up recently on the xcode-users >list and I posted this plug: > >> *SNIP* >> >> And if that's not enough for you, you can set the c

Re: How to implement floating HUD on fullscreen NSOpenGLView ?

2008-06-17 Thread Sean McBride
is not going to happen. Sorry to bring bad news. :) Do file bugs. -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québe

Re: disable manual resizing of NSWindow

2008-06-19 Thread Sean McBride
t;it be much better to just set that up correctly instead of removing >the grow box? Well, the window can be told to keep an aspect ratio, but unless the QT view fills the entire window's content, it's not too useful. NSWindow's resize delegate methods would pr

Re: how to prevent sleep mode when app is running

2008-06-19 Thread Sean McBride
If you can require 10.5, then don't use UpdateSystemActivity(), instead, do this: IOPMAssertionID assertionID ; IOReturn err = IOPMAssertionCreate ( kIOPMAssertionTypeNoDisplaySleep, kIOPMAssertionLevelOn, &assertionID); On 6/12/08 12:34 PM, Hank Heijink (Mailinglists) said: >Look int

Re: Does this caution need fixed? (newb)

2008-07-03 Thread Sean McBride
eing returned from NSHomeDirectory(). -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___

Re: NSSpeechSynthesizer and empty strings

2008-07-07 Thread Sean McBride
ng semantically >null. Neat. Could you give an example? Thanks, -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Develope

Re: Guidelines for Cocoa frameworks supporting garbage collection?

2008-07-07 Thread Sean McBride
oc Debug, which just crashes). So if your code uses malloc/new/NewPtr of whatever, you'll have a hard time finding leaks. Also, I second the recommendation to stay away from finalize. I've used it exactly twice: 1) to call DisposeHandle() to 2) to call NSLog. -- _______

Re: garbage collection and NSConnection

2008-07-07 Thread Sean McBride
arted. There's always the lower-level: objc_collect (OBJC_EXHAUSTIVE_COLLECTION | OBJC_WAIT_UNTIL_DONE); -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-researc

Re: Any good advice for naming parameters of init methods?

2008-07-10 Thread Sean McBride
27;ve had this discussion before: <http://www.cocoabuilder.com/archive/message/cocoa/2008/4/3/203159> -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Ma

NSSpeechSynthesizer lifetime and garbage collected (GC) applications

2008-07-11 Thread Sean McBride
27;m_ finished with the speechSynthesizer. Thanks, -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev m

Re: Trashing files and undo

2008-07-11 Thread Sean McBride
to undo the trashing, a file of the same name as the trashed item is put in its old location. 1) that would cause the wrong alias resolution (since aliases resolve by path first) and 2) it would make restoring the trashed file tricky. I think it is very hard to get all the edge cases. Maybe if you

Re: NSSpeechSynthesizer lifetime and garbage collected (GC) applications

2008-07-11 Thread Sean McBride
hesizer. > >If I were you, I'd file a Bug. Meaning you agree with me that it shouldn't be my job to keep a strong reference until its finished speaking? Cheers, -- Sean McBride, B. Eng [EMAIL P

Re: garbage collection and NSConnection

2008-07-11 Thread Sean McBride
On 7/7/08 11:25 PM, Hamish Allan said: >On Mon, Jul 7, 2008 at 6:33 PM, Sean McBride <[EMAIL PROTECTED]> wrote: > >> There's always the lower-level: >> >>objc_collect (OBJC_EXHAUSTIVE_COLLECTION | >>OBJC_WAIT_UNTIL_DONE); > >If this were

Re: Trashing files and undo

2008-07-14 Thread Sean McBride
athan_day/pages/source.xml> -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev mailing list (Cocoa-dev@lists.a

Re: Trigonometric Problem, Particularly tan() Function

2008-07-14 Thread Sean McBride
On 7/13/08 2:53 PM, Graham Cox said: >Obviously the tan() function works as it should Not necessarily so obvious. :) The log10() function was broken in 10.5.2: <http://lists.apple.com/archives/scitech/2008/Mar/msg00032.html> --

Duplicate rows appearing in outlineview after creating new Entity in moc, why?

2008-07-15 Thread Sean McBride
ince if I close and reopen the window, only 1 new person is there. Thanks, -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research

Re: Duplicate rows appearing in outlineview after creating new Entity in moc, why?

2008-07-16 Thread Sean McBride
redicate in IB. Set the predicate to something like >parent==nil. This will obviously depend on what you've called your >'parent' property. > >I've blogged about doing this with drag and drop in core data and non- >core data apps. > >http://espresso-served-

Re: NSArraycontroller, Bindings nad NSTableview

2008-07-17 Thread Sean McBride
's action to the arraycontroller's add: method. No bindings there. -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada __

Re: NSViewController Binding Problem continued

2008-07-17 Thread Sean McBride
ue, and he worked around >it by using the awakefromNib method to bind the table to the >representedObject's arrangedObjects in code. I did something similar >using the windowDidLoad method. I'll have to try that... -- Se

Re: Sign extension in NSNumber / 10.4 SDK???

2008-07-17 Thread Sean McBride
or example, encodeInt32:forKey: but no unsigned equivalent. What should one do if one wants to encode a uint32? Are there sign extension dangers here? Cheers, -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research

Re: Sign extension in NSNumber / 10.4 SDK???

2008-07-17 Thread Sean McBride
decodeInt64ForKey:@"test"]; [unarchiver finishDecoding]; The value of output is _not_ 4294967295, it is -1. I wonder why they added "encodeInt32:forKey:" but not an unsigned version... -- Sean McBride,

Re: Breakpoints for CG* functions

2008-07-21 Thread Sean McBride
raise]+6> >2 breakpoint keep y CGPostError() > >Thanks for any tips Maybe try breaking on 'printf' or 'write' even. In any case, since this is not a Cocoa question, try the Quartz list. :) -- Se

Core Data and unsigned integer types, why are there none?

2008-07-22 Thread Sean McBride
you deal with this? If you need to model a uint32, do you use CD's sint32 and risk sign extension problems, or do you use uint64? Cheers, -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research

Re: Duplicate rows appearing in outlineview after creating new Entity in moc, why?

2008-07-22 Thread Sean McBride
confirmation of non- insanity. :) I've filed . -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada _

outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick.

2008-07-30 Thread Sean McBride
http://www.rogue-research.com/vtk/TreeTestFullWidthBug.zip> Anyone made full width cells work with bindings? Cheers, -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue

Re: Checking for hackintosh

2008-07-30 Thread Sean McBride
IMNSHO, you shouldn't try to detect such things. -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal

Re: outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick.

2008-07-30 Thread Sean McBride
t >case. Have you tried manually handling the updates yourself w/the >datasource method? I haven't tried that, but I will. So is what I'm seeing a bug? Should I file a radar? Thanks, -- _

Re: outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick.

2008-07-31 Thread Sean McBride
mn:byItem: and test for the same conditions I use to make a row "full width" (nil tablecolumn etc). In such cases, I use the treenode's represented object (my model) and update it myself. I just do nothing in other cases, in which case the bindings system is still

Re: How to get the value of a NSNumber contained in an array while debugging ?

2008-08-04 Thread Sean McBride
ion if you want to decouple these; many Cocoa objects do this." -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

Re: Colour of Symlink

2008-08-05 Thread Sean McBride
just under FSPathMakeRef. -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-de

Re: GetDblTime, 64-bit, and cocoa

2008-08-05 Thread Sean McBride
round and have come to the same conclusion as you. It looks like it was deprecated without any replacement being added. You should definitely file a bug. -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research

Re: GetDblTime, 64-bit, and cocoa

2008-08-05 Thread Sean McBride
supported API. Still, for 64 bit, I guess it's the only choice. -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montr

Re: How to debug a corrupted stack

2008-08-06 Thread Sean McBride
3 if you suspect a compiler bug. -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Co

Re: autorelease CGImageRef?

2008-08-07 Thread Sean McBride
/Users/sean/Desktop/test.m:8: warning: cast discards qualifiers from pointer target type I suspect that's why the NS version was later added. -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research

Does NSTextField conform to NSEditor (commitEditing specifically)?

2008-08-07 Thread Sean McBride
s protocol, as do the Application Kit user interface elements that support binding." So shouldn't NSTextField respond to commitEditing? And yet I get: "-[NSTextField commitEditing]: unrecognized selector sent to instance" Huh? -- __________

Re: How to debug a corrupted stack

2008-08-07 Thread Sean McBride
Gerriet M. Denkmann ([EMAIL PROTECTED]) on 2008-8-8 9:49 PM said: > some_type a; > NSValue *data = [ NSValue value: &a withObjCType: @encode >(some_type) ]; >followed by: > some_type b; > [ data getValue: &b ]; >is unsafe, dangerous and strictly to be avoided - especially

Re: Does NSTextField conform to NSEditor (commitEditing specifically)?

2008-08-07 Thread Sean McBride
Joel Norvell ([EMAIL PROTECTED]) on 2008-8-7 7:07 PM said: >I'm no expert on the "NSEditor informal protocol," but there was a >recent thread in which Ken Thomases reply (which I've quoted below) >might be of help to you. > >http://www.cocoabuilder.com/archive/message/cocoa/2008/7/25/214002 Joel,

Re: Why use NSObjectController?

2008-08-11 Thread Sean McBride
lly invoked on user interface elements"). I believe I'll need to change those textfields to be bound to an NSController subclass. -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research

Re: Memory Leaks & Instruments Questions

2008-08-11 Thread Sean McBride
On 8/10/08 8:37 PM, Michael Kaye said: >I've ben running my app with leaks in Instruments and it is reporting >a fair number of leaks. Is your app garbage collected? Instruments reports many many false positives in GC apps. -- __

Re: Accessing memory of another application?

2008-08-12 Thread Sean McBride
per of both apps? If so, google "shmget" for starters... -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada __

Re: DICOM images in Cocoa

2008-08-13 Thread Sean McBride
VTK has an NSView subclass that can display any content that VTK can render, including DICOM. Alas, VTK's DICOM support is somewhat lacking, but may be sufficient for your purposes. ITK has much better DICOM support. -- ________ Sean

NSLocalizedString, genstrings, and Unicode

2008-08-15 Thread Sean McBride
5 now allows UTF8 in @"" strings that NSLocalizedString/genstrings were updated as well. Cheers, -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-resea

Re: NSLocalizedString, genstrings, and Unicode

2008-08-15 Thread Sean McBride
ep your constant strings ASCII-only for >performance. Well, performance is secondary to correctness. Thanks, Sean >Aki > >On 2008/08/15, at 12:09, Sean McBride wrote: > >> Hi all, >> >> The docs for NSLocalizedString() say "In order to be parsed >> c

Re: NSLocalizedString, genstrings, and Unicode

2008-08-15 Thread Sean McBride
for updating the doc. Will do. -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___

Re: Control-Click vs Right-Click in NSTableView

2008-08-20 Thread Sean McBride
releasenotes/Cocoa/AppKit.html#NSTableView> "NSTableView/NSOutlineView - Contextual menu support NSTableView and NSOutlineView now have better contextual menu support..." -- ____ Sean McBride, B. Eng [EMAIL

Re: !foo vs foo == nil

2008-08-21 Thread Sean McBride
no compiler flag to catch comparing a BOOL to YES. Anyone know of a way? -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer

Re: How to enumerate directory contents?

2008-08-21 Thread Sean McBride
as the user expects (case sensitivity, Unicode decomposition, etc.) -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer

Re: !foo vs foo == nil

2008-08-21 Thread Sean McBride
oo = [NSArray arrayWithObjects:@"foo", @"bar", nil]; return 0; } -- $ g++-4.2 -Wformat=2 -Wstrict-null-sentinel /Users/sean/Desktop/test.mm /Users/sean/Desktop/test.mm:5: warning: missing sentinel in function call using "(id)nil" in place

Re: Preventing windows from being dragged

2008-08-25 Thread Sean McBride
, but once you want to do something non-trivial they become not so useful. You can't get the menu bar and dock to appear on roll-over, etc., etc. (see archives.) -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue R

Re: understanding conversions between CF and NS datatypes

2008-09-04 Thread Sean McBride
ot easier. -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___

Re: How to create a GUID?

2008-09-08 Thread Sean McBride
pass null to CFRelease(). So an "if (uuidRef)" is needed. (You can pass null to NSMakeCollectable, but not to CFMakeCollectable). -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research

Re: No action msg after NSPathControl "Choose"

2008-09-10 Thread Sean McBride
:[self action] to:[self target]]; } -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada _

Re: NSUInteger in for-loop?

2008-09-15 Thread Sean McBride
an/Desktop/test.m: In function 'main': /Users/sean/Desktop/test.m:7: warning: comparison of unsigned expression >= 0 is always true Turn on those compiler warnings! :) -- ________ Sean McBride, B. Eng

Re: NSUInteger in for-loop?

2008-09-15 Thread Sean McBride
do: - (IBAction)handleButton:(id)sender { (void)sender; ... } -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Sof

Re: NSUInteger in for-loop?

2008-09-15 Thread Sean McBride
es/carbon-dev/2005/Dec/msg00402.html> '#pragma unused' will cause some compilers to warn "unknown pragma". Though, since this is the Cocoa list, and Cocoa is not really portable, I guess it doesn't matter. -- Sea

Core Data and ordered relationships

2008-09-15 Thread Sean McBride
etc. in my NSManagedObject subclass? I want to be able to bind NSViews using 'employeeX' in the keypath. For example, I'd like to bind an NSTextfield's value to departmentController.employee3.fullName. Thanks, -- ________

Re: structs in Mutable containers

2008-09-16 Thread Sean McBride
ly) to align and pack them differently. -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal

Re: structs in Mutable containers

2008-09-16 Thread Sean McBride
nter will break strict- aliasing rules This is what I was remembering: <http://www.cellperformance.com/mike_acton/2006/06/ understanding_strict_aliasing.html#introduction> -- Sean McBride

Re: structs in Mutable containers

2008-09-16 Thread Sean McBride
; CGPoint cg;}; return ((union _ *)&nspoint)->cg; } -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac So

Re: Core Data and ordered relationships

2008-09-16 Thread Sean McBride
{ employee = anEmployee; break; } } [self didAccessValueForKey:@"employee1"]; return employee; } It seems to mostly work, except for situations involving faults firing, in which case I get an exception

Re: fullscreen quicktime across multiple monitors

2008-09-19 Thread Sean McBride
>> right direction? (or has this already been done?) Its for personal >>> use and not distribution so min specs 10.5.5 etc. is fine. >> >> Leopard introduced a new API for this. See NSView's >> enterFullScreenMode:withOptions: method. --

Re: Creating alias programatically

2008-09-23 Thread Sean McBride
Chaitanya, If you're working with aliases and Cocoa, take a look at the free NDAlias classes. There are even methods to create alias files. -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Res

setPrimitiveValue:forKey: and to-many relationships

2008-09-24 Thread Sean McBride
SManagedObject.html#//apple_ref/occ/instm/NSManagedObject/ setPrimitiveValue:forKey:> -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

Re: setPrimitiveValue:forKey: and to-many relationships

2008-09-24 Thread Sean McBride
lue]; [self didChangeValueForKey:@"children" withSetMutation:NSKeyValueSetSetMutation usingObjects:value_]; } The reason I bring this up, is because I noticed that mogenerator 1.10 is generating code that incorrectly uses setPrimitiveValue:forKey: as originally describe

Re: setPrimitiveValue:forKey: and to-many relationships

2008-09-24 Thread Sean McBride
SW6> Surely their example would not screw up inverse relationships, since they also recommend one always have inverses... -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researc

Re: NSDate/Tokens for Calendar Format String Question

2008-09-24 Thread Sean McBride
Eric Lee ([EMAIL PROTECTED]) on 2008-9-24 10:21 PM said: >I have a problem. Basically, I want to take the time, and set the text >field to that time, only the time with 12 Hours. How do you do this? Have you read about NSDateFormatter? ___ Cocoa-dev

Re: Setting the image of an NSPopUpButton in IB?

2008-03-03 Thread Sean McBride
n inspector slices based on what the subclasses respond to - we have no means to validate that or support it long term. As a result, this is a duplicate of the bug we have to track this difference, Bug ID# 5024840." -- ____ Sean M

Re: Localise between different versions of English

2008-03-04 Thread Sean McBride
re's also Canadian English (en_CA), and perhaps others too... -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Dev

Re: 10.5.2 release notes?

2008-03-06 Thread Sean McBride
apple.com/technotes/tn2002/tn2053.html> -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-de

Re: Interface to shut down cores and/or processors?

2008-03-06 Thread Sean McBride
suming you're on 10.5, take a look at: /Developer/Extras/PreferencePanes/Processor.prefPane It can turn off CPUs. -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-res

Re: force NSTextField to accept only Roman, or the other character codes

2008-03-10 Thread Sean McBride
y Roman Characters', maybe that will help? -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Coc

Re: FSFindFolder vs NSSearchPathForDirectoriesInDomains

2008-03-10 Thread Sean McBride
a bug in 2004 , so I wouldn't hold my breath. :) -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-de

Re: [Moderator] iPhone discussion here.

2008-03-10 Thread Sean McBride
On 3/10/08 6:11 PM, Scott Anguish said: >Questions and comments should be sent to the [EMAIL PROTECTED] > as usual Small typo: plural lists: <[EMAIL PROTECTED]> -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Ro

Re: NSTableView + delete button?

2008-03-12 Thread Sean McBride
This works, but >reminds me of BASIC...Is there a better way to do this, to make sure I'm >getting the delete key, say even on international keyboards? See NSResponder's deleteBackward: method and docs. -- ____ Sean Mc

Re: Convert NSString to FSRef

2008-03-17 Thread Sean McBride
onvert to and from: url, fsref, fsspec, path, alias, etc. It is GC and 64 bit aware too. <http://homepage.mac.com/nathan_day/pages/source.xml> -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research

Equivalent to Carbon's TransitionWindow(); using genie when opening an NSWindow

2008-03-17 Thread Sean McBride
.5? Could Core Animation accomplish this? Thanks, -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal,

NSView enterFullScreenMode:withOptions: woes; window levels

2008-03-17 Thread Sean McBride
lScreens:] () #7 0x96ac7464 in -[NSView(NSFullScreenMode) enterFullScreenMode:withOptions:] () Thanks, -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Develop

Re: Creating Custom Views in Interface Builder

2008-03-17 Thread Sean McBride
that relies on Garbage Collection. Also worth noting that IB3 plugins must also be 32 bit, though this is probably less of a problem in practice. Still, if you plan to write 64 bit and GC only, IB3 plugins can be somewhat annoying to support. -- _______

Re: NSView enterFullScreenMode:withOptions: woes; window levels

2008-03-18 Thread Sean McBride
en instead of using using SetSystemUIMode(). Pity. >You might alternately try to set the window level on your floating >palette instead, ie. [paletteWindow setLevel:kCGMaximumWindowLevel]. Yes, that is my current workaround. Thanks, --

Re: Equivalent to Carbon's TransitionWindow(); using genie when opening an NSWindow

2008-03-18 Thread Sean McBride
nothing. But alas there is nothing analogous to the 'WindowTransitionEffect' type. :( -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software D

Re: To get machine type (ppc, intel)

2008-03-19 Thread Sean McBride
r.h, it has all you need. -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev

Re: enterFullScreenMode trouble

2008-04-04 Thread Sean McBride
ou might search the archives for other reasons to avoid that API. -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software D

Getting an array/tree controller to select newly added managed objects

2008-04-18 Thread Sean McBride
ManagedObject]]? If so, how do I do it in the tree controller case? There is no setSelectedObjects:. Thanks, -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Ma

Re: thread count problem

2008-04-21 Thread Sean McBride
tp://developer.apple.com/documentation/Cocoa/Conceptual/ Multithreading/CreatingThreads/chapter_4_section_4.html#//apple_ref/doc/ uid/2738-125024> -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research

Re: [Ann] DMG Canvas

2008-04-22 Thread Sean McBride
ht want to switch? :) -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada _

Re: Resource Fork - is this a good use/the right thing to do?

2008-04-23 Thread Sean McBride
ound longer (you could even copy them to a Classic system, or 10.0, etc.). The Resource Manager is not deprecated and is even available in 64 bit (unlike other parts of Carbon). NDResourceFork provides a nice Cocoa wrapper over the C APIs. See: <http://homepage.mac.com/nathan_day/pages/source.

awakeFromInsert rules: ok to fetch and create other managed objects?

2008-04-23 Thread Sean McBride
27; state. It seems the answer is no. 2) Is it ok to create other managed objects in awakeFromInsert? One might want to do this to set initial relationships. It seems the answer is yes. I'm hoping someone can confirm/deny these. Thanks, -- ____

Re: Uniform Type Indicators

2008-04-25 Thread Sean McBride
e's quicklook mailing list. -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev mailing list (Cocoa-

How to programmatically create an NSObjectController in Entity mode?

2008-04-29 Thread Sean McBride
s gives nil. What is the correct way to programmatically creates these things? Thanks, -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research

'Raises For Not Applicable Keys' not enough to step exception raises?

2008-05-06 Thread Sean McBride
g an NSException raised. It's raised from [Circle valueForUndefinedKey:]. 'Circle' is an NSManagedObject subclass. Does one also have to implement valueForUndefinedKey: in this situation? I thought removing 'Raises For Not Applicable Keys' was suppos

Re: 'Raises For Not Applicable Keys' not enough to step exception raises?

2008-05-06 Thread Sean McBride
even correctly shown in the textfield. But I still get the exception thrown by NSManagedObject's valueForUndefinedKey: The docs even say "The default implementation raises an NSUndefinedKeyException" which seems to be what I'm seeing, but I don't get why its happe

Re: Resource fork & metadata - max size?

2008-05-06 Thread Sean McBride
indeed. The folks on carbon-dev would know more... -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec,

NSArrayController's insert:, where should the new item go?

2008-05-07 Thread Sean McBride
that the actual behaviour (in 10.5.2) is to insert the new object _before_ the current selection. Is my app wonky? Are the docs so wrong? Thanks, -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research

Re: NSWindow Centering Problem

2008-05-07 Thread Sean McBride
;> somewhat above center vertically. [...] No doubt roughly at the golden ratio, for aesthetic pleasantness: <http://en.wikipedia.org/wiki/Golden_ratio> -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research

Re: NSWindow Centering Problem

2008-05-07 Thread Sean McBride
n constant, and contrast with kWindowCenterMainScreen. -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-de

<    3   4   5   6   7   8   9   10   11   12   >