Hi,
What you are doing is probably bad design. I would recommend your read
up on the MVC (Model View Controller) pattern: http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CocoaDesignPatterns/chapter_5_section_4.html
In your set up, the ApplicationDelegate is your
For clipping tasks like this, NSBezierPath is a very poor cousin to
Apple's old technology for this - Regions. With regions one could
trivially obtain union, intersection, difference and xor of complex
shapes using the built-in APIs. Neither NSBezierPath nor the
underlying Quartz routines
Is there any reason to use the cast on cbbox, instead of using
NSRectFromCGRect(cbbox), which does the same thing but wraps it up
nicely in an easy-to-read fashion?
From the docs:
NSRectFromCGRect
Returns an NSRect typecast from a CGRect.
NSRect NSRectFromCGRect(CGRect cgrect) { return
Yes, it's not available pre 10.5
G.
On 19 May 2008, at 4:31 pm, Andrew Merenbach wrote:
Is there any reason to use the cast on cbbox, instead of using
NSRectFromCGRect(cbbox)
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
FROM : Peter Duniho
DATE : Mon May 19 07:03:25 2008
[deleted]
Real people are having real problems getting into Cocoa. I don't see
the kind of repeated commentary about poor documentation and
difficult APIs in the C#/.NET forums or Java forums. It comes up
once in a blue moon, but not with the
On 18 May '08, at 10:18 PM, Markus Spoettl wrote:
Does this look OK, especially, is removeObserver: in dealloc: not
too late?
Yup, that looks fine.
—Jens
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list
On May 18, 2008, at 11:43 PM, Jens Alfke wrote:
Does this look OK, especially, is removeObserver: in dealloc: not
too late?
Yup, that looks fine.
Excellent, thanks!
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic
It's an inline fonction, so code compiled using this function will
properly work on pre 10.5 versions of the OS.
Le 19 mai 08 à 08:34, Graham Cox a écrit :
Yes, it's not available pre 10.5
G.
On 19 May 2008, at 4:31 pm, Andrew Merenbach wrote:
Is there any reason to use the cast on
On May 19, 2008, at 12:03 AM, Peter Duniho wrote:
From: ben syverson [EMAIL PROTECTED]
This is going to sound bitchy, but it's hard for me to have any
sympathy for vague complaints about the docs or the usability of
Cocoa.
That does sound bitchy. I mean, it's fair enough to say that people
On Mon, May 19, 2008 at 8:21 AM, ninad walvekar [EMAIL PROTECTED] wrote:
I have an existing GUI application and now i want to run that same
application in the background at startup and then when the user wants to run
the application run it as a normal GUI application.The application has been
Ah, OK, I'd missed that.
But it raises another question I've been vaguely meaning to ask the
list, but which is pretty minor, so I haven't so far bothered:
If I declare a C function as static inline inside a .m file (just to
be clear, it's C function, not an Obj-C method) does it get
You actually can have a GUI application in the background, by setting
the following key in your Info.plist:
keyLSUIElement/key
string1/string
Your application then doesn't get a menu bar and doesn't appear in the
Dock. Depending on what you want your app to do, this might
I would be really surpise if it is not. (and the Show assembly Xcode
command tell me that I'm right). I think their is no garantee that the
function will be inlined, as the inline keyword is just a compiler's
hint, but the NS_INLINE macros is defined like this:
static __inline__
On May 19, 2008, at 1:19 AM, ben syverson wrote:
On May 19, 2008, at 12:03 AM, Peter Duniho wrote:
From: ben syverson [EMAIL PROTECTED]
This is going to sound bitchy, but it's hard for me to have any
sympathy for vague complaints about the docs or the usability of
Cocoa.
That does sound
Guys ...how are you generating API docs for your projects?
Is there a tool like javadoc? I found headerdoc - but that is not
quite the same.
cheers
--
Torsten
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
I have (in Tiger 10.4.11) a nib with an NSTextField.
It's value is bound to myInt in MyObjectController (an
NSObjectController) - Controller Key: selection.
The content outlet of MyObjectController is connected to the File's
Owner, which is of class MyOwner.
MyOwer has an instance variabel
Hi,
I want to convert string to its corresponding values.I found a method in
NSAttributedString initWithHtml,i think it will convert HTML to
attributed string.I found 3 attributes
NSString *NSExcludedElementsDocumentAttribute;
NSString *NSTextEncodingNameDocumentAttribute;
NSString
Date: Mon, 19 May 2008 02:35:12 -0400
From: Erik Buck [EMAIL PROTECTED]
[...] It comes up
once in a blue moon, but not with the reliability I've seen here, nor
is there nearly the kind of practiced, organized defense seen here
(which again suggests a certain regularity to the complaints).
On 19 May 2008, at 5:21, : Nathan Kinsinger
[EMAIL PROTECTED] wrote
Subject: Re: Cocoa et al as HCI usability problem
I don't have a CS degree and would qualify, as one poster deridingly
called early mac programmers, as a hobbyist. I have approached
learning cocoa seriously and actually
On May 19, 2008, at 3:26 AM, Jean-Daniel Dupas wrote:
That'd be great for the Mac, but not so great for the Cocoa
evangelists. It's hard to understand the neglect Java has seen on
the Mac, except as a way to try to steer more people towards Cocoa.
Cocoa is a framework, Java a language.
Actually, I don't understand why an RTFM kind of answer is perceived
as rude. I'm really happy when I get an RTFM *with a link* to the
appropriate document.
Also, I often just don't answer at all, since an RTFM may not be
well received and I don't have the time to write a more elaborate
That'd be great for the Mac, but not so great for the Cocoa
evangelists. It's hard to understand the neglect Java has seen on
the Mac, except as a way to try to steer more people towards Cocoa.
Cocoa is a framework, Java a language.
The comparison is not as wrong as you say. Java is
On Mon, May 19, 2008 at 3:28 AM, Wayne Shao [EMAIL PROTECTED] wrote:
Newbie questions: Are there any good examples on how I should do the
following?
- load the template from resource file
Read the documentation on NSBundle.
- search and replace the file to produce another file.
Read the
On Mon, May 19, 2008 at 6:10 PM, Peter Duniho [EMAIL PROTECTED] wrote:
It should be clear from the volume of push-back that
not all is well in Cocoa-Land, even if the complaints are sometimes vague.
This is absurd. Every programming system I have ever encountered that
rises above the level of
Hi all,
I am using NSURLDownload class to download a file through https. But I get
error bad server certificate. I know this error occurs when HTTPS server
has bad certificate. I want to allow this download even though certificate
is bad. So can anybody tell how can I handle this?
I searched
I have a core data master-detail interface that consists of a
sourcelist on the left and a tableview.
The source list displays object from a core data entity. THe table
view will be populated by a custom datasource as I have to do some
data munging on the way from core data to the
Well I never thought I would cause this much discussion.
I have tried but do not have the time needed to reply to all.
I might still but work must take precedence.
There have been a number of people who suggested I give specific
instances of documentation failure.
I agree it would be useful
Regarding the arrangement of the docs:
I find it much easier to read the guides, and oftentimes also the
reference documentation, from a web browser rather than in Xcode's
documentation window. If I'm using Xcode, I will usually have the doc
window open. However, I'll very often have the
Am 19.05.2008 um 12:46 schrieb Torsten Curdt:
Guys ...how are you generating API docs for your projects?
Is there a tool like javadoc? I found headerdoc - but that is not
quite the same.
There's also Doxygen which I've used on a few projects. It's been a
while, though, so I'm not sure
On May 19, 2008, at 14:57, Uli Kusterer wrote:
Am 19.05.2008 um 12:46 schrieb Torsten Curdt:
Guys ...how are you generating API docs for your projects?
Is there a tool like javadoc? I found headerdoc - but that is not
quite the same.
There's also Doxygen which I've used on a few projects.
I was going to suggest Doxygen, also, but Uli beat me to it.
I will add this link, which explains how to create docsets with Doxygen:
http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
Cheers,
Jason
___
Cocoa-dev mailing list
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Michael Ash
Sent: Saturday, May 17, 2008 1:56 AM
To: Cocoa Developers
Subject: Re: Guidance for Cocoa's steep learning curve
On Fri, May 16, 2008 at 10:57 PM, john darnell
[EMAIL PROTECTED] wrote:
And,
Brett Powley wrote:
MyAppDelgate *ad = [NSApp delegate];
then do something with [ad myMutableArray]
Incorrect. You don't get accessors for instance variables
automatically like that.
Well yes, but I assumed that his problem was that he didn't know how to
get at the application delegate
Boy, I've been really refraining myself from jumping into the fray
here. It's an interesting discussion which has been handled
respectfully, but it seems to me that we've reached the point of
diminishing returns on this. I think the lines have been drawn, and
most people have chosen one
According to http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSNumberFormatter_Class/Reference/Reference.html
:
An even simpler way to cause negative values to be displayed in red is
to include the constant [Red] in your format string, as shown in this
On Mon, May 19, 2008 at 10:31 AM, Brett Powley [EMAIL PROTECTED] wrote:
You actually can have a GUI application in the background
True, but the OP said at startup (i.e. daemon not agent), and also
wants to run the *same* application as a normal GUI application
(i.e. in the foreground and not
I guess I am just reeealy careful and curious in the end. Anyway to
all I am like 1/3 into my book now and this round after the amass of
ruby I have used, Obj 2.0 is much easier to get now. But my argument
stands that I prefer ruby syntax more now than ever :P
What else then The key value
On 19 May '08, at 5:07 AM, parag vibhute wrote:
I am using NSURLDownload class to download a file through https. But
I get
error bad server certificate. I know this error occurs when HTTPS
server
has bad certificate. I want to allow this download even though
certificate
is bad.
Why?
I like Cocoa. Like any language it has a learning curve, but I enjoy
traipsing around in Cocoa-Land, and it's not that hard to learn if you
put some work into it. If you have a problem, you can ask it here;
that's what this mailing-list is for. If Apple thought their
documentation was
Sorry, I did not completely explain this scenario:
Now let's consider some pretty Delicious Generation approach to
selecting the spouse of the currently-selected Person in your master
list. Say a pretty interface pops up where on the left you have a
table view filled with your people. On
Thanks for url.
I implemented same but whenever I launched my application it asks to change
trust settings. Why is it like that?
Other thing is my https server requires username password so now I am
using WebDownload class (which is subclass of NSURLDownload) but it does ask
about username
If you just want to let them choose a folder, use NSOpenPanel (calling
-setCanChooseFiles:NO and -setCanChooseDirectories:YES on the save
panel before displaying it).
On May 19, 2008, at 11:04 AM, Nick Rogers wrote:
Hi,
I have to let the user browse thru the filesystem and choose a
Hello Everyone:
I've been trying to get my head wrapped around the concept of
delegates and I thought I would run it by the list to see if I am
approaching the correct idea behind a delegate.
As far as I can tell, it is kind of like a virtual function (virtual
because I, the programmer, am
Hi,
I have to let the user browse thru the filesystem and choose a
directory for saving some data.
So is NSSavePanel right for the job or there is something else too.
cause from what I gather NSSavePanel requires to type in a fileName
and then returns the path to that file.
Where as I don't
I have followed this discussion closely because as a veteran developer
who started on Mac OS back in the nineties and then gone to Win32 and
a bit with PHP, Tango, .NET (both web and mobile/desktop), Cocoa has
been very difficult to *get into*. Every technology I've been able to
get into
On May 19, 2008, at 8:31 AM, Jens Alfke wrote:
On 19 May '08, at 4:49 AM, Kyle Sluder wrote:
- load the template from resource file
Read the documentation on NSBundle.
Specifically, the -pathToResource... family of methods will give you
absolute paths to files in your Resources
Thanks all for the responses!
Wayne
On Mon, May 19, 2008 at 9:47 AM, Nathan Kinsinger [EMAIL PROTECTED]
wrote:
On May 19, 2008, at 8:31 AM, Jens Alfke wrote:
On 19 May '08, at 4:49 AM, Kyle Sluder wrote:
- load the template from resource file
Read the documentation on NSBundle.
I don't think you're understanding what he's saying or at least taking
it to the wrong extreme. I'm reading his comment that the docs talk
about how great their API is, not explaining the concepts.
In my last post I said the docs can be too verbose. I *want* the docs
to explain why to me,
On Mon, May 19, 2008 at 12:52 PM, Michael Vannorsdel [EMAIL PROTECTED] wrote:
Delegates act like observers. They register with another object saying
hey, if you do something important I want to know about it and have a
chance to act on it too.
Well, no, not really. This is significantly
Hi,
Sincerely, I am coding under windows with Win32/Qt/Corba/Lua and others for a
living, I use MSDN every day, I read their example very often.
Well Qt has a very usable API and a good documentation and good examples and we
have access to the sources...
But on the Win32/Microsoft front, I
On May 19, 2008, at 1:06 , Adam Radestock wrote:
It's in a function called from within the mouseDown: handler in my
subclass. I just don't get why the implicit animation isn't working?
A couple of things:
1) Make sure that somewhere up the hierarchy of your button's
superviews one of
On 19 May 2008, at 17:22, john darnell wrote:
As far as I can tell, it is kind of like a virtual function (virtual
because I, the programmer, am expected to flesh it out) that resembles
an event attached to a given class.
You're in the right ball park.
The bit you're missing is that with
Date: Mon, 19 May 2008 19:50:57 +0800
From: Michael Ash [EMAIL PROTECTED]
[...] the existence or even the volume of
these complains is not evidence of anything other than that this
platform actually attracts programmers who aren't using it just
because it's hard.
The platform attracts
On 19 May 2008, at 18:01, I. Savant wrote:
On Mon, May 19, 2008 at 12:52 PM, Michael Vannorsdel [EMAIL PROTECTED]
wrote:
Delegates act like observers.
Well, no, not really.
I think that was 'observers', not 'Observers'.
(i.e. not in the Cocoa/KVO sense)
Sometimes wonder if we're going
On May 19, 2008, at 1:33 PM, Peter Duniho wrote:
NSColor color
{
set
{
undoManager.prepareWithInvocationTarget(this).color =
mColor;
mColor = value;
}
}
Are you sure about this? I'm just a little surprised to see that C#
I think that was 'observers', not 'Observers'.
(i.e. not in the Cocoa/KVO sense)
Sometimes wonder if we're going to run out of words to describe things
because everything is overloaded with some technical meaning.
Still ... my point is the same. I think this is a semantics argument
On Mon, May 19, 2008 at 1:37 PM, Michael Vannorsdel [EMAIL PROTECTED] wrote:
Indeed. I was just trying to keep it in simple terms as not to overwhelm
the OP with heavy details. I just wanted the concept to make some sense in
better known terms at the risk of oversimplifying.
I figured as
Date: Mon, 19 May 2008 09:32:01 -0400
From: Jeff LaMarche [EMAIL PROTECTED]
Subject: Re: Cocoa et al as HCI usability problem
[...] In many ways, Cocoa/Obj-C is an oddity, and certainly the
approaches
that Microsoft, Sun, and Apple have taken with their development tools
is different.
Peter Duniho wrote:
In C#:
void setColor(NSColor color)
{
undoManager.prepareWithInvocationTarget(this).setColor(mColor);
mColor = color;
}
Your point being? If you think your example is useful in presenting
your claim, you'll need to be a lot more specific.
[...]
On May 19, 2008, at 1:33 PM, Peter Duniho wrote:]
Your point being? If you think your example is useful in
presenting your claim, you'll need to be a lot more specific.
undoManager.prepareWithInvocationTarget(this).setColor(mColor);
I could be wrong, but in C#, wouldn't this UndoManager
Date: Mon, 19 May 2008 11:42:39 -0500
From: Alex Kac [EMAIL PROTECTED]
Subject: Re: Cocoa et al as HCI usability problem
[...]
I agree with much of what Peter wrote in his post, though not his
conclusion that Cocoa can't be fun.
I hesitate to even mention this, as I've written tons already and
On Mon, May 19, 2008 at 1:33 PM, Peter Duniho [EMAIL PROTECTED] wrote:
Maybe I'm misinformed about how message-dispatching in Objective-C works.
But AFAIK, it's nothing like the direct invocation and v-table mechanisms
that exist in C# and Java. It's the exact opposite of similar.
You're
On May 19, 2008, at 10:33 AM, Peter Duniho wrote:
In any case, it takes a pretty blind eye to claim that the volume of
complaints is in no way related to problems.
I would expect that the volume of complaints is pretty much directly
related to the over 100.000 downloads of the iPhone SDK
But my argument
stands that I prefer ruby syntax more now than ever
Ruby syntax is simply lovely. Performance is sluggish. To get at system
functions requires ultimately going through a C interface, which means
either there's an existing Ruby library you can use, or you get to do the
ugly part
Even delegation is not a commonly known term in my experience (it's
used for several differing ideas in the US). I try my best to give
terms and examples with the best chance of grasping, especially with
beginner concepts. Even the truest term of delegate doesn't perfectly
fit Cocoa
On May 19, 2008, at 10:48 AM, Greg Titus wrote:
You've translated the Objective-C syntax into C# syntax, but the
point of the question is to think about what
prepareWithInvocationTarget() does. How would you write that method
in C#?
Well, it was a poorly stated question then. His
This is actually on iPhone... Core Animation is always active on
iPhone, there's no wantsLayer function...
Here is all the relevent code:
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; {
[self doHighlightEffect:SGUIButtonOpaqueEffect];
[super
On May 19, 2008, at 10:52 AM, David Wilson wrote:
On Mon, May 19, 2008 at 1:33 PM, Peter Duniho [EMAIL PROTECTED]
wrote:
Maybe I'm misinformed about how message-dispatching in Objective-C
works.
But AFAIK, it's nothing like the direct invocation and v-table
mechanisms
that exist in C# and
On May 19, 2008, at 11:00 AM, Peter Duniho wrote:
That said, because of the existence of reflection in C# and Java,
similar functionality isn't really that difficult in those
languages. It's trivial to take any arbitrary class or instance of
a class and invoke any arbitrary named method
Exactly why I didn't say in the first place... :-)
On 19 May 2008, at 19:09, Paul Bailey wrote:
Unfortunately, by mentioning the magic word (iPhone), you won't be
getting any answers on this mailing list, since the iPhone SDK is
still under an NDA...
Cheers,
Paul
On Mon, May 19, 2008 at
Hello,
i had a similar idea some time ago as i do really like the concept of
CocoaHeads.
Unfortunately there is nothing similar in Germany and especially in
Berlin.
So i'd really appreciate occasional meetings.
Kind regards,
Gert Andreas
Am 15.05.2008 um 20:07 schrieb Carsten:
While we
On May 19, 2008, at 11:00 AM, Peter Duniho wrote:
On May 19, 2008, at 10:48 AM, Greg Titus wrote:
You've translated the Objective-C syntax into C# syntax, but the
point of the question is to think about what
prepareWithInvocationTarget() does. How would you write that method
in C#?
On May 19, 2008, at 1:42 PM, Peter Duniho wrote:
I agree with this statement. However, the conclusion is flawed.
You are welcome to your opinion, even if flawed ;)
Seriously, though, from some of your comments, I'm not sure that I
communicated my conclusion very well, because you seem to
On May 19, 2008, at 12:27 PM, Jeff LaMarche wrote:
On May 19, 2008, at 1:11 PM, Alex Kac wrote:
However I believe that 99% of the complaints given - including mine
- are due to that really high hill.
I do not disagree with you there. It's a challenge, and frustrating
at times, and once
On Mon, May 19, 2008 at 2:00 PM, Michael Vannorsdel [EMAIL PROTECTED] wrote:
Even delegation is not a commonly known term in my experience (it's used for
several differing ideas in the US).
Not sure what you mean there.
To 'delegate' is to entrust (a task or responsibility) to another
In this respect, an object is entrusting a task or responsibility to
something else that has no direct control over the 'superior' object's
workings, but the 'superior' object is relying on the 'delegate' to
perform some task if necessary or to find something out and let it's
'superior' know
On 19 May '08, at 8:19 AM, parag vibhute wrote:
I implemented same but whenever I launched my application it asks to
change
trust settings. Why is it like that?
What exactly did you mean by same? Which code did you implement?
I would guess that the Security framework is requiring user
Another difference between delegates and observers is that delegates
sometimes have the power of veto over some operation (e.g., -
applicationShouldTerminate: and -textShouldEndEditing:), whereas
observers of notifications are merely notified.
--Andy
On May 19, 2008, at 1:41 PM, I. Savant
There's nothing that guarantees a Cocoa delegate will act for another
object and that the represented object won't act how it wants as
well. Sometimes a delegate method is just a notification something
happened/happening without the delegate having any say on the matter
or affect on the
D'oh, I see that point was already made.
--Andy
On May 19, 2008, at 2:52 PM, Andy Lee wrote:
Another difference between delegates and observers is that delegates
sometimes have the power of veto over some operation (e.g., -
applicationShouldTerminate: and -textShouldEndEditing:), whereas
I'm currently trying to implement undo for drawing using code based on
Sketch and am running into KVO problems on Shape properties. Sketch uses
a dictionary of Properties that applies to selected Shapes (i.e.,
Graphics). Some of my parameters are compound, e.g., Shadow is a
referenced
Am 19.05.2008 um 13:11 Uhr schrieb Peter Duniho:
I just don't see how declaring an interface and then using it is so
inferior to an informal protocol that it justifies the entire
message-dispatching paradigm, especially given that there are in
fact advantages to the former. At best, it's
Hello,
I'm trying to create a custom NSPredicateEditorRowTemplate subclass
that has a single view, an NSPopUpButton with a single item and am
having some trouble. Basically what I'm trying to do is create a
predicate like the one in Apple Mail when creating a rule for handling
e-mail in
On May 19, 2008, at 2:54 PM, Michael Vannorsdel wrote:
I know this discussion can go round and round, but I still think
reading the english dictionary for delegates won't tell you the
whole story on Cocoa delegates.
There's also Wikipedia:
On May 19, 2008, at 11:21 AM, Greg Titus wrote:
[...]
I've worked in Java quite a bit in the past, and I disagree, but
more to the point: I've never done significant work in C# before,
so if that's an environment you are familiar with and you are
willing, I'd very much like to see what
Just an FYI,
NSXMLDocument's initWithContentsOfURL:options:error: and
initWithData:options:error: methods allow you to verify an XML
document using a DTD or XMLSchema XSD. One of the options you can
XOR is NSXMLDocumentValidate. As verifying against a DTD or XSD are,
pretty much, the
On 19 May 2008, at 13:29, Steven Hamilton wrote:
I have a core data master-detail interface that consists of a
sourcelist on the left and a tableview.
The source list displays object from a core data entity. THe table
view will be populated by a custom datasource as I have to do some
On Mon, May 19, 2008 at 1:33 PM, Peter Duniho [EMAIL PROTECTED] wrote:
Well, I'm still waiting for someone to show me how that flexibility is used.
I'll take that challenge. :-)
The flexibility of the Objective-C language runtime allow me to intercept
messages sent in either direction, and
I think I remember seeing a discussion of this issue before, but can't
seem to find it in the archives/Google. Pointers greatly
appreciated...
I'm working on a NSPersistentDocument-based CoreData app that was
developed on 10.4. We've since moved to the 10.5.sdk. The document in
this app spawns a
On May 19, 2008, at 1:27 PM, Jack Repenning wrote:
Does NSURLDownload end up using OpenSSL to certify? In which case,
it would run afoul of the problem that OS X OpenSSL ships with no CA
chain.
No; the NSURL stuff uses Apple's SSL engine (CDSA), which does not use
OpenSSL.
Nick
Am 19.05.2008 um 13:11 Uhr schrieb Peter Duniho:
I just don't see how declaring an interface and then using it is so
inferior to an informal protocol that it justifies the entire
message-dispatching paradigm, especially given that there are in
fact advantages to the former. At best, it's a
On 19 May '08, at 12:27 PM, Jack Repenning wrote:
Does NSURLDownload end up using OpenSSL to certify? In which case,
it would run afoul of the problem that OS X OpenSSL ships with no CA
chain.
No. None of Apple's security software uses OpenSSL; that library's in
the OS for
On Mon, May 19, 2008 at 8:18 PM, Jonathan Dann [EMAIL PROTECTED] wrote:
The way its
traditionally (and designed to be) used is that the tree controller is the
outline view's data source.
This statement is a little misleading: the tree controller is designed
to have bindings from the outline
On Mon, May 19, 2008 at 2:54 PM, Michael Vannorsdel [EMAIL PROTECTED] wrote:
There's nothing that guarantees a Cocoa delegate will act for another object
and that the represented object won't act how it wants as well. Sometimes a
delegate method is just a notification something
Hi Guys,
In follow-up to the last open invite I've had a couple of responses to
starting an NSCoder night. The proposed location is to vary between
Cardiff and Bristol, is anyone from the surrounding areas interested?
Please contact me off-list.
Look forward to hearing from you.
Jon
On May 19, 2008, at 12:51 PM, Andy Lee wrote:
* Interface Builder is sometimes given as an example of an app
that would be more difficult to write in, say, Java.
It's not - I did this in a past life, with Control-drag to form
connections, nib archive files and all that.
Best,
Date: Mon, 19 May 2008 20:31:02 +0200
From: Andreas Mayer [EMAIL PROTECTED]
This is (part of) a method that handles an AppleScript command send to
the application.
One possible argument is the color to be used for display:
- (id)handleDisplayCommand:(NSScriptCommand *)command
{
On May 19, 2008, at 4:29 PM, Jayson Adams wrote:
On May 19, 2008, at 12:51 PM, Andy Lee wrote:
* Interface Builder is sometimes given as an example of an app
that would be more difficult to write in, say, Java.
It's not - I did this in a past life, with Control-drag to form
connections,
Ditto, I'll surrender the last word to you. Though I'm interested to
know if the OP is having any success or not. This thread got a little
sidetracked.
On May 19, 2008, at 2:23 PM, I. Savant wrote:
I think that's the last I'll comment on the dictionary definition
matter; it's a silly
On May 19, 2008, at 1:54 PM, Michael Vannorsdel wrote:
I'm just saying Cocoa delegates don't always act in dictionary form.
I know this discussion can go round and round, but I still think
reading the english dictionary for delegates won't tell you the
whole story on Cocoa delegates.
1 - 100 of 150 matches
Mail list logo