Re: complex views in a tableview

2008-02-27 Thread Sean McBride
it still do selection in terms of rows? -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

Re: complex views in a tableview

2008-02-29 Thread Sean McBride
guess your example is still the best starting point then. Thanks! -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec

Re: Setting the image of an NSPopUpButton in IB?

2008-03-03 Thread Sean McBride
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 McBride, B. Eng [EMAIL

Re: 10.5.2 release notes?

2008-03-06 Thread Sean McBride
-- 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.apple.com) Please do

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

2008-03-06 Thread Sean McBride
a look at: /Developer/Extras/PreferencePanes/Processor.prefPane It can turn off CPUs. -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer

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] Rogue Research

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

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

NSView enterFullScreenMode:withOptions: woes; window levels

2008-03-17 Thread Sean McBride
(NSFullScreenMode) enterFullScreenMode:withOptions:] () Thanks, -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

Re: Creating Custom Views in Interface Builder

2008-03-17 Thread Sean McBride
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. -- Sean McBride, B

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

2008-03-18 Thread Sean McBride
to the 'WindowTransitionEffect' type. :( -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

Re: enterFullScreenMode trouble

2008-04-04 Thread Sean McBride
to avoid that API. -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

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

2008-04-18 Thread Sean McBride
]]? 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 Mac Software Developer

Re: thread count problem

2008-04-21 Thread Sean McBride
/ Multithreading/CreatingThreads/chapter_4_section_4.html#//apple_ref/doc/ uid/2738-125024 -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer

Re: [Ann] DMG Canvas

2008-04-22 Thread Sean McBride
? :) -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev

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

2008-04-23 Thread Sean McBride
.). 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.xml -- Sean McBride, B. Eng

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

2008-04-23 Thread Sean McBride
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, -- Sean McBride

Re: Uniform Type Indicators

2008-04-25 Thread Sean McBride
. -- 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.apple.com) Please do

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

2008-05-06 Thread Sean McBride
' is an NSManagedObject subclass. Does one also have to implement valueForUndefinedKey: in this situation? I thought removing 'Raises For Not Applicable Keys' was supposed to be sufficient. Thanks, -- Sean McBride, B. Eng

Re: Resource fork metadata - max size?

2008-05-06 Thread Sean McBride
. 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, Canada

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

2008-05-07 Thread Sean McBride
) 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 Researchwww.rogue-research.com Mac Software

Re: NSWindow Centering Problem

2008-05-07 Thread Sean McBride
: http://en.wikipedia.org/wiki/Golden_ratio -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

Re: NSWindow Centering Problem

2008-05-07 Thread Sean McBride
. -- 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.apple.com) Please do not post

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

2008-05-07 Thread Sean McBride
it to the headers? Thanks, -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

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

2008-05-07 Thread Sean McBride
On 5/7/08 10:03 PM, Mike Abdullah said: On that one, I believe the docs to be wrong. I'd file a bug. Thanks for the confirmation. rdar://5919061. I wish the docs were right, that's the behaviour I wanted. :( -- Sean McBride, B. Eng

Re: Keys dependent on NSArrayController's selection

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

Re: Keys dependent on NSArrayController's selection

2008-05-08 Thread Sean McBride
On 5/8/08 1:45 PM, Dave Dribin said: On May 8, 2008, at 9:22 AM, Sean McBride wrote: On 5/8/08 1:53 AM, Dave Dribin said: For kicks, I did try peopleController.selectionIndex as well as peopleController.selectedObjects to no avail. So it seems you have observed the same as I

Re: Fullscreen on secondary displays

2008-05-14 Thread Sean McBride
bit. In 10.5, methods were added to NSView to support fullscreen, but they are buggy and do not support the various options that SetSystemUIMode provides. Do file a Radar. -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue

Core Data, SQL stores, and predicate restrictions

2008-05-16 Thread Sean McBride
/Departments scenario: if I try to fetch all employees that are in exactly 2 departments I use a fetch predicate of departments[SIZE] == 2 which works great everywhere except with the SQL store. I learnt this the hard way. Thanks, -- Sean

Re: if statement

2008-05-28 Thread Sean McBride
in just 32-bits - they just don't all fit!). And for that gcc has -Wfloat-equal Warn if floating point values are used in equality comparisons. -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research

Re: 10.5.3 Release Notes?

2008-05-29 Thread Sean McBride
Cocoa apps an exercise in failure)? If it was a show-stopper you filed a bug right? All you need to do therefore is email [EMAIL PROTECTED] and ask if bug #x is fixed in 10.5.3. Presto. -- Sean McBride, B. Eng [EMAIL

Re: Overlapping Extensions and UTIs in NSDocument

