Trying to move from QTKit to AVKit. Compiling on El Capitan (at the
moment). So I have a handler that is arc and handles all the AVKit stuff
and compiled with the -fobjc-arc flag in the build phases... I create
and assign the handler to a document object using the myhandler =
[[MWArcHandler
, at 17:37, Matthew Weinstein mwein...@kent.edu wrote:
Trying to figure out how to get a pages selection range (offset and length)
for a pdfselection. I've been using the bounding rect, but if I have a
selection that is a sentence that crosses lines and terminates half way in
the last line
(of course). But if I just want the
offset and length, how do I extract that?
Frustrated
Matthew Weinstein
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
Dear devs,
I must be missing something obvious. Trying to find out the column (and row) of
the table cell that a user has just edited. I'm an observer of
NSControlTextDidEndEditingNotification, but selectedColumn seems not to work at
that point.
--MW
thank you that's it!
On Aug 30, 2013, at 10:44 AM, Kyle Sluder wrote:
On Fri, Aug 30, 2013, at 10:15 AM, Matthew Weinstein wrote:
Dear devs,
I must be missing something obvious. Trying to find out the column (and
row) of the table cell that a user has just edited. I'm an observer
So problem solved by having a subclass of QTMovieView check in overridden
performKeyEquivalent: whether it's firstResponder and returning NO if it isn't
and passing to super if it is.
On Sep 15, 2012, at 4:28 PM, Eric Wing wrote:
On 9/15/12, Matthew Weinstein mwein...@kent.edu wrote:
Dear
Dear programmers,
I have a window with a nstextview and a qtmovieview.. The problem is that the
movieview steals all of the keystrokes so the left and right arrow keys never
make it to the nstextview. I have tried subclassing qtmovieview and capturing
keydown and keyup, but that didn't work...
make the bookmark since i need an
absolute path (actually the documentation is wrong, it's absouteURl) to seal
the deal. Am I missing something? Must I force the user to save before
continuing. In the end, it just seems that all this security is getting in the
way of useability.
--Matthew
Dear cocoa-dev,
So I'm wondering how in the maze of sandboxed apps how to get my app to work
properly. What it does is wrap around pdf files so that they can be combined,
separated; etc. It doesn't actually change the original pdfs, just remembers
their locations, reads them in and then writes
outside of the approved
areas/domains (music, photos, documents(?) ) will ALWAYS require user
interaction.
Apple is really screwing us in this one.
I hope that Conrad is right with his suggestion.
On Jun 23, 2012, at 12:17 PM, Matthew Weinstein wrote:
Dear cocoa-dev,
So I'm wondering
if the users can't
substitute say this year's calendar for last year's.
On Jun 23, 2012, at 1:12 PM, Kyle Sluder wrote:
On Jun 23, 2012, at 12:09 PM, Matthew Weinstein mwein...@kent.edu wrote:
I think the temp.security thing will work, but I'm wondering what happens if
a user replaces a file
, 2012, at 1:22 PM, Kyle Sluder wrote:
On Jun 23, 2012, at 1:16 PM, Matthew Weinstein mwein...@kent.edu wrote:
The whole idea of the app is so that users can automate the combining of
different PDFs; users should be able to swap out different pdfs and then the
program will recombine them
a single product PDF
which is constructed by your app based upon metadata which describes the
specific component PDFs etc that the user has chosen. Those component PDFs
reside elsewhere than within your app space, correct?
On 2012-06-23, at 1:26 PM, Matthew Weinstein mwein...@kent.edu wrote
chosen. Those component PDFs
reside elsewhere than within your app space, correct?
On 2012-06-23, at 1:26 PM, Matthew Weinstein mwein...@kent.edu wrote:
Unfortunately that undoes the automation idea. The time saving here is that
by just re-saving the pdf, the app when the document
it programattically at the end
of the ...didLoadNib: method, nothing, doesn't work.
Ideas? Anyone else having pdfview lion problems.
Matthew Weinstein
Professor of Science Education
Education Program
U.W. - Tacoma
253 692-4787
matth...@u.washington.edu
Campus Box: 358435
1900 Commerce Street
Tacoma, WA
so it was activated by a button rather than the
windowController: same problem. There's a definite pdfview problem...
Solutions?
On Jun 14, 2012, at 5:08 PM, Graham Cox wrote:
On 15/06/2012, at 8:15 AM, Matthew Weinstein wrote:
It almost feels like the windowControllerDidLoadNib
You can't believe how easy that was to implement in cocoa:
[myThumbnailView setThumbnailSize: [myThumbnailView thumbnailSize]];
That's it; works like a charm.
On May 22, 2012, at 11:37 PM, Antonio Nunes wrote:
On 23 May 2012, at 03:53, Matthew Weinstein wrote:
I have a typical
; but I can't click on the thumbnails; they're there, but not
clickable, until I resize the window, then all is well.
Any idea of what's going on and what I need to do to liberate my
thumbnailview (I've tried sending a setNeedsDisplay:-- Nada).
Matthew Weinstein
in it and no images
Thoughts? Help?
--Matthew Weinstein
___
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
justifies the other way?
--Matthew Weinstein
___
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
Thanks for all the replies. Unfortunately NSNaturalTextAlignment doesn't seem
to affect the justification of the textfields. Try creating a simple project
and simply put a textfield and textview in the window in MainMenu.xib. Changing
the input to hebrew, running the program does change the
:
On Mon, 22 Aug 2011 12:39:01 -0700, Matthew Weinstein said:
I'm working on updating my app for lion. For the time being, just to get
users able to proceed I need to disable Lion's restore savedstate
default. I don't want Lion opening any windows (other than the ones I
open programmatically) when
:@ApplePersistenceIgnoreState];
On Aug 23, 2011, at 3:56 PM, Graham Cox wrote:
On 24/08/2011, at 4:25 AM, Matthew Weinstein wrote:
My approach has landed up being just as kludgy, and I'm really annoyed that
apple has made no way to opt out of this feature.
In Xcode 4, you can configure your scheme to have
how to do that in the api for
NSApp, am I missing something? I need the program to force this condition,
rather than leave it to users (I did find a way users can turn off this
feature).
Thanks in advance,
Matthew Weinstein
Creator of TAMS Analyzer___
I'm using a QTMovieView in my project and a user would like be able to zoom in.
Looking at the API there seems to be a
setZoomButtonsVisible: selector, but it doesn't seem to work on my set up. Does
this only work if they have bought QT Pro? I'm on the latest snow leopard, and
I notice it says
change or edit the helps system how do I get it to
use the new version.
Thanks,
Matthew Weinstein
___
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
return only?
Matthew Weinstein
Associate Professor of Science Education
Education Program
U.W. - Tacoma
253 692-4787
matth...@u.washington.edu
Campus Box: 358435
1900 Commerce Street
Tacoma, WA 98402-3100
Office: (253) 692-4787
FAX: (253) 692-5612
Sometimes wording confuses: I read send on enter as meaning send on
beginning rather than as the enter key.
Mathew
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
Dear Programmers,
I set both my tableView's actions and doubleActions programmatically in my
document's windowdidloadnib... I find that if I double click It calls both! Is
this expected behavior? Is there a method to this madness?
Matthew Weinstein
Associate Professor of Science Education
and applies that
action to a selection in a textview.
So it works fine. I just want to make sure that I'm not counting on a bug or
some other defect (in my very meager programming skills or apple's api).
On Jun 6, 2010, at 6:44 PM, Matt Neuburg wrote:
On Sun, 6 Jun 2010 18:12:07 -0700, Matthew
for any assistance.
Matthew Weinstein
Associate Professor of Science Education
Education Program
U.W. - Tacoma
253 692-4787
matth...@u.washington.edu
Campus Box: 358435
1900 Commerce Street
Tacoma, WA 98402-3100
Office: (253) 692-4787
FAX: (253) 692-5612
A solution to my own problem. This is from a category I created for
PDFDocument. Seems to work. The + and - 1's are strictly trial and error. Seems
to work, even with some pretty complex PDFS (created by comicLife, for
instance). Probably not the pithiest way to do this (ans is completely
I think I'm on the verge of success with my attempt to create a selection
rectangle (that doesn't select text) for pdfview, but I'm unclear what init
routines I should use in my pdfview subclass. -
(id)initWithFrame:(NSRect)frameRect doesn't seem to get called--as it does in
nsview.
Matthew
Aparently not. I did implement initWithCoder; it doesn't get called. Other
suggestions?
PS. I am using a nib.
On May 26, 2010, at 12:02 PM, cocoa-dev-requ...@lists.apple.com wrote:
ay 26, 2010, at 11:38 AM, Matthew Weinstein wrote:
I think I'm on the verge of success with my attempt to create
”.
Matthew Weinstein
Associate Professor of Science Education
Education Program
U.W. - Tacoma
253 692-4787
matth...@u.washington.edu
Campus Box: 358435
1900 Commerce Street
Tacoma, WA 98402-3100
Office: (253) 692-4787
FAX: (253) 692-5612
Dear progammers,
Thanks for all the help! Onto the next problem... Users need to be able to
select sections of a pdfView, and I need to be able to save and analyze the
selections (e.g., do they overlap). I also need to be able to restore the
selections later. So the question is, can I use
the
image.
So, is there some way of changing the behavior of the given PDFSelection, or do
I have to hand code this (using the Cropped image example code, for instance)?
On May 25, 2010, at 11:05 AM, Antonio Nunes wrote:
On 25 May 2010, at 18:32, Matthew Weinstein wrote:
Thanks for all the help
, Matthew Weinstein wrote:
The PDFSelection class as far as I can tell basically supports what in
Preview.app is the text tool on the toolbar. The selection tool in
Preview.app selects an arbitrary rectangle, even if there's no text behind
the image.
So, is there some way of changing
22, 2010, at 3:42 PM, James W. Walker wrote:
On May 22, 2010, at 1:26 PM, Matthew Weinstein wrote:
One important aspect of my app is teh ability to speed and slow audio (and
video playback). On the old NSMovieview this worked like an analog tape
machine: if you used NSMovieview setRate
Dear developers,
One important aspect of my app is teh ability to speed and slow audio (and
video playback). On the old NSMovieview this worked like an analog tape
machine: if you used NSMovieview setRate: it would slow the sound down smoothly
but make it lower; which is fine. Under the new
the file
the old junk is all there. The old array is not discarded and replaced with the
new (myRecs) array. So I cannot use NSKeyedArchiver like an NSMutableDictionary?
Hoping for clarity and possible approaches
Thanks,
Matthew Weinstein
Matthew Weinstein
Associate Professor of Science
, 2010, at 1:40 PM, Matthew Weinstein wrote:
The problem: The old @codedDataArray is not replaced! When I open the file
the old junk is all there. The old array is not discarded and replaced with
the new (myRecs) array. So I cannot use NSKeyedArchiver like an
NSMutableDictionary?
I’m
Dear XCode folk,
I'm sure this is obvious but it's got me stumped and googling has
produced no solutions.
The program always runs with the debugger when I launch with xcode
(3.1.4). It doesn't matter if I pick build and go or go; the debugger
always launches.
In previous versions (2.5)
The XCode problem was solved. Guard Molloch [sic] was the culprit.
--Matthew
___
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
fixes?
--Matthew Weinstein
___
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
It's associated with an NSDocument...
On Feb 6, 2010, at 9:41 AM, edole...@gmail.com wrote:
is it assoc with a view controller class?
--
Sent from the Verizon network using Mobile Email
--Original Message--
From: Matthew Weinstein mwein...@kent.edu
To: cocoa-dev
Still trying to find a way to turn off setAllowsMultipleSelection just
as the table becomes the responder. Is there some way of anticipating
this, a willbecomefirstresponder kind of a notification?
Thanks in advance, Matthew Weinstein
___
Cocoa
values of table B to be
selected; but I click on table B I want to make sure I can't select
multiple values
On Feb 2, 2010, at 8:53 AM, Corbin Dunn wrote:
On Feb 2, 2010, at 8:32 AM, Matthew Weinstein wrote:
Still trying to find a way to turn off setAllowsMultipleSelection
just as the table
I can't select
multiple values
On Feb 2, 2010, at 8:53 AM, Corbin Dunn wrote:
On Feb 2, 2010, at 8:32 AM, Matthew Weinstein wrote:
Still trying to find a way to turn off setAllowsMultipleSelection
just as the table becomes the responder. Is there some way of
anticipating
Dear cocoa-ites,
I have multiple linked NSTableViews in an app. Depending on which one
is clicked in the others change their contents. Now normally if
someone clicks on table 1 they should not be allowed to have multiple
selections; but if they click in table 2, the application needs to be
Hoping that there is somewhere a class or a demo of how to code for
nstextview and the like little objects like the mail addresses in the
to: line of apple mail. Hope someone can help; it would help bring my
app to a new level.
Matthew Weinstein
[EMAIL PROTECTED
for.
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSTokenField_Class/Reference/Reference.html
-Mike
On May 2, 2008, at 10:27 PM, Matthew Weinstein wrote:
Hoping that there is somewhere a class or a demo of how to code for
nstextview and the like little objects like
52 matches
Mail list logo