On Feb 21, 2008, at 14:06, Ken Ferry wrote:
Hm, sorry if the docs confused you.. if you can point at the docs that
made you think this, it'd be great to have a bug.
There's:
On Feb 22, 2008, at 10:39, Jack Repenning wrote:
In the current structure, Controller performs
{
UI *ui = [[UI alloc] initWithContext: context];
[ui run: @selector(doSomething) title: @Title];
}
That is: the UI object is alloc'ed (creating a release obligation),
but is not (auto)released
In the following circumstances:
-- A NSTableView bound to a NSArrayController
-- The array controller has its Auto Rearrange Content checkbox set in
IB
-- The table view is sorted on a column
-- A cell in the sorted column is edited in place (i.e. within the
table view)
-- The contents of
On Feb 25, 2008, at 15:12, glenn andreas wrote:
And it actually hints to the contrary, since -tableColumns is
document to include the hidden columns as well (and doesn't say if
they are at the end or in the middle)
I just tried it, and the column numbers seem to match up with the
array
On Feb 25, 2008, at 8:38 PM, Rob Keniger wrote:
On 26/02/2008, at 1:02 AM, glenn andreas wrote:
Note that in the non-GC world, you can't do that in -dealloc
(since the KVO warning about deallocating something that is
still be observed happens before the call to dealloc), so it's
unclear
On Feb 26, 2008, at 00:16, Gerriet M. Denkmann wrote:
I have an application (10.4.11) which creates simple text files
(utf-8 or utf-16).
When I store some document as myNewFile then Spotlight does know
nothing about it's content.
But when I store the same file as myNewFile.txt then all is
On Feb 26, 2008, at 14:36, Graham wrote:
Isn't part of the purpose of the observer mechanism to allow
observees to proceed with their normal activities blissfully unaware
of any observers that might be looking at 'em? In which case they
won't be keeping track of their observers so have no
On Feb 28, 2008, at 02:46, Keith Blount wrote:
Many thanks for your reply. I have a model object and a view object
- DataList and DataListView. DataList has a -content array. The
DataListView has an array controller whose contentArray is bound to
the DataList's content array. Given that
On Feb 28, 2008, at 14:26, Scott.D.R wrote:
However, I dragged a IKImageView into the document window, builded
the application and go. Then I clicked the menu-File-New, there
was no new window appear. Really very odd... After delete the
IKImageView on the document window, the
On Mar 3, 2008, at 10:53, Brian Krisler wrote:
I have discovered that it is now almost possible to create
toolbars from within
Interface builder, with one big exception. There appears to be no
way to
define identifiers for the toolbar items.
Is this a sign of future functionality? I
On Mar 3, 2008, at 12:51, Martin Linklater wrote:
HI - I have what seems a silly question, but I can't seem to find an
answer. I have a window in IB which contains a 'Core Data Entity'
table view. This pre-built table has a number of columns, some
contained strings and some containing
On Mar 6, 2008, at 23:54, Steve Cronin wrote:
If I set the NSZombieEnabled variable to YES I get the following:
#0 0x9282b36d in -[NSException raise]
#1 0x92852247 in +[NSException raise:format:]
#2 0x928da79b in logMessageAndRaise
#3 0x927dc8af in NSPopAutoreleasePool
#4
On Mar 7, 2008, at 19:59, Daniel Child wrote:
OK, thanks. But then in Cocoa you normally use alloc and init
together, and that's where the problem is, I think.
initWithWindowNibName seems to result in the window being shown
automatically.
I am instantiating the window controller, and am
On Mar 8, 2008, at 10:54, Kyle Sluder wrote:
IB doesn't know for sure that the file's owner of the main nib is in
fact the shared NSApplication instance. You could be doing some wonky
stuff instead. The only way that IB could possibly know is if it
performed static analysis. So rather than
On Mar 9, 2008, at 12:09, Peter Hoerster wrote:
I have a background application which displays a floating utility
window on request via hotkey. If the user clicks any item in my
window, the window of the formerly front application gets
deactivated. This is unfortunate because the utility
On Mar 11, 2008, at 14:09, Stuart Malin wrote:
My rationale for departing from the canonical approach is because
then I get a bit of extra type checking at compile time.
Personally I prefer the factory method approach, a la [NSArray array]
etc:
In your header file:
+
On Mar 11, 2008, at 15:12, j o a r wrote:
On Mar 11, 2008, at 3:03 PM, Kevin Dixon wrote:
I'm using an NSTableView, and I want to be able to remove items
from the
list by pressing the delete key on the keyboard. What is the
procedure to
receive a message when a key is pressed and the
On Mar 12, 2008, at 13:13, Jens Alfke wrote:
On 12 Mar '08, at 12:13 PM, Nathan Vander Wilt wrote:
I want to be able to convert a mouse
coordinate into a point suitable for -hitTest:'ing on
my root layer. I can convert from the mouse
coordinates to the view's coordinates, but then I am
not
On Mar 12, 2008, at 14:49, Nathan Vander Wilt wrote:
I don't understand what this base coordinate system
is (not the window's, otherwise the conversions would
likely be offset by the view's position therein,
right?). But whatever it is, it seems to be shared by
the CALayer. I'd appreciate a
On Mar 15, 2008, at 18:55, Quincey Morris wrote:
OK, I admit I'm too stupid to understand CFMakeCollectable/
NSMakeCollectable -- in a mostly-Cocoa GC-only app -- without help.
I guess I'm stupider than I thought. I skipped over an entire chapter
about this in the Garbage Collection
On Mar 18, 2008, at 00:33, Steve Cronin wrote:
On Leopard in the 'processPendingChanges' invocation I get the
following:
0 0x900ef0f4 in ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___
#1 0x93d680fb in objc_exception_throw
#2 0x9649a2a5 in -
On Mar 18, 2008, at 10:17, Jay Martin wrote:
I have an NSTableView, bound to an NSArrayController, which is bound
to my custom object. So far so good. I can change attributes, add,
remove, all that good stuff. Now, my custom object can have one
property changed programmatically by an
On Mar 18, 2008, at 14:33, Jeff LaMarche wrote:
I have bound the value binding of the NSTextField to an NSString
called feedback,
Actually, you bind the text field to the property feedback of some
object (File's Owner?). When you start using array properties, getting
this terminology
On Mar 20, 2008, at 15:25, K. Darcy Otto wrote:
So, I seem to be having a problem with the following code, and I
think I've traced it to how the messages are nested; but I cannot
seem to solve it. Consider the following code, which works without
warnings (self.sequent is an NSArray):
On Mar 25, 2008, at 08:50, Joseph Ayers wrote:
Tech Note 2138 http://developer.apple.com/technotes/tn2005/
tn2138.html states that this is AKA:
// ,,,dd:hh:mm:ss.ff/ts
which translates into:
days:hours:minutes:seconds:frames/timescale
But as I step through my movie the string that [movie
On Mar 25, 2008, at 15:01, Andy Klepack wrote:
I have a subclass of NSObject that provides its own designated
initializer that allows client code to configure an instance with
initial values. Instances of the class itself are immutable. At the
same time, instances where no initial values
On Mar 25, 2008, at 16:26, Andy Lee wrote:
A similar question was asked recently. To paraphrase (and slightly
correct) my reply:
I do essentially this:
- (id)init
{
NSLog(@%@ -- '%@' is not the designated initializer,
[self class],
NSStringFromSelector(_cmd));
[self
On Mar 28, 2008, at 04:15, Dominik Pich wrote:
First then I set the GCC Flag: Garbage Collection _required_: -fobj-
gc-only
I coded my cocoa document based application as if there were GC...
no retain/release and no dealloc..
I started and bigidibam... over-releases -- guess something
On Mar 28, 2008, at 11:20, Dominik Pich wrote:
exactly my point :) there shouldn't be 'any' memory related errors.
GC seems to be OFF like my 2. 'check' showed:
I also added this 'check' to my awakeFromNib
if([[NSGarbageCollector defaultCollector] isEnabled])
NSLog(@GC on);
On Mar 28, 2008, at 11:42, Robert Douglas wrote:
Where do you have GC enabled? My experience has been that you have
to set it for each target as the project-level setting gets
overridden.
FWIW, I haven't noticed any problem with this on newly-created
projects. But Xcode is so
On Mar 28, 2008, at 12:09, Daniel Thorpe wrote:
I want to store the objects using Core Data, but have come up with a
possible problem. I've not used Core Data before, so I may have
understood this incorrectly, but the entities must be subclasses of
NSManagedObject, which NSOperation is
On Mar 28, 2008, at 22:56, Daniel Thorpe wrote:
Oooh, that might work...
But how do you assign independent operations using
NSInvocationOperation objects?
I don't understand the question. Each NSInvocationOperation represents
the independent execution of a method on an object in a
On Mar 29, 2008, at 08:32, Davide Benini wrote:
- (void) dealloc
{
[repetitions release];
[variantEnding release];
[body release];
[super dealloc];
}
- (id) init
{
self = [super init];
if (self != nil) {
repetitions = [[NSNumber
On Mar 29, 2008, at 12:15, Davide Benini wrote:
Here is MyClass.h file
@interface MyClass : NSObject {
int repetitions;
NSMutableArray *body; // Il contenuto
NSString *key; // in questo modo posso determinare cambi di chiave!
}
- (void) dealloc
{
On Mar 30, 2008, at 23:08, K. Darcy Otto wrote:
I'm working on an application in which users enter data into a
table, but I need to substitute a greater-than symbol () for a
right-arrow symbol (→, unicode: 2192) as the user presses they key
(or copies the text, or whatever). After
I was surprised to see a Core Data object throw an exception during
'processPendingChanges' because the object couldn't handle
'setValue:nil forKey:'.
AFAICT, this happened under the following conditions:
-- the object had been inserted into the managed object context
-- the object had then
It appears that a new (unsaved) NSPersistentDocument has no persistent
store associated with it.
AFAICT, this makes it impossible to fault out any objects until the
document is saved (there's nowhere to fault them back in from later).
This effectively means it's impossible to put a lot of
On Apr 2, 2008, at 01:52, Ian Jackson wrote:
Have you done the tutorial?
http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/NSPersistentDocumentTutorial.pdf
You can add in the data as you like, and save when you've finished.
Yes, but the amount of data
On Apr 2, 2008, at 01:25, Peter Zegelin wrote:
I have a custom view inside a scrollview and need to modify the clip
view before a user begins to scroll as I have some custom rulers
built into my view. Is there any way of being notified when a user
is about to scroll? I tried overriding
On Apr 2, 2008, at 04:00, Ghufran Ahamad wrote:
NSAffineTransform* xform = [NSAffineTransform transform];
[currentContext saveGraphicsState];
[NSBezierPath clipRect:drawingBounds];
NSPoint center = NSMakePoint(NSMidX(stRect), NSMidY(stRect));
[xform translateXBy:center.x yBy:center.y];
On Apr 4, 2008, at 16:31, Torsten Curdt wrote:
Got that working now ...except the predicate bug reported before.
It seems that when I add another object a new predicate is set.
And could that possibly be because [NSArrayController
clearsFilterPredicateOnInsertion] defaults to YES like the
On Apr 5, 2008, at 16:45, Mike R. Manzano wrote:
Unfortunately, that still didn't work. The resultant images continue
to be pixelated, as you can see here:
http://instantvoodoomagic.com/stickycapture.png
IIRC this came up on the list a couple of weeks ago. You need to set
the
On Apr 5, 2008, at 17:13, I. Savant wrote:
ADDING:
Think also about what coordinate system you're using when you tell
a subview to set its frame to a superview's frame. Per the
documentation, you'll want to set the subview's frame to the
superview's *bounds*, not its frame (since the
On Apr 6, 2008, at 19:09, Peter Zegelin wrote:
I have an existing database application that uses sqlite but was not
created using Core Data. Is there any reasonable way to get core
data to use an existing database and 'reverse engineer' the entities
and relationships to create its model?
On Apr 6, 2008, at 22:44, mmalc crawford wrote:
The fact that Core Data is an object graph management and
persistence framework does not in an of itself preclude it from
reverse engineering an existing database. EOF is also an object
graph management and persistence framework but it is
On Apr 7, 2008, at 00:51, mmalc crawford wrote:
To reiterate, there is no reason *in principle* why Core Data could
not do this.
Indeed, there's no reason in principle why Core Data could not be EOF.
Yet a core principle of Core Data is its abstraction of the model away
from the
On Apr 7, 2008, at 12:10, Chris Hanson wrote:
On Apr 7, 2008, at 1:50 AM, Quincey Morris wrote:
Yet a core principle of Core Data is its abstraction of the model
away from the structure of the various persistent store formats.
Core Data already offers the ability for developers to use
On Apr 10, 2008, at 19:09, Johnny Lundy wrote:
- (void) nightKill:(NSUInteger) theWhackedOne
{
NSLog(@SelectionIndex=%@,theWhackedOne);
[playerArray removeObjectAtIndex:theWhackedOne];
return;
}
The array controller is sending you a NSNumber whose value is the
On Apr 10, 2008, at 23:01, Markus Spoettl wrote:
Yes that must be it. I'm not sure how I manage to do that, though.
Basically what I do is this:
NSIndexPath *location = [NSIndexPath indexPathWithIndex:
[treeContent count]];
TreeNode *rootnode = [[TreeNode alloc] init];
... set
On Apr 11, 2008, at 08:07, Michael Ash wrote:
The obvious technique would be to stop trying to make the optimization
implicit and to make it explicit and managed by the caller instead. In
other words, you write your API so that it explicitly returns the same
object every time you call
On Apr 12, 2008, at 08:36, Alastair Houghton wrote:
or even
-(void)discard;
Anyone have any preferences? I quite like -discard.
discard sounds so ... cruel. :)
surrender?
derez? (j/k)
How about unleash? That also contains a verb which could be used to
describe the overall technique.
I suspect the OP was asking about adding a button to an application
that, when clicked by a user, would send feedback (Your software
sucks!) to the developer.
--
On Apr 15, 2008, at 09:01, Matt Long wrote:
This might help you: http://www.matthew-long.com/2007/11/09/xcode-30-tutorial/
On Apr 15, 2008, at 19:48, Markus Spoettl wrote:
I have a NSDocument subclass with a simple tree structure attached
to an NSOutlineView via NSTreeController and bindings. I learned -
through this list - to add items in KVO compliant way like this
TreeNode *node = [[TreeNode init] alloc];
On Apr 16, 2008, at 22:54, William Towe wrote:
To achieve this I bound the table view's contentArray binding to
controller key selection and model key path:
@unionOfArrays.allDescendantsNodes. The allDescendantNodes method
in my
file node class returns an array with all its descendants in
On Apr 17, 2008, at 10:31, mmalc crawford wrote:
On Apr 17, 2008, at 9:36 AM, Quincey Morris wrote:
Just so I understand, should I surround calls to any of the
standard KVC method calls (in my case, insertObject:atIndex:) with
[self willChangeValueForKey:@affectedKey]; and [self
On Apr 17, 2008, at 20:15, Mike Rossetti wrote:
Then I add a class method that creates a new Tip and tries the
following assignment (two approaches shown):
newTip.tipName = @FUBAR;
[newTip setTipName:@FUBAR];
It would be interesting to know if, at the point of the error, the
getter
(1) The HIG guidelines say, regarding alert icons:
In rare cases, you may want to display a caution icon in your
alert, badged with the application icon as shown in Figure 14-48. A
badged alert is appropriate only if the user is performing a task,
such as installing software, and a
On Apr 19, 2008, at 15:36, Ali Ozer wrote:
(3) According to the NSResponder class reference, a responder
passes presentError to the next error responder and:
if there is no next responder, it passes the error object to
NSApp, which displays a document-modal error alert
I had hoped this
On Apr 23, 2008, at 08:10, an0 wrote:
Chances are, calling '[[self enclosingScrollView]
setDocumentCursor:[NSCursor closedHandCursor]]' in 'mouseDown:'
will fix the
problem you're seeing. NSScrollView/NSClipView's way of changing
the cursor
conflicts with autoscrolling or drag-scrolling,
On Apr 26, 2008, at 02:57, Jere Gmail wrote:
I have created Document-Based application. The problem is that every
time I run the application an empty document is created.
I don't want this to happen. I want the user to have to open a new
one.
How can I disable this behaviour?
Take a look
On Apr 26, 2008, at 08:47, an0 wrote:
Thanks. I've tried NSTrackingArea, and it seems a clearer concept and
easier to use. However, there are still two problems I can't fix:
1. Setting cursor in initWithFrame: and awakeFromNib does not have
effect. So I can't set the initial cursor.
2. Setting
On May 2, 2008, at 19:05, Markus Spoettl wrote:
Following the View Programming Guide for Cocoa if I use a Custom-
View proxy in IB, the view's initWithFrame: method will be called
when the NIB is loaded (this can be found in Initializing View
Instances Created in Interface Builder).
I do
On May 12, 2008, at 15:19, Craig Hopson wrote:
I think I've been the victim of some side effect that I cannot track
down. With no other changes, I tried again with each style,
[ self.fieldArray addObject:inFoo ];
[ fieldArray addObject:inFoo ];
replacing all occurrences for
On May 20, 2008, at 03:10, Steven Hamilton wrote:
I have an NSOutlineVIew bound to a NSTreeController in entity mode
bound to an entity called Account which has a NSString called name
So the NSTreeController is set to entity mode and the entity name is
Account, yes? I re-phrased it like
On May 21, 2008, at 21:22, Lynn Barton wrote:
hfsFileType = [fileAttr valueForKey:NSFileHFSTypeCode];
modDate = [fileAttr valueForKey:NSFileModificationDate];
Don't you mean:
hfsFileType = [fileAttr objectForKey:NSFileHFSTypeCode];
modDate = [fileAttr
Incidentally, since the 'for (... in ...)' syntax got mentioned
earlier today, I'm prompted to ask whether anyone has found a
guarantee in the documentation (or in the header files, for that
matter) that, when the object being fast-enumerated is a NSArray, the
contents are returned in
On May 27, 2008, at 11:50, Andy Lee wrote:
That's not good either. Root object has a special meaning in the
context of archiving graphs of objects. In particular, it's one of
the archived objects, whereas File's Owner is by definition not one
of the objects in the nib.
Yes.
I was
On May 28, 2008, at 00:43, Rick Mann wrote:
I also want to display some data in the detail view that is global
to the document. What's the best/easiest way to add that information
to my document and make it available to a text field via bindings?
Do I need to create additional CoreData
On Jun 1, 2008, at 12:49, Hamish Allan wrote:
On Sun, Jun 1, 2008 at 1:02 AM, Scott Anguish [EMAIL PROTECTED]
wrote:
swearing isn't appropriate here. :-)
After Apple have failed to fix this glaring known bug after another
two major releases of the operating system? I beg to differ :P
On Jun 2, 2008, at 07:21, Chataka wrote:
On the console, I just get
entity required
That's it. Just two words.
Nothing else I can include...
Typically, frameworks errors are NSLog'ed, so they will at least
include the application name and process id.
So, you haven't established that
On Jun 2, 2008, at 19:49, Michael Toy wrote:
what I find is that my initWithFrame method is not being called ...
so i have two questions ...
my drawRect: IS being called, so I know my custom view is being
instantiated. why is my init not being called? i thought i figured
out the
In a GC-only app, I frequently use a pattern along these lines:
NSData* data = get it from somewhere;
const unsigned char* bytes = [data bytes];
NSUInteger count = [data length];
for (NSUInteger i = 0; i count; i++)
something = bytes [i];
The
On Jun 6, 2008, at 15:48, Bill Bumgarner wrote:
The garbage collector does not currently interpret inner pointers as
something that can keep an encapsulating object alive. Thus, the
behavior is undefined and that it changes between debug and release
builds -- between optimization levels
On Jun 6, 2008, at 16:42, Bill Bumgarner wrote:
The easiest way to do this is to simply to use data once after the
for() loop:
NSData* data = get it from somewhere;
const unsigned char* bytes = [data bytes];
NSUInteger count = [data length];
for (NSUInteger i
I'm fairly satisfied with Bill's (and others') suggested workarounds
about how to keep the object from being collected, but if I might
ramble just a little:
On Jun 6, 2008, at 22:03, Bill Bumgarner wrote:
On Jun 6, 2008, at 9:16 PM, Ken Thomases wrote:
And... we're back to
On Jun 7, 2008, at 00:07, Antonio Nunes wrote:
Although I maybe did not make it that clear, I actually meant my
suggestion also as a question. I'm surprised no-one else suggested
to temporarily turn of garbage collection for this pointer. I'm
curious as to why Bill suggested his solution
On Jun 7, 2008, at 04:34, Michael Ash wrote:
Actually I think that it is about the char * pointer, and this bug
should be considered an NSData bug rather than a compiler bug or a GC
bug. The fact that it's really a design bug in NSData rather than
something that can be easily fixed definitely
On Jun 7, 2008, at 17:23, Bill Bumgarner wrote:
As well, if foo / bar fall in a register, then those registers would
have to be preserved for all of the while loop, too, either by not
being available to the bulk of the program (which raises some
serious codegen issues) or being moved
On Jun 9, 2008, at 11:07, Steve Nicholson wrote:
I have a document-based app in which I'm trying to bind the state of
NSMenuItems to values in my document's window controller. For
example, in the window's nib file, I have a checkbox bound to File's
Owner/autoscaleX. I'd like the menu item
On Jun 10, 2008, at 03:17, Graham Cox wrote:
In this case I can do that... though out of curiosity I wonder if
there is a way to do this cooperatively on the main thread without
having to break up the loop doing the actual work. For example, in
Carbon one can run the event loop for a
On Jun 12, 2008, at 08:35, Danny Price wrote:
So the object is single-level tree where each leaf is the actual item
selected?
What I don't understand is why the same binding returns a different
object
in two cases? Why don't get this proxy object when I bind the view
directly
to the
On Jun 13, 2008, at 10:39, Milen Dzhumerov wrote:
I've got a question regarding bindings and to-many relationships.
I've got my own array controller which has a arrangedObjects
property. It is KVO observable as in notifications are sent when
objects are added / removed (and obviously if
On Jun 17, 2008, at 00:36, Godfrey van der Linden wrote:
I have been lurking on this list for a while. It is interesting to
be on the other side, I used to hang around answering questions on
the kernel lists oh well, even kernel developers can become indie
development occasionally ;-)
On Jun 18, 2008, at 03:31, Alain Schartz wrote:
My model consists of an abstract entity A and an entity B, with A
being B's parent. Each entity is managed by it's own
NSArrayController (mode set to Entity and correctly bound to the
context), and each NSArrayController is bound to a
On Jun 18, 2008, at 13:06, Markus Spoettl wrote:
I did profile it but it's not my code that is slow. It's the call to
[archiver finishEncoding] that's taking so long (see the Shark trace
below.
Regards
Markus
3.5% 57.0% CoreFoundation
On Jun 18, 2008, at 13:04, Ben Trumbull wrote:
*Amount* is an calculated field and it depends on the previous
transactions.
I don't know how to do it! It is not a value I can save on
database, for
example, because it changes all the time (I guess I have to mark the
transient field at Core
On Jun 18, 2008, at 14:17, Markus Spoettl wrote:
Exactly and the test data isn't particularly big. Any ideas how to
tell the archiver not to do this with my doubles (that doesn't
involve conversion to strings and back)?
I suppose you could byte-move each group of 4 doubles in one NSData
On Jun 18, 2008, at 16:31, Markus Spoettl wrote:
I'm not exactly sure about the speed, blocking the UI for 15 seconds
isn't the best idea and the real data will be even bigger. So, a
cure for NSKeyedArchiver's optimization would be great.
The fastest, easiest approach would be to put your
On Jun 21, 2008, at 13:17, Clayton Leitch wrote:
Core data document application: I edited the MyDocument.nib file to
add a few fields to one view and now when I start the application,
the main window does not appear. Also, the new menu fails to
produce a window. What caused this
The
On Jun 22, 2008, at 09:46, William Squires wrote:
Okay, thanks. It seems to work if I just typecast it to NSString *,
since the values are coming from an NSTextField as [textField
stringValue] in my AppController.m when the action is triggered from
the Add buttton.
Just typecasting
On Jun 25, 2008, at 23:11, Markus Spoettl wrote:
I have double (quadruple actually) checked that the redrawing is not
the problem, the view draws very quickly. When the mouse is being
dragged over the view, the same series of redrawing events is
completely instant up to a bar count of
On Jun 26, 2008, at 00:51, Markus Spoettl wrote:
On Jun 26, 2008, at 12:19 AM, Graham Cox wrote:
Why do you need to use tracking areas? I doubt that they are
designed to handle hundreds of small regions. If you are dragging
within the view, just hit-detect the rects yourself and mark them
On Jun 26, 2008, at 11:20, Nathan Vander Wilt wrote:
Even though it seems like I'd be reimplementing something Cocoa
already offers, I'm leaning towards option A: I'm not sure if I'll
be able to foresee all the edge cases, and I'd be reinventing half
the hit testing code there anyway.
On Jun 26, 2008, at 12:03, Gabriel Shahbazian wrote:
I have some bindings set up that work perfect well with a Table View
(3 column) but when I try and use the Outline View it fails to
display the data. Is there something different you need to do with
the bindings or does it simply not
On Jun 26, 2008, at 13:18, [EMAIL PROTECTED] wrote:
My difficult is in getting system media template images to invert
when the cell is highlighted.
The documentation for NSImage - setTemplate states:
You can mark an image as a “template image” to notify clients who
care that the image
On Jul 5, 2008, at 04:07, Georg Seifert wrote:
My document Object has a Array of independent graphical items
(containing some properties).
Each item should have its own undo/redo based of selection in the
interface. So I select Item_1, modify it, select Item_2 and modify
it, too. Then I
On Jul 5, 2008, at 11:37, Georg Seifert wrote:
But than I have just another question: If I select more than one
object. All the handling of the undos of the single object I can do
in the undo/redo functions of my delegate. But how do I tell the
menu that the is something to undo? I would
On Jul 5, 2008, at 14:23, Bill Cheeseman wrote:
Here's a specific question: My frameworks contain classes that declare
instance variables derived from CFType. For example, CGEventRef and
AXUIElementRef. In reading the Instance variables topic in the Core
Foundation Variables section of the
On Jul 5, 2008, at 22:07, Chris Hanson wrote:
On Jul 5, 2008, at 3:52 PM, Quincey Morris wrote:
The other thing worth noting is that, when GC is enabled, any CF
object that is documented to be *returned* already autoreleased
from a frameworks function is actually returned with a reference
On Jul 6, 2008, at 05:45, Bill Cheeseman wrote:
So, back to the OQ. I am now inclined to think that, at least in my
circumstances (a shared framework properly balancing CFRetain and
CFRelease), I do NOT need to use the __strong keyword for the CFType-
derived
instance variables, in order to
1 - 100 of 3195 matches
Mail list logo