]
Great, thanks Rob!
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev
On Apr 1, 2008, at 5:57 PM, Rob Keniger wrote:
http://developer.apple.com/samplecode/SourceView
Excellent, thanks Rob!
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev
works with a NSWindowController instead of NSDocument and does not
produce this log entry) Thanks for any pointers.
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
On Apr 10, 2008, at 6:07 PM, Markus Spoettl wrote:
If I interpret this correctly I'm removing my tree content from
under the NSTreeController while it's still using it. If found that
when I add
[treeContent removeAllObjects];
Small correction this (calling removeAllObject) doesn't
is reported in the log entry to
be unexpected. I get as many warnings as root node entries in
treeContent but none for child objects further down the hierarchy.
Markus
--
__
Markus Spoettl
___
Cocoa-dev
insertObject is
called and also adds rootnode to treeContent. Again, at least that's
what I thought. There is no other place in the code that deals with or
releases/retains TreeNode objects.
Regards
Markus
--
__
Markus Spoettl
://developer.apple.com/samplecode/SourceView
and I thought they would know what they're doing. I'm not sure what to
think now. Anyway, thanks again!
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing
to really do this -
it's the sample project I got this code from.
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
to 10.5 and the final application runs on a pre
10.5 system? Will it crash, will the scaling functionality just don't
work or will the user get lots of error messages when starting the
application?
Regards
Markus
--
__
Markus Spoettl
it in the OutlineView (right?).
So how do I determine the outline item for a data node? I hope this
makes any sense at all. I feel like a bloody beginner.
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa
.
representedObject is what I couldn't find. Thanks very much once again!
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
view has a couple of objects it has to allocate, the initializer
being the best place.
I'm using Xcode 3.0 on 10.5.2
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
breakpoint in initWithFrame: it doesn't get called. Is
there something wrong with this?
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
on 10.5.2
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
the mistake I'm making, please help. Thanks!
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
the automatic
retain release handing. thanks for pointing that out.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
or
notifications for NSCollectionView, so I'm wondering how one gets
notified about things like that.
I have a feeling there's something I'm overlooking here. Is there?
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic
: not too
late?
Thanks for you help!
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
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
on 10.5.2
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
Hello again,
On May 23, 2008, at 1:20 PM, Markus Spoettl wrote:
I have an NSCollectionView set up with bindings to visualize an
NSMutableArray. When I call arrayController:setContent: the view
(which initially doesn't have a content assigned) displays the
items. So far so good
selector:@selector(func2:)
object:anObject];
func2 had 1 parameter (type id). Voila, it worked.
The question is, was this my fault?
Regards
Markus
--
__
Markus Spoettl
On May 31, 2008, at 1:19 AM, Michael Vannorsdel wrote:
If you method is something like:
- (void)func1
then you should use @selector(func1) without the colon.
Indeed. Thank you.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME
value stored. The part about NSScanner indicates that
NSString:doubleValue is what I want, is it?
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
Items at some point? It should be something like:
Items = [[NSMutableArray] alloc] init];.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list
focus cycling?
The behavior is also visible in Apple's IconCollection demo at
http://developer.apple.com/samplecode/IconCollection/index.html
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
On Jun 3, 2008, at 11:25 PM, Brian Christensen wrote:
On Jun 4, 2008, at 2:01 , Markus Spoettl wrote:
The window's frame is an animatable property, so you could try
something like this:
WOW that is very impressive. I didn't imagine it was that easy, thanks
so much for the quick help
, thanks for mentioning. The window that I
animate doesn't resize and the controls on it don't use springs so it
appears to be safe in this respect.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
:(NSTrackingCursorUpdate |
NSTrackingActiveInActiveApp)
owner:self userInfo:nil];
[self addTrackingArea:cursorTrackingArea];
NSLog(@tracking area updated);
}
}
@end
--
__
Markus Spoettl
smime.p7s
: message is only sent to the view if its window is key.
That's a problem in my case because the window is not and cannot
become key.
Anyway, thanks for your help.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
up all the child view frames.
The split view prints debug logs when you do something that is
completely wrong, so that helps.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
problems when it's not visible and the data changes (I get debug log
entries about assertion failures in NSView lockFocus).
Thanks
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
On Jun 18, 2008, at 11:25 AM, Kyle Sluder wrote:
On Wed, Jun 18, 2008 at 2:13 PM, Markus Spoettl
[EMAIL PROTECTED] wrote:
2) I also noticed that when I use the NSPropertyListXMLFormat_v1_0
instead
of binary, the process speeds up considerably, taking just below 10
seconds.
The problem
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
)?
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
or
not. Iit would be nice to see a warning in the documentation if such a
design limitation really exists - it may be a bug.
Anyway thanks for your input!
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
10.2. Also they don't play well with changes to the data structure,
both very good reasons to stay away.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa
;
}
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
it. The Extended Details pane toggles on and off using a button
(on the bottom toolbar). When collapsed there is no divider visible
and you can expand it by using the button only.
Is that something I can do with NSSplitView? If so, how?
Regards
Markus
--
__
Markus
to do this there is a new -
splitView:shouldHideDividerAtIndex: delegate method you can
implement.
Ahhh. That's great, I just tried. Thanks so much for the tip!
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
guess I didn't think of that, thanks for the tip. There's actually a
better way that Milen pointed out, though.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa
On Jun 21, 2008, at 7:53 PM, Andreas Mayer wrote:
There's actually a better way that Milen pointed out, though.
If you don't need to support systems earlier than 10.5, yes.
Yes, that's right. I forgot to mention that.
Regards
Markus
--
__
Markus
couldn't say when it will be
released, though.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
?
Thanks for any pointers!
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
of the
question (only Apple might be able to answer). I should have been more
careful when asking. Sorry.
Thanks for your suggestion!
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
own UI management code that loads and saves data.
10) Repeat steps 7-9 for each row you need to display.
In your case you would have an array of MyViewControllers than let you
access the individual rows.
Hope this helps.
Regards
Markus
--
__
Markus
your view when the window looses key-ness.
Excellent, thanks for the information! Works perfectly.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev
not sure NSView is supposed
to do this automatically by default. Anyway, thanks for the warning,
I've changed my view to get notified explicitly.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
? Some way to ask the
system not to fire a tracking event when a new event has arrived prior
to the delivery of an existing one?
Thanks!
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
: on the hosting window. That means the
window has to do something for all views on it when only this one view
needs tracking. I thought that was a little overkill. Plus tracking
areas are really elegant.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
the view is as
responsive as expected. Thanks for pointing me in the right direction!
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
definitely not the
drawing code.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
On Jun 26, 2008, at 6:11 PM, Kyle Sluder wrote:
Well you've avoided the problem, but you should still remove the
condition on -needsDisplay. It's semantically incorrect.
I did that (I thought I mentioned that).
Regards
Markus
--
__
Markus Spoettl
in -[NSApplication run]
#26 0x915f3030 in NSApplicationMain
#27 0x394c in main at main.m:13
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev
, is there complete list of method names or is it just all
NSMutableArray methods that contain Objects in their name with
Objects replaced by key ?
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
, only an explanation of
what has happened and why I asked the question I am asking.
The real question is if there is a list of accessor methods that can
be implemented optionally so you don't run into this accidentially as
I did.
Markus
--
__
Markus
an NSUndefinedKeyException, but you
can override it in your application.
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
of.
More information here:
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/MemoryManagementRules.html
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
to hear your insight.
Regards
Markus
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
:(NSEvent *)theEvent
{
mp = [self convertPoint:[theEvent locationInWindow] fromView:nil];
[self setNeedsDisplay:YES];
}
@end
--
__
Markus Spoettl
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
that since startFrom.size is {0,0} this causes trouble with
controls that auto-size based on the window's size.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
0x9545680b in +[NSURLConnection
sendSynchronousRequest:returningResponse:error:]
#29 0x9554fe56 in -[NSXMLDocument initWithContentsOfURL:options:error:]
#30 0x0003d601 in -[RubiData(Import) importFromFile:] at RubiData
+Import.m:257
--
__
Markus
because they most certainly will ignore
the issue unless I produce a test application that recreates the crash
reliably (which could be tricky).
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
). Obviously assembling it myself wouldn't be a big deal but
I'm sure there's a function for that somewhere already. Is there?
Thanks
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
/.
Thanks Ken.
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
of this setting.
Am I not supposed to release the window controller in the document
even though I create it?
Thanks for any pointers!
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
On Jul 20, 2008, at 11:53 PM, Markus Spoettl wrote:
I'm having some problems with memory management of a window
controller in a standard NSDocument based application. The problem
is that my window controller gets released through an autorelease
pool after the document has been deallocated
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
should and you
are better off adding a third object that handles both.
Agreed, if it's in your own power and you know what your structure
looks like it's simple.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
discusses retain cycles and the use of weak
references to break them.
Thanks for the link.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list
programming
techniques - which is what I was wondering about.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
suggestion.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
, it's usually retained. Exceptions from this
norm should certainly be documented - like it is with delegates.
That basically answers the original question I had, but things can get
complicated and details become important.
Regards
Markus
--
__
Markus
.
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
be
grateful is someone could push me in the right direction.
Thanks!
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
On Aug 1, 2008, at 4:42 PM, Markus Spoettl wrote:
Thanks, that looks pretty good. I can't get it to work with binding
right now, not sure why that is. When I bind to a bool property of
the item object (which is KVC compliant) I get this logged:
8/1/08 4:06:37 PM myApp[1280] [NSTableColumn
with issues.
Thanks for the progress implementation, works nicely!
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
within a change notification
(via observing -selectedObjects of the tree controller) has no effect.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev
On Aug 7, 2008, at 2:34 PM, Markus Spoettl wrote:
Basically I'd like the outline view only to change selection to
other items, but not completely deselect all items. Is there a way
to do this?
Sometimes things are really simple but I still fail to see them:
[outlineView
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
On Aug 14, 2008, at 3:28 PM, Kyle Sluder wrote:
On Thu, Aug 14, 2008 at 6:21 PM, Markus Spoettl
[EMAIL PROTECTED] wrote:
So how can I manually make the view update? It seems so simple but
I can't
figure out how to do this.
I can think of a couple of ways:
1) When your preference changes
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev
1 - 100 of 480 matches
Mail list logo