On Feb 2, 2010, at 3:16 PM, Markus Spoettl wrote:
It goes something like this:
Filter using predicate A = arrangedObjects contains 4 objects (correct)
Filter using predicate F = arrangedObjects contains 0 objects (incorrect)
Filter using predicate B = arrangedObjects contains 2 objects
this case.
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
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.
Contact
is specifying a dirty rect as small as possible and restricting
the actual drawing to the area inside the rect whenever possible. May not be
relevant in your case as the bottleneck seems to be somewhere else.
Regards
Markus
--
__
Markus Spoettl
and implementing
-newItemForRepresentedObject: where you too can get access to the ItemView and
view for the object.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
/WinPanel/WinPanel.html#//apple_ref/doc/uid/1031
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
this because after suffering a minor heart attack reading your
post I thought it might be interesting for other readers as well.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
.
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
--
__
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
but it doesn't change the state permanently, at least I
wouldn't expect it to.
As I said, I can't imagine a purpose for this. That doesn't mean that there
isn't something I hadn't thought of - in which case I'd like to be enlightened.
Regards
Markus
--
__
Markus
: then?
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
special behavior - not that I know anything about who writes such
examples.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev
.
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
On Sep 18, 2009, at 10:30 PM, Lucien W. Dupont wrote:
On Tue, Sep 8, 2009 at 7:53 AM, Corbin Dunn corb...@apple.com wrote:
On Sep 7, 2009, at 5:25 AM, Markus Spoettl wrote:
On Sep 7, 2009, at 1:31 PM, Thomas Clement wrote:
Looks like an Apple bug.
http://kb2.adobe.com/cps/506/cpsid_50654
this, but I'd rather not
convert data he's not willing to upgrade just yet.
I guess my question is, is this the way to do it? Are there
alternatives?
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
NSDocument's innards, it sure isn't spelled
out as such a dangerous thing to do.
But point taken, I don't really know if its save to do what I do.
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
, Deployment target is 10.5
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
for helping.
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
(importDataPanelDidEnd:returnCode:contextInfo:) contextInfo:nil];
}
--
__
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
--
__
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
values. Just round x and
y of your destination rect and the image should appear sharp like
before.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev
the collection view scrolls down a row (unless
there is no item visible lower than the item that is clicked on).
Does anyone else see this issue?
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
selectionIndexes] for mouse selections did not
always work correctly in Leopard, but they do now in Snow Leopard.
Try breaking in the debugger on -scrollRectToVisible or -
[NSCollectionView setSelectionIndexes:] and you may discover what is
causing these problems.
-kp
From: Markus Spoettl
For those following: It turned out to be a bug in NSCollectionView
that surfaces if the collection view items can become first responder.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
into anObject
when returning YES - nil is valid therefore this should be OK.
The question is: Is this safe? Do I overlook an aspect that I'd better
not? Or even better, is there a simpler solution?
Regards
Markus
--
__
Markus Spoettl
smime.p7s
. Not
saying that you're like that obviously, it's just on way to explain
what you are seeing.
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev
setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
[[w contentView] addSubview:v];
[w setFrame:windowFrame display:YES animate:YES];
Warning, programmed in Mail.app
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
the item views
contained in the NSCollectionView when it's resized. There must be
some weird interaction going on. What happens if you disable the
resizing of the NSCollectionView item views?
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description
means calling functions too), you can also have JavaScript
functions call back into your own Objective-C code.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
).
Hope this helps!
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
with system
tools - probably because I don't know what to use.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
exactly what you say it doesn't do. Whether or
not it's called bonjour connection or something else doesn't really
matter.
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
NSDocument with an update-relevant-
parts-of-a-package-only saving mechanism? Thanks for any pointers!
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing
On Dec 31, 2008, at 12:57 AM, Kyle Sluder wrote:
On Wed, Dec 31, 2008 at 3:51 AM, Markus Spoettl
msappleli...@toolsfactory.com wrote:
My app stores a lot of data in a document, potentially hundreds of
megabytes. The problem with using single files and NSKeyedArchiver
is that
one has to write
On Dec 31, 2008, at 1:32 AM, Kyle Sluder wrote:
On Wed, Dec 31, 2008 at 4:16 AM, Markus Spoettl
msappleli...@toolsfactory.com wrote:
No I have not, but I have a feeling that it wouldn't be suitable.
The data I
store contains (when the document is big) millions of double values
(amongst
think about that. It's rather surprising
that NSDocument's save-as-copy-and-move strategy that works so well
for single files backfires so heavily in my case.
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 at cocoa-dev
On Dec 27, 2008, at 11:19 AM, Markus Spoettl wrote:
The crash goes away. However, I have a feeling that this may be pure
coincidence. Even more so as the crash also goes way if the node
inserted is not on that particular location in the tree or if
another node gets inserted somewhere else
-outlineView:sortDescriptorsDidChange: to propagate the
sort back to the model.
HTH,
It did! Thanks very much, sometimes is so incredibly difficult to see
the most obvious things.
Thanks again!
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
in -[NSControl mouseDown:]
#43 0x9499a1a3 in -[NSWindow sendEvent:]
#44 0x94966d49 in -[NSApplication sendEvent:]
#45 0x948c469f in -[NSApplication run]
#46 0x948918a4 in NSApplicationMain
#47 0x576c in main at main.m:13
--
__
Markus
a breakpoint in both and debug the app. When the
debugger hits the breakpoints you will see exactly who called it in
the call stack. You can then go a figure out if that was on purpose.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME
--
__
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
:@Bonjour
Mounter.plist]];
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
--
__
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
try if it's caused by the file name
somehow by renaming it to Localizable.strings and exchanging the
call to
NSLocalizedString(@kMDItemFSLabel, @My Comment);
Hope this helps.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME
names (and compound criteria descriptions), regardless of which
language is used.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa
very much for your 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 requests
Hi Peter,
On Oct 28, 2008, at 3:33 PM, Markus Spoettl wrote:
10/28/08 3:20:54 PM myApp[43721] Error parsing localization!
Key: %d %@
Value: %1$d %2$@
Error is: The maximum given order was 2, but nothing has order 1.
The localization part looks like this:
Never mind
--
__
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
without any problem. Since you have to have an array controller
to get the collection view its data there is no overhead in this method.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
defaultTimeZone] and then you can
get the offset with -(NSTimeInterval)secondsFromGMT.
That was what I needed, thanks Jason.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
there's a simpler way to obtain this.
I'm sure I'll be very embarrassed soon.
Thanks!
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa
- come to the conclusion that the system/
Cocoa retains windows and doesn't release them during app shutdown. Am
I mistaken?
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
in determining whether you're
leaking memory or not. -dealloc: may not be called because the system
decides it's better not to - or - because you have a bug in your
memory management.
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic
On Sep 13, 2008, at 1:32 AM, Seth Willits wrote:
You don't test for leaks by quitting your program.
Not true, I can think of many scenarios where you have no other choice.
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic
. I said there can be things that
only get deallocated during app termination. And for those things you
can't determine reliably (without knowledge of the inner workings of
app termination) why your objects are not being -dealloc:'d.
Markus
--
__
Markus
for that. Fact is as soon as I add observers to the objects that are
being represented by the collection view, things get excruciatingly
slow.
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 at cocoa-dev
of that kind that are being observed? If so, is
there a workaround?
Thanks for any input!
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa
On Sep 9, 2008, at 5:28 PM, Markus Spoettl wrote:
These numbers come from a test case with 140 objects, when I double
the object number, the test never finishes (at least not within 10
minutes).
OK, I did some more testing and timing and there is a solution - which
I don't understand
However, I think the OP's point was that the SDK - while it describes
what you need to do in order to get this into your DMG - offers no
tools or help to actually do it, it just outlines the major steps
involved.
Regards
Markus
--
__
Markus Spoettl
and
the object it represents and it can forward events of interest to the
item controller.
Not sure if that brings you any closer to a solution for your problem.
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
?
Not directly. You could implement a value transformer to turn a nil
value into a number 0, or (best of all) you could use a formatter to
prevent a user from entering a nil in the first place...
OK, thanks that will work.
Markus
--
__
Markus Spoettl
--
__
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-admins
not update.
How do you create the delegate and how do you create the fooClass/
someclass instance your object controller is bound to?
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
. More details here:
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_950_section_12.html#/
/apple_ref/doc/uid/TP30001163-CH3-TPXREF108
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
.
For some strange reason CTRL-TAB does work, I assume it causes some
completely different processing to take place that doesn't rely on the
NSView keyloop setup. Can anyone shed some light on this mystery?
Regards
Markus
--
__
Markus Spoettl
smime.p7s
this on previous OS versions.
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
--
__
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
don't worry about manually
updating the view -- it'll happen automatically.
Unfortunately that doesn't work because the preference is in a
different object, not the one holding the data.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S
it
would bring a lot of view into the model. I guess I don't have much
choice, either this or manual updating when the preference changes.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
things and could be done in a central controller that knows
which properties are dependent on the preference.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa
why?
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
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.
Contact
On Aug 15, 2008, at 11:39 AM, Markus Spoettl wrote:
On Aug 15, 2008, at 10:23 AM, Adam R. Maxwell wrote:
Sending empty willChange/didChange messages is not a good idea:
http://www.cocoabuilder.com/archive/message/cocoa/2008/5/18/207038
That thread gives absolutely no explanation as to why
--
__
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-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
--
__
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
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
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
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
.
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 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
301 - 400 of 480 matches
Mail list logo