2008-05-29 Thread Sean McBride
and ask LS for the UTI of a file that has extension .mm and type 'FOO ' LS might return 'com.UTI1'. And please file a bug. Mine come back 'behaves as expected' so I think Apple needs convincing. -- Sean McBride, B. Eng

Re: 10.5.3 Release Notes?

2008-05-29 Thread Sean McBride
(that you outlined nicely). :) -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

Re: Ending Editing when Doc Saves?

2008-05-30 Thread Sean McBride
implementing that? Any suggestions are welcome. Are you using Core Data? Have you seen: http://developer.apple.com/releasenotes/Cocoa/CoreDataReleaseNotes/ index.html#//apple_ref/doc/uid/TP40006503-SW16 -- Sean McBride, B. Eng

NSPersistentDocument's metadata APIs, when can I set my metadata before saving?

2008-06-02 Thread Sean McBride
, -- 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

Re: NSColorWell and alpha

2008-06-02 Thread Sean McBride
but during runtime there isn't such. Is that bydesign or am I missing something? -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer

Re: Converting string to double: NSString or NSScanner

2008-06-02 Thread Sean McBride
. -- 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.apple.com) Please do not post

Re: Main window disappears. Sometimes.

2008-06-03 Thread Sean McBride
there either. Malloc Debug.app spews an unhelpful error when used with GC apps (it doesn't support them, though happily Instruments does). OTOH, the ref counting model has tonnes of helpful debugging aids and docs. -- Sean McBride, B. Eng

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

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

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

2008-06-04 Thread Sean McBride
://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 Researchwww.rogue-research.com Mac

Re: garbage collection and WebKit plugins

2008-06-04 Thread Sean McBride
is not dual mode. -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

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

2008-06-04 Thread Sean McBride
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. -- Sean McBride, B. Eng [EMAIL

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 marked a such in the documentation). I suppose

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 compiler

Re: disable manual resizing of NSWindow

2008-06-19 Thread Sean McBride
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 probably be more useful. -- Sean McBride, B. Eng [EMAIL PROTECTED

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 into

Re: Does this caution need fixed? (newb)

2008-07-03 Thread Sean McBride
(). -- 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

Re: NSSpeechSynthesizer and empty strings

2008-07-07 Thread Sean McBride
an example? Thanks, -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

Re: Guidelines for Cocoa frameworks supporting garbage collection?

2008-07-07 Thread Sean McBride
/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. -- Sean McBride, B. Eng

Re: garbage collection and NSConnection

2008-07-07 Thread Sean McBride
| OBJC_WAIT_UNTIL_DONE); -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

Re: NSSpeechSynthesizer lifetime and garbage collected (GC) applications

2008-07-11 Thread Sean McBride
to keep a strong reference until its finished speaking? Cheers, -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec

Re: Trashing files and undo

2008-07-14 Thread Sean McBride
to an AliasHandle as the third argument. Later, you can use FSResolveAlias() to get the FSRef back, and then you resolve the FSRef into a file path. Or you just use the NDAlias class: http://homepage.mac.com/nathan_day/pages/source.xml -- Sean

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 -- Sean

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

2008-07-15 Thread Sean McBride
, -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev

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

2008-07-16 Thread Sean McBride
your 'parent' property. I've blogged about doing this with drag and drop in core data and non- core data apps. http://espresso-served-here.com HTH Jon On 15 Jul 2008, at 22:59, Sean McBride [EMAIL PROTECTED] wrote: Hi all, I have an outlineview populated by binding to a treecontroller

Re: NSArraycontroller, Bindings nad NSTableview

2008-07-17 Thread Sean McBride
there. -- 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.apple.com) Please

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

2008-07-17 Thread Sean McBride
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 Researchwww.rogue-research.com Mac Software

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

2008-07-17 Thread Sean McBride
is _not_ 4294967295, it is -1. I wonder why they added encodeInt32:forKey: but not an unsigned version... -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software

Re: Breakpoints for CG* functions

2008-07-21 Thread Sean McBride
Maybe try breaking on 'printf' or 'write' even. In any case, since this is not a Cocoa question, try the Quartz list. :) -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue

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

2008-07-22 Thread Sean McBride
. -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev mailing list (Cocoa

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

2008-07-30 Thread Sean McBride
/TreeTestFullWidthBug.zip Anyone made full width cells work with bindings? Cheers, -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer

Re: Checking for hackintosh

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

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

2008-07-31 Thread Sean McBride
nothing in other cases, in which case the bindings system is still used, happily. PS: I filed rdar://6113109. Thanks, -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com

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

2008-08-04 Thread Sean McBride
this. -- 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.apple.com) Please do

Re: Colour of Symlink

2008-08-05 Thread Sean McBride
. -- 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

Re: GetDblTime, 64-bit, and cocoa

