Le 2 sept. 2011 à 01:48, James Walker a écrit :
The sample code page
http://developer.apple.com/library/mac/#samplecode/MethodReplacement/Introduction/Intro.html
describes it as
Objective C 2.0 compatible class_poseAs() replacement. This demonstrates how
to replace a method in an
Quincey Morris (1/9/11, 21:42) said:
If it should happen that there was a practical need to change the column
display frequently (dozens of times per day), choosing individual
columns from a context menu would get very old very fast. In that case,
the only practical choice might be an array of 39
'lo,
On 2 Sep 2011, at 06:54, Indragie Karunaratne wrote:
This has been asked a few times before, but not after Lion was released so I
figured I'd ask again. Is there any way to animate the scroll point of an
NSScrollView? I figure that animation must be possible somehow, considering
that
On 02/09/2011, at 00:13, Ken Thomases wrote:
On Sep 1, 2011, at 6:42 PM, Rainer Brockerhoff wrote:
On 01/09/2011, at 20:17, cocoa-dev-requ...@lists.apple.com wrote:
From: Martin Wierschin mar...@nisus.com
Date: 1 de setembro de 2011 19:11:24 BRT
To: Dave DeLong davedel...@me.com
Cc:
Thanks. I will give that a try. I have used EOGenerator many times (mostly
automatically). My only concern now is not overwriting the exiting concrete
classes. But I can handle that pretty easily. All in all, I love the idea,
though I wish the automatic plugin worked in Xcode 4.
On Sep
Hello,
I've setup a Document based application with an NSOutlineView which displays
Parent-Item along with its children…with XCode 4 on OS X Lion.
When launching the application, the outline view shows the Root title…only if I
refresh the outline view the children are displayed too.
I've
On Sep 2, 2011, at 7:15 AM, Gilles Celli wrote:
I've setup a Document based application with an NSOutlineView which displays
Parent-Item along with its children…with XCode 4 on OS X Lion.
When launching the application, the outline view shows the Root title…only if
I refresh the outline
Yes forgot to say that I've a data source for the outline view….
My OvItem.h class looks like this:
#import Cocoa/Cocoa.h
@interface OvItem : NSObject {
NSString *title;
NSMutableArray *children;
BOOL isParent;
}
@property (nonatomic, readwrite, copy) NSString
On 02/09/2011, at 10:48 PM, Gilles Celli wrote:
Yes forgot to say that I've a data source for the outline view….
My OvItem.h class looks like this:
Yes, but how and when does that structure get established? That's what matters
here - obviously the data structure needs to be ready when the
On Thu, 1 Sep 2011 17:56:43 -0400, Andrew Kinnie said:
Last I looked at mogenerator, it didn't support Xcode 4.
There's no need for Xcode at all. You just point mogenerator to an
.xcdatamodel file and voila!
--
Sean McBride, B. Eng
yeah I run a custom step which runs mogenerator. It's great. I love that it
splits the files into the auto generated piece and the customized piece. I
would love for Xcode to generate classes the same way.
On Sep 2, 2011, at 10:02 PM, Sean McBride wrote:
On Thu, 1 Sep 2011 17:56:43 -0400,
On Sep 1, 2011, at 9:26 PM, Julie Porter wrote:
Again I am impressed with the help I received here. Hopefully others will
be able to read these threads and learn from the experience of others.
Julie: You’re welcome!
Gang: One result of this is that I’m realizing how difficult it is to
On Sep 2, 2011, at 10:32 AM, Bruno Candido Volpato da Cunha wrote:
Jens, please take a look at this site:
http://www.codeproject.com/KB/architecture/OOP_Concepts_and_manymore.aspx
Thanks for the link. I’m not thrilled by the writing style (it’s awkward and
has a lot of grammatical errors; I
Am 02.09.2011 um 19:04 schrieb Jens Alfke:
I’d like to be able to point people to a good introduction, either online or
in a book, but unfortunately I don’t know of any. Can anyone recommend
something?
How about Apple's documentation?
Object-Oriented Programming with Objective-C
Michael Graham: thanks for the reply
I agree that my Item class and its structure for the outline view has to be
reworked...I'll let you know since I'm on vacancy for one week…
-Gilles
On 2 sept. 2011, at 14:35, Michael Babin wrote:
On Sep 2, 2011, at 7:15 AM, Gilles Celli wrote:
I've
Just stay away from th e1986 Byte Magazine article describing OOP ... pretty
funny actually.
-koko
On Sep 2, 2011, at 11:04 AM, Jens Alfke wrote:
On Sep 1, 2011, at 9:26 PM, Julie Porter wrote:
Again I am impressed with the help I received here. Hopefully others will
be able to read
On 01/09/2011, at 8:52 PM, jonat...@mugginsoft.com wrote:
Is it possible that the user is editing the textview when this code is
triggered?
From the looks of the trace you react directly to the mouseDown event in
another view which might not give NSTextView opportunity to conclude its
Say I have a custom NSCell subclass (or maybe NSActionCell) which implements
some custom UI for manipulating some immutable value type which I can't use any
of the standard cell subclasses for. If this cell is the data cell in a table
column, binding the column's content to an array controller
I have an array of objects (of class MyObject) managed by an
NSArrayController and displayed in an NSTable (via bindings).
One property of MyObject is a BOOL marked.
I need to be notified whenever the user toggles a marked checkbox in my
NSTable.
What is the best way to do this? Do I need to
To understand the why of OO there is Bertrand Meyer's book Object-Oriented
Software Construction:
http://docs.eiffel.com/book/method/object-oriented-software-construction-2nd-edition
It is big, but maybe the most complete and easy-to-read book on the subject.
But you have to hang up any
On 2011 Sep 02, at 19:01, Trygve Inda wrote:
What is the best way to do this? Do I need to add an observer to every
object in the array (there are about 8,000 of them).
If you want to use KVO, yes. I recall some sample code, written by mmalc. I
forgot if it was on stepwise.com (which means
On Sep 2, 2011, at 19:01 , Trygve Inda wrote:
I have an array of objects (of class MyObject) managed by an
NSArrayController and displayed in an NSTable (via bindings).
One property of MyObject is a BOOL marked.
I need to be notified whenever the user toggles a marked checkbox in my
On Sep 2, 2011, at 17:12 , Seth Willits wrote:
Say I have a custom NSCell subclass (or maybe NSActionCell) which implements
some custom UI for manipulating some immutable value type which I can't use
any of the standard cell subclasses for. If this cell is the data cell in a
table column,
On Sep 2, 2011, at 19:01 , Trygve Inda wrote:
I have an array of objects (of class MyObject) managed by an
NSArrayController and displayed in an NSTable (via bindings).
One property of MyObject is a BOOL marked.
I need to be notified whenever the user toggles a marked checkbox in my
24 matches
Mail list logo