SIBObjectData
> nibInstantiateWithOwner:topLevelObjects:] ()
> #856 0x906d4679 in loadNib ()
> etc...
>
>
> Thanks,
> Philip White
I seemed to have found what is causing the problem here. I had an NSTabView's
selectedIdentifier binding bound to File's
Owner.window.toolb
:] ()
#8540x90902ed4 in -[NSNibBindingConnector establishConnection] ()
#8550x906de819 in -[NSIBObjectData
nibInstantiateWithOwner:topLevelObjects:] ()
#8560x906d4679 in loadNib ()
etc...
Thanks,
Philip White
___
Cocoa-dev mailing list
f the toolbar items to become
disable; they get grayed out and don't accept clicks. Everything else continues
working in the window and this problem does not manifest on Snow Leopard.
Has anyone run across this problem before?
Thanks,
Ph
Hello,
I've tried using the following code to save an attributed string as a docx
file.
//the attributed string is 'contents'
NSDictionary *attributes = [NSDictionary dictionaryWithObjectsAndKeys:
NSOfficeOpenXMLTextDocumentType, NSDocumentTypeDocumentAttribute, nil];
NSRange range = {0,[cont
Hello,
In my app, in which I've implement various drag and drop mechanisms, I'm
getting calls to -pasteboard:provideDataForType: upon quitting if I've
performed dragging in my app. Of course, at such time, the drag being long
over, my app doesn't have the data to supply. I've verified that the
On May 15, 2010, at 2:31 PM, Philip White wrote:
I wrote this:
> -(void)display
> {
> /* seems to be unnecessary?
> NSGraphicsContext *context = [NSApp context];
> NSGraphicsContext *oldContext = [NSGraphicsContext currentContext];
>
clicks through transparent parts of windows. Just have to make
sure it doesn't end up in the Window menu and whatnot.
Thanks again,
Philip White
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
> If you can't get a direct answer to your question, could you create a
> subclass of NSWindow with a couple of very simple overrides:
>
> - (void) display
> {}
>
> - (void) displayIfNeeded
> {}
>
> You couldn't leave it out lest it muck with event handling, but you could
> order it in, positi
a window to immediately do its constraint checks? I've
poked around with FScript trying to figure something out but no luck yet.
Many thanks in advance,
Philip White
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post a
Hello,
Is it acceptable for an application to overwrite its own bundle, say as part
of an update? Assuming of course that it can get any necessary elevated
privileges? Or should I spawn a task that waits for the app to quit and then
overwrite it?
Thanks,
Philip
_
On Mar 10, 2010, at 12:42 PM, David wrote:
> Phillip -- Have you made any progress on this? I am trying to draw glyphs
> onto an NSBitmapImageRep using drawGlyphsForGlyphRange:atPoint: and having
> similar problems. In my case the symptoms are that underline and
> strikethrough are not being
how the layout manager positions glyphs vertically relative to the point
you give it? And how do I correctly size my image to contain the glyph?
Oh man, I've got to stop working on this now, I'm going to have glyph
nightmares tonight…
Many thanks,
Philip White
P.S. I'm doing
s returned by rangeOfComposedCharacterSequenceAtIndex: I
don't have any text mangling. That should solve my problem.
Thanks again,
Philip White
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator co
using diacriticals.
The problems in my actual program have been much more subtle than those in the
test program, probably because I haven't been applying different attributes to
each character.
Could someone give me some tips on what I'm doing wrong here or how I can avoid
this t
al/ObjCRuntimeGuide/Articles/ocrtTypeEncodings.html
but that link might be out of date.
Thanks,
-Philip White
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
27 PM, Nick Zitzmann wrote:
On Nov 16, 2009, at 12:15 PM, Philip White wrote:
Could someone point me to some examples showing how to respond to
open document events without using NSDocumentController?
<http://developer.apple.com/mac/library/documentation/Cocoa/R
Hello,
Could someone point me to some examples showing how to respond to
open document events without using NSDocumentController? I think I've
figured out that I need to register to receive those events with
NSAppleEventManager but I'm having trouble figuring out exactly how to
do this.
On Oct 9, 2009, at 12:51 PM, David Duncan wrote:
On Oct 9, 2009, at 6:48 AM, Philip White wrote:
I don't really know a lot about the inner workings of the print
system, but would anyone be able to tell me if this looks like it
is third party stuff (printer drivers?) or Apple stuff?
Ok, I guess I wrote these lines too hastily:
On Oct 9, 2009, at 11:02 AM, Philip White wrote:
That is the last my code hears of it, below is the stack trace from
that point to where the exception is thrown, it doesn't look like my
printing view ever gets sent a -drawRect: or any
On Oct 9, 2009, at 10:27 AM, Steve Christensen wrote:
A quick Google search came up with a reference to EPIJDataManager
that somehow relates to Epson printers. I couldn't find any other
info than that.
Oops, my Yahoo search came up with nothing. I guess there is a reason
Google is more
Hello,
A customer of one of my shareware programs has reported that my
program frequently crashes when he tries to print. No one else has
reported this kind of error. The stack trace he sends me includes the
following lines: (this is just some of them)
20 EPIJDataManager_Core_L
your delegate.?If so why
doesn't it just get passed again for convenience's sake?
Thanks for your time,
Philip White
P.S. Unless I'm mistaken (that's not unheard of), this behavior was
not present under Leopard, just Snow Leopard.
__
Hello,
I'm having some problems with an NSBrowser in my application upon
upgrading to Snow Leopard. The browser is a simple two column setup. I
have setup the delegate as an "active delegate" to use Apple's
parlance from their developer docs. So I implement
- (void)browser:(NSBrowser *)se
On Jun 5, 2009, at 5:12 PM, Douglas Davidson wrote:
As I understand it, what you want to do is not to affect layout at
all, but simply to cause certain glyphs not to be displayed. In
general this can be problematic, because without knowledge of the
font involved one can't necessarily g
xceptions are thrown, nothing changes.
Does this give anyone enough information to offer a suggestion?
Thanks,
Philip White
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Conta
't be user editable. I think your solution sounds very doable
and elegant.
Thank you everyone for the help on this,
Philip White
On Jun 5, 2009, at 5:12 PM, Douglas Davidson wrote:
As I understand it, what you want to do is not to affect layout at
all, but simply to cause certain gly
On Jun 5, 2009, at 4:58 PM, Martin Wierschin wrote:
Is there any easy way, maybe using NSGlyphInfoAttributeName, to
have a glyph not be drawn at all? Like maybe replacing it with some
kind of empty glyph?
You might read this post (and Aki's followup):
http://www.cocoabuilder.com/a
That is certainly possible, but it doesn't seem like the elegant
solution to me. I want the user to be able to turn these on and off at
will. I can keep a backup of the original text and work off of that,
but when texts start to be get long that will be a lot copying and
deleting of charact
Hi,
Well the text view is read-only for the user. I regret saying
"diacriticals". I actually want to hide niqqudot and tashkil in Hebrew
and Arabic. As far as I know, these are all separate characters.
On Jun 5, 2009, at 9:56 AM, Kyle Sluder wrote:
On Fri, Jun 5, 2009 at 8:36
Hello,
Is there any easy way, maybe using NSGlyphInfoAttributeName, to
have a glyph not be drawn at all? Like maybe replacing it with some
kind of empty glyph? You can't seem to get glyphs for invisible
characters, so I don't really know how to go about this.
I did a pretty extensive sea
aving an RTF file even if it
means a loss of attachments. Also, I have to double check on this, but
I think that only attachments and not other attributes make a save to
plain text fail.
Thanks,
Philip
On May 20, 2009, at 11:51 AM, Douglas Davidson wrote:
On May 20, 2009, at 10:46 AM, P
Hello,
I am hoping to use NSAttributedString's
fileWrapperFromRange:documentAttributes:error: to export text from my
program into a variety of formats. However, the routine fails
frequently when the NSDocumentTypeDocumentAttribute is set to
NSPlainTextDocumentType, to be specific, when
Many thanks!
I don't know how I got this far without ever putting a breakpoint on
objc_exception_throw...
-Philip
Hey Philip -
Have you tried running with a breakpoint on objc_exception_throw?
Looking at the backtrace when you hit the exception could shed some
light on what is happening
Hello,
I changed the target on my program from 10.4 to 10.5, built it
fine but now the following line of code fails:
[[self nib] instantiateNibWithOwner:self
topLevelObjects:&topLevelObjects];
where [self nib] is simply
-(NSNib*)nib
{
static NSNib *nib=nil;
if
34 matches
Mail list logo