2008-08-05 Thread Sean McBride
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 Researchwww.rogue-research.com

Re: GetDblTime, 64-bit, and cocoa

2008-08-05 Thread Sean McBride
. 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éal, Québec, Canada

Re: How to debug a corrupted stack

2008-08-06 Thread Sean McBride
. -- 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.apple.com

Re: autorelease CGImageRef?

2008-08-07 Thread Sean McBride
: 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 Researchwww.rogue-research.com Mac

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 if the

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
to change those textfields to be bound to an NSController subclass. -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal

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. -- Sean

Re: Accessing memory of another application?

2008-08-12 Thread Sean McBride
... -- 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.apple.com) Please do

Re: DICOM images in Cocoa

2008-08-13 Thread Sean McBride
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 McBride, B. Eng

NSLocalizedString, genstrings, and Unicode

2008-08-15 Thread Sean McBride
in @ strings that NSLocalizedString/genstrings were updated as well. Cheers, -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal

Re: NSLocalizedString, genstrings, and Unicode

2008-08-15 Thread Sean McBride
, 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 correctly by genstrings, 'key' should not contain any high-ASCII characters. On 10.5.4 / Xcode 3.1, this does not seem

Re: NSLocalizedString, genstrings, and Unicode

2008-08-15 Thread Sean McBride
. -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev mailing

Re: Control-Click vs Right-Click in NSTableView

2008-08-20 Thread Sean McBride
/AppKit.html#NSTableView NSTableView/NSOutlineView - Contextual menu support NSTableView and NSOutlineView now have better contextual menu support... -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research

Re: !foo vs foo == nil

2008-08-21 Thread Sean McBride
a BOOL to YES. Anyone know of a way? -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

Re: !foo vs foo == nil

2008-08-21 Thread Sean McBride
-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 of nil fixes the warning. -- Sean McBride, B. Eng [EMAIL PROTECTED

Re: Preventing windows from being dragged

2008-08-25 Thread Sean McBride
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 Researchwww.rogue-research.com Mac

Re: understanding conversions between CF and NS datatypes

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

Re: How to create a GUID?

2008-09-08 Thread Sean McBride
. (You can pass null to NSMakeCollectable, but not to CFMakeCollectable). -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal

Re: No action msg after NSPathControl Choose

2008-09-10 Thread Sean McBride
]]; } -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev

Re: NSUInteger in for-loop?

2008-09-15 Thread Sean McBride
: 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 [EMAIL PROTECTED] Rogue Research

Re: NSUInteger in for-loop?

2008-09-15 Thread Sean McBride
; ... } -- 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
portable, I guess it doesn't matter. -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

Core Data and ordered relationships

2008-09-15 Thread Sean McBride
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, -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue

Re: structs in Mutable containers

2008-09-16 Thread Sean McBride
and pack them differently. -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

Re: structs in Mutable containers

2008-09-16 Thread Sean McBride
-- 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

Re: Core Data and ordered relationships

2008-09-16 Thread Sean McBride
employee; } It seems to mostly work, except for situations involving faults firing, in which case I get an exception about mutating while iterating. Cheers, -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research

Re: fullscreen quicktime across multiple monitors

2008-09-19 Thread Sean McBride
API for this. See NSView's enterFullScreenMode:withOptions: method. -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal

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 Research

setPrimitiveValue:forKey: and to-many relationships

2008-09-24 Thread Sean McBride
]; } Is that wrong? Thanks, [1] http://developer.apple.com/documentation/Cocoa/Reference/ CoreDataFramework/Classes/NSManagedObject_Class/Reference/ NSManagedObject.html#//apple_ref/occ/instm/NSManagedObject/ setPrimitiveValue:forKey: -- Sean

Re: setPrimitiveValue:forKey: and to-many relationships

2008-09-24 Thread Sean McBride
1.10 is generating code that incorrectly uses setPrimitiveValue:forKey: as originally described. Thanks Quincey! -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac

Re: setPrimitiveValue:forKey: and to-many relationships

2008-09-24 Thread Sean McBride
... -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev mailing

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: Should not use mogenerator in Mac OS 10.5+ ?

2008-10-05 Thread Sean McBride
mogenerator. -- Sean McBride, B. Eng [EMAIL PROTECTED] Mac Software Designer Montréal, Québec, Canada ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: Universal app fails on PPC.

2008-10-07 Thread Sean McBride
in the Get Info window? I would file a bug on that, since it can't work with GC apps. You can add the following to your Info.plist: keyLSRequiresNativeExecution/key true/ That should get rid of the checkbox. -- Sean

Re: In dealloc(): ref @property, Can I use property object = nil; vs [property object release]; ?

2008-10-08 Thread Sean McBride
). Cheers, -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

  1   2   3   4   5   6   7   8   9   10   >