moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/bagelturf%40mac.com
This email sent to [EMAIL PROTECTED]
Steve Weller [EMAIL PROTECTED]
Technical Writing, Editing, Devel
method returns an
unretained object".
How about "dependent" and "independent".
It it's dependent, they you have a responsibility for it, maybe many
times over. If it is independent, then you don't.
This also talks in terms of the relationship, not the means to
rning goes away.
Why is this addition needed? I don't see it used in other code. It's
as though the compiler believes that conformance to a protocol implies
that it exclusively provides those methods, which is not the idea of
protocol conformance at all.
Steve Weller [EMAIL
On Jul 8, 2008, at 8:55 AM, Mike Abdullah wrote:
On 8 Jul 2008, at 15:45, Steve Weller wrote:
On Jul 8, 2008, at 2:28 AM, Mike Abdullah wrote:
On 8 Jul 2008, at 07:10, Steve Weller wrote:
What I am attempting to do is not working. -valueForKey: does
not look for methods with
On Jul 8, 2008, at 2:28 AM, Mike Abdullah wrote:
On 8 Jul 2008, at 07:10, Steve Weller wrote:
What I am attempting to do is not working. -valueForKey: does not
look for methods with -respondsToSelector: to figure out if methods
exist sufficient to have KVC. So overriding this has no
+resolveInstanceMethod and actually
create the methods that are needed.
Steve Weller [EMAIL PROTECTED]
Technical Writing, Editing, Developer Guides, and a little Cocoa
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
I set up one
NSInvocation per method and select the correct one based on the
selector I am passed after dropping the arguments in as needed, then
transfer the return result back.
- Ben
Steve Weller [EMAIL PROTECTED]
Technical Writing, Editing, Devel
that
gives me the responsibility of creating and returning the proxy
NSArray that implements accesses to -countOfForKey: and -
objectInForKey:atIndex:
Is there a better way to be KVC compliant and yet create the methods
dynamically?
Steve Weller [EMAIL PROTECTED]
Technical Writing
Field is KVC/KVO-
compliant. That's generally true of most views listed in that
reference. Second, establishing a binding to a view is two-way,
while establishing non-view bindings is one-way.
It's time for mmalc to chime in and put everyone straight.
Steve Weller [EMAIL P
The hang up that I see is that this documentation give no clue as to
the reason for File's Owner's existence.
What problem does it solve?
Fundamentals mean nothing unless they read like a story: you have to
give each thing a reason to exist so that the reader has a place to
mentally hang
The documentation is for the most part oriented around the
implementation of the technologies offered (inside out view) rather
than the solving of the challenged faced (outside in view). For
experts this is no great barrier, because they are already arguably
inside. But see how this trips
Scott,
Thank you for taking time to reply. You must be getting pretty tired
of all this. Worse, this is not a documentation issue, it's an Apple
issue.
On May 20, 2008, at 11:51 PM, Scott Anguish wrote:
[helpful pointers and other parts snipped]
Ultimately, learning is a very personal
However you slice it and whatever your personal experience, I believe
that what we are experiencing with the docs are the early symptoms of
massive scaling of the problem vs. insufficient scaling of the
resources to tackle it. If anyone can fix this, it is Apple.
If you care to invest the t
On May 17, 2008, at 7:19 AM, Hamish Allan wrote:
On Sat, May 17, 2008 at 3:03 PM, colo <[EMAIL PROTECTED]> wrote:
F-Script [...] gives you the code to Create a window from scratch
and logically place the buttons on the window by coordinates. That
kind of "knowing" how to make a window without
On Apr 21, 2008, at 5:23 PM, Steve Weller wrote:
I my app I want to be able to use drawing paths for two purposes:
1. Clip images to the path
2. Generate points that lie on the path as a function of the
distance along the path
I want to be able to create paths with Omnigraffle or some
I my app I want to be able to use drawing paths for two purposes:
1. Clip images to the path
2. Generate points that lie on the path as a function of the distance
along the path
I want to be able to create paths with Omnigraffle or some other
vector-image app, and export them to PDF or EP
On Apr 19, 2008, at 5:58 PM, Johnny Lundy wrote:
Good evening,
I am having trouble understanding the bindings for NSPopupButton.
View: NSPopupButton
Controller: NSArrayController, just for the popup button
Model: NSMutableArray of NSMutableDictionaries.
I have the array controller bound to
.
//
-
- (void)imageBrowser:(IKImageBrowserView*)view removeItemsAtIndexes:
(NSIndexSet*)indexes
{
[imageBrowserArrayController
removeObjectsAtArrangedObjectIndexes:indexes];
}
On Fri, Apr 4, 2008 at 1:01 AM, Steve Weller <[EMAIL PROTECTED]>
wrote:
I am attempting to use bindings to
I am attempting to use bindings to supply an IKImageBrowserView with
data. I have successfully used IKImageBrowserView with a data source,
but cannot get bindings to work. Should it work with bindings?
The array controller's contentArray is hooked up to an NSMutableArray
called storedImag
Try looking at the source for TextEdit. TextEdit adds a pop-up at the
end of the horizontal scroller by overriding NSScrollView's tile:
method. You may be able to change the layout so that the end of the
NSScroller is clipped off.
On Mar 29, 2008, at 4:57 AM, [EMAIL PROTECTED] wrote:
Tha
On Mar 28, 2008, at 11:27 AM, Lincoln Green wrote:
I followed your suggestion, and it worked great! However, when I
delete the preferences file form /Library/Preferences/, my
application won't put up a window. Any suggestions to get around this?
Check the console window in Xcode and then st
On Mar 24, 2008, at 3:27 PM, Gerd Knops wrote:
Is there a way to programmatically connect to a NIB file and read
it's
outlets without changing my File's Owner? I have a color well in one
NIB (My Prefs NIB) and a window in another. I want the color well to
change the window's background. I hav
On Mar 21, 2008, at 2:31 PM, Cathy Shive wrote:
1, window is about to close (wish there was a more reliable place
to do this, but it has to be before dealloc):
windowController:
- (void)windowWillClose
{
[mViewController removeObservations]; // this causes the method to
be called all the
I'm going down this same path I think. I have a split view with a
browser and a document. The way I solve it is to have the window
controller have outlets to the scroll views of the two panes of the
split view. Then in the window controller I do this:
- (void)windowDidLoad {
[super wi
On Mar 18, 2008, at 8:31 PM, John Bishop wrote:
Anyone know how to change the printing page orientation or scaling
in Xcode 3.0 for data model diagrams (or any other printing task in
Xcode)? It used to be available in Page Setup, but that disappeared
in 3.0.
Thanks.
I would like to kn
Check out http://cocoacast.com/, in particular episodes 14, 15, 16 for
prefs (and notifications). The example they show does not use
bindings, but by binding the view objects you can scrap much of the
code.
Also see http://developer.apple.com/documentation/Cocoa/Conceptual/DrawColor/Tasks/S
I have a document-based application that has a custom view that fills
much of the content view. In that custom view I want to display a
"page" like a piece of paper. As the window is scaled, the "page"
scales. This all works either if I code the page as a part of the
custom view, or if I
On Mar 2, 2008, at 4:03 PM, Steve Weller wrote:
I have a custom view with a custom subview. I can't seem t make the
bounds of the subview stick. When the view changes the subview's
frame, I want the subview's bounds to stay exactly as I set them the
first time. The whole
I have a custom view with a custom subview. I can't seem t make the
bounds of the subview stick. When the view changes the subview's
frame, I want the subview's bounds to stay exactly as I set them the
first time. The whole point of having this subview is to have a
separate coordinate sys
On Feb 29, 2008, at 10:33 PM, Quincey Morris wrote:
A couple of small points:
-- It's not quite correct to use the superview's frame to calculate
a view's frame, since they are in different coordinate systems. You
really should use [[self superview] bounds], which is in the same
coordina
On Feb 29, 2008, at 4:00 PM, Steve Weller wrote:
I have a custom view into which I can draw a background color and a
centered rectangle. As the window is resized, the rectangle stays
centered and is clipped when the window gets small.
I want to define a canvas size slightly bigger than
On Feb 29, 2008, at 4:46 PM, Quincey Morris wrote:
On Feb 29, 2008, at 16:00, Steve Weller wrote:
- (void) setFrameSize:(NSSize)newSize
{
NSSize cSize;
cSize = [self canvasSize]; // Provides a size
// Use the larger dimensions of the two rects
if
I have a custom view into which I can draw a background color and a
centered rectangle. As the window is resized, the rectangle stays
centered and is clipped when the window gets small.
I want to define a canvas size slightly bigger than the rectangle and
have the scrollers appear when th
33 matches
Mail list logo