,
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
email: [EMAIL PROTECTED]
twitter: @benlachman
mobile: 740.590.0009
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
Yup, this is true as far as I can tell. I've got the event tap
installed, the issue is that I'm not able to pull any useful data out
of NX_SYSDEFINED typed events. Any thoughts on that?
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
email: [EMAIL PROTECTED]
twitter
questions, but I got decidedly lost
trying to follow the docs.
Ben.
___
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
Thanks! It isn't actually customizable enough, but I just used the IK
image resources to build what I needed.
Ben
On Apr 29, 2008, at 9:24 AM, douglas a. welton [EMAIL PROTECTED]
wrote:
Ben,
Have you taken a look at the IKSlideShow class in ImageKit? You can
see it demonstrated
:) and use
the slow -executeFetchRequest:error: if the result is NO.
--
-Ben
___
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
/
exit buttons). I might well have to write this myself, but before I do
so, I wanted to see whether anyone had open-source code I might use
instead. (A Google search didn't turn up anything.)
Ben
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
happens on Leopard. How can I get rid of this box?
Thanks,
-Ben
___
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
Help
Steve,
What's the error, what's in it's userInfo dictionary, and if you use:
future-break +[NSError errorWithDomain:code:userInfo:]
in gdb, what's the stack trace from the point that creates the error ?
--
-Ben
___
Cocoa-dev mailing list (Cocoa-dev
You can subclass the text view and returned an origin point from -
(NSPoint)textContainerOrigin. This will give you origin.x
+inset.width on the left and just inset.width on the right when used
in conjunction with setTextContainerInset.
-Ben
--
Ben Lachman
Acacia Tree Software
http
you
select the full row/column by clicking on the header. But this
should get you started, hopefully.
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
On Apr 18, 2008, at 1:55 PM, John Stiles wrote:
The docs
mouseDragged: handler
method call -scrollPoint: on self. The only tricky bit is figuring
out what point (in your view's coords) should become the origin of
its visible bounds.
I tend to like scrollRect:by: for this sort of thing since it takes a
offset to a rect.
--
Ben Lachman
Acacia Tree
On Apr 19, 2008, at 12:41 AM, Jens Alfke wrote:
On 18 Apr '08, at 8:59 PM, Ben Lachman wrote:
I tend to like scrollRect:by: for this sort of thing since it
takes a offset to a rect.
But that method just blits pixels around on the screen; it doesn't
actually change the coordinate system
mapping model,
since we don't assume that iterative upgrades will necessarily work.
If you're confident that composing your N+1 mapping models together
makes sense for your app, you can run N+1 migrations in a row to
avoid needing an umbrella mapping model.
--
-Ben
in entity mode is basically
doing this, plus observing some of the managed object properties
directly with KVO.
--
-Ben
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
could do mixing this stuff with dtrace ...
--
-Ben
___
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
Help/Unsubscribe
if you ever have to share your code or go just back and read it
in a year you'll have less work understanding it.
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
___
Cocoa-dev mailing list
];
[self setTextColor:oldColor];
Which saves the original color, set the color of the text to white,
draws it and then restores the original color. Calling super's draw
method just draws the cell as it would normally given the current
settings (color, title, etc.).
HTH,
-Ben
returns by selectedRange(s) doesn't
contain the NSNotFound marker as well.
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
On Apr 12, 2008, at 8:49 PM, Michael Vannorsdel wrote:
The textStorage of the NSTextView is actually
probably be
easiest, either checking against NSAppKitVersionNumber or calling
Gestalt() to get the OS version.
There's something you can put in the Info.plist that does this for
free. I forget exactly what it is but I'm sure it's easily found.
LSMinimumSystemVersion is the key.
--
Ben
inView:(NSView
*)controlView {
return nil;
}
@end
HTH,
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
On Apr 10, 2008, at 8:47 PM, Eric Gorr wrote:
On Apr 10, 2008, at 8:30 PM, Corbin Dunn wrote:
Playing with this a bit more
Look at:
http://katidev.com/blog/2008/02/22/styling-an-nstableview-dttah/
but make sure you read the comments. John Randolph's comments are
worth considering.
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
On Apr 10, 2008, at 12
in terms of time-to-deployment. If you need specifics, just
compare the documentation of RBSplitView and NSSplitView.
I continue to use Rainer's implementation every time I need a split
view.
Hope that helps,
Ben
On Apr 6, 2008, at 10:21 PM, Peter Zegelin wrote:
I am quite new to Cocoa and have
looking at setShowsStatesBY: and
setHighlightsBy: should suffice to solve your problem. Also make
sure you look at all the constants that are valid, not just the ones
the developer docs talk about (NSNoCellMask and siblings).
-Ben
--
Ben Lachman
Acacia Tree Software
http
I have a few contextual menus that have items that are generated
dynamically and are bound in code to my model. I'm not sure if/when
I should unbind them however. Is there a good place to do this? Do
I even need to?
Thanks,
-Ben
--
Ben Lachman
Acacia Tree Software
http
There was quite an extensive conversation about this a couple days
ago. Try to check the archives before posting...
http://www.cocoabuilder.com/archive/message/cocoa/2008/3/30/202687
and following
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED
On 1 Apr, 2008, at 11:49 am, Ron Fleckner wrote:
On 01/04/2008, at 9:28 PM, Ben Dougall wrote:
Hello,
What's the best way to test if another app has likely hung or not?
Programmatically of course. I want to be able to kill an often
hanging app and restart it -- when it's hung
NSPushInCellMask unless you look at the state masks
leading me to believe that it wasn't a supported value for
setHighlightsBy:. Anyway, hope this helps someone at some point.
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
On Mar 20, 2008, at 5
On Mar 31, 2008, at 2:47 PM, Jeff LaMarche wrote:
On Mar 31, 2008, at 2:36 PM, David wrote:
On Mon, Mar 31, 2008 at 2:26 PM, Jeff LaMarche
[EMAIL PROTECTED] wrote:
4) You can, as Ben mentioned, use performSelector:onMainThread: to
actually have the object inserted on the main thread's
, feature requests ...
Do you consider the threading behavior in bindings and Core data to be a bug?
This is about what you consider to be suboptimal.
--
-Ben
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
(): NSZoneMalloc
failed! (EXC_BAD_ACCESS). I had assumed that this was just a memory
management bug on my part, but the fact that I can basically turn the
crash on or off based on whether I call scrollRangeToVisible has me a
bit confused. Anyone know what this could be?
-Ben
--
Ben Lachman
document are effectively invalid.
--
-Ben
___
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
Help/Unsubscribe/Update
Daniel,
Each NSOperation is, conceptually, its own thread. In addition to
using NSInvocationOperation to easily dispatch a work function to an
object, you'll also need to follow the multi-threading rules
described in the Core Data Programming Guide.
--
-Ben
to
handle it, but it seems as if the migration system should handle the
inheritance.
I'll trade you a bug report for a work around.
--
-Ben
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
more sophisticated things with a Core Data
sqlite store that is effectively a cache of a subset of the server's
database.
But there's no back end support for MySQL or Postgres besides what
you do for yourself.
--
-Ben
___
Cocoa-dev mailing list
object relationships.
Exactly. Now that's an idea that can scale.
--
-Ben
___
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
David, Jeff, Ben
There are a few issues here.
First, enough pieces of AppKit and Cocoa Bindings are not thread safe
that, even without Core Data, you just can't do this in this
particular fashion.
If you want multi-threaded work with the view and controller classes
in Cocoa, you'll need
On Mar 30, 2008, at 7:50 PM, Ben Lachman wrote:
I'm guessing the bugs really should be filed on the documentation
since one page on performance of a highly complex API like CD is
nowhere near enough. My guess is that documentation doesn't get as
many bugs as it should since
but are there any walk through examples
of creating a Cocoa Touch interface in IB?
Thanks,
Ben
___
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 the rest of it, it's hard for me to say
if this is the expected stack depth or not. It may be a problem with
one of your custom observation methods not coexisting happily with
faulting, but it's a bit hard to tell from this excerpt.
--
-Ben
On Mar 28, 2008, at 7:38 PM, Dennis Lorson wrote:
On 28 Mar 2008, at 20:24, Ben Trumbull wrote:
The problem I'm having arises when selecting all images at once
(Command+A), if they are fairly large in number (in my store:
~2000).
This takes an enormous time that is definitely O(n
a user's press. Is there a way to get a similar
effect on Leopard without using an alternate image (some of my
buttons already have alternate images)?
Thanks,
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
Make sure the field editor isn't getting in the way. The field
editors inserts itself into the first responder chain and grabs
textual input during editing.
http://developer.apple.com/documentation/Cocoa/Conceptual/
TextEditing/Tasks/FieldEditor.html
HTH,
-Ben
--
Ben Lachman
Acacia Tree
/releasenotes/Cocoa/CoreDataReleaseNotes/index.html
--
-Ben
___
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
Help
. However if I call performClick: on them the button
updates as it should. Is the only solution to this to implement
mouse tracking at the view instead of at the cell level?
Thanks,
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
on this topic (rdar://
5804311).
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
On Mar 17, 2008, at 4:25 PM, Ken Ferry wrote:
On Mon, Mar 17, 2008 at 8:49 AM, glenn andreas [EMAIL PROTECTED]
wrote:
On Mar 17, 2008, at 1:42 AM, Ben
I found the problem. I was having the speech synth speak a tag line
before the main string and was getting the didFinishSpeaking: call
back when the tag was cut off by the main string starting to be
spoken. Thanks for confirming that it was my own fault. :-)
-Ben
--
Ben Lachman
Acacia
];
Hope this helps,
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
On Mar 13, 2008, at 4:50 PM, Tom Harrington wrote:
I'm trying to upload a file with the NSURL* API, but on the server end
the PHP code is unable to decode the $_FILES array
as CoreData is
concerned... and I'm guessing mmalc has some experience with this.
-Ben
*excepting ZFS, etc.
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
___
Cocoa-dev mailing list (Cocoa-dev
;
} else {
toggle = YES;
}
...
Thanks to all those who responded to my original post. Hopefully
this will help someone else down the road.
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
On Mar 5, 2008
animation
synced with speaking text and if I can't find out when the speech is
done I'm not sure how I'm going to advance the animation at the
correct time.
Thanks,
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
://lists.apple.com/mailman/options/cocoa-dev/minustheben%40gmail.com
This email sent to [EMAIL PROTECTED]
--
Ben Hatfield
[EMAIL PROTECTED]
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
:]
--
-Ben
___
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
Help/Unsubscribe/Update your Subscription:
http
, build dependencies, and run a fully
concurrent merge sort this way.
--
-Ben
___
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
rects that don't always account for some
newly wrapped lines. Has anyone run into anything like this? Or is
there a better way of getting the location of a range of characters
than using this method?
Thanks,
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL
catches it and quits the process (either in the debugger or
normally).
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
];
else
return nil;
}
Perhaps not the most efficient, but work for my 10-15 concurrent
often changing connections.
HTH,
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
On Mar 10, 2008, at 9:22 AM, Clint Shryock wrote:
Do
On Mar 10, 2008, at 9:52 PM, Jens Alfke wrote:
On 10 Mar '08, at 6:35 PM, Ben Lachman wrote:
Alternatively, if you're managing more than two requests at a time
you can declare a mutable array of connections and then build a
dictionary for each connection that includes any info you want you
though.
Thanks,
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
On Mar 7, 2008, at 4:49 PM, Kyle Sluder wrote:
On Fri, Mar 7, 2008 at 4:31 PM, Ben Lachman [EMAIL PROTECTED] wrote:
In my custom view I call [NSMenu
.
TIA,
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
your drawRect: method. In any case it was
a nasty hack to get correct looking functionality and I'm actually
more interested in figuring out what is causing the double drawing
than hack a fix on top of it.
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL
--
-Ben
___
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
Help/Unsubscribe/Update your Subscription:
http
If you have any performance data showing problems with internal db
fragmentation (i.e. sqlite3 dbname 'vacuum' fixes it, but cp
doesn't), we'd love to hear about it.
Thanks, Ben, for this informative response. So what you're saying,
in summary is:
1 - Vacuuming on every save
to -willChangeValueForKey:) ? Do you see
notifications from the MOC when you initially make the change ?
Are you undoing programmatically or as a user ?
The undo behaves the same as before I added any notification
processing however.
That suggests the problem lies elsewhere.
--
-Ben
into something like this or
have any pointers?
Thanks,
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
I'm trying to use a tabless NSTabView in IB3. Before Leopard, you
could double-click the space towards the top of the view and select
the tabs, even though there was no visible tab. I also believe there
was a control in the inspector to specify current tab? Anyway, none of
these methods
Yea, I know that. But shouldn't there be a more accessible way? I
don't use the browser/outline view much and it used to be much easier
to change between tabs.
Ben
On Mar 4, 2008, at 11:10 AM, Benjamin Stiglitz wrote:
I'm trying to use a tabless NSTabView in IB3. Before Leopard, you
Bill,
On Mar 2, 2008, at 5:35 PM, Ben Trumbull wrote:
My question is, why would changing a property value cause another
property to have its retain count increase?
No idea. Why don't you run it in gdb and break on the -retain
method and get some stack traces ?
This works best
] BackgroundView: setsNeedsDisplay:NO
**Top of Run loop**
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
On Feb 29, 2008, at 5:52 PM, Ken Ferry wrote:
I don't see a problem in your drawRect: code, so it'd be in something
count is an implementation dependent value and not really meaningful
API.
- Ben
___
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
be to implement a custom field editor, but I think this would
probably end up being a lot more work.
Hope this helps,
-Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
On Feb 26, 2008, at 11:11 PM, Sean Willson wrote:
i've created
601 - 670 of 670 matches
Mail list logo