Thanks a lot, It worked! :-)
I was creating a custom window, and wanted to make the close/minimize/zoom
buttons to behave naturally.
The only thing that isn't working in my custom window - is the
click-through on the [NSWindow standardWindowButton] button (I am using a
fake titlebar).
Whenever
Hi All,
within my application i have a screen where exists and NSBrowser as well as an
NSTableViews. can someone please let me know we can implement dragging items
from the browser to the table view.
any source reference on this would be very helpful.
Thanks in Advance,
Sandeep.
Hello all.
Im wondering if animating handwriting is somehow possible to do, I
have been looking but I find only how to do it in flash.
Can somebody give me some headlights in the right direction so I can
start digging into?
Thanks a lot.
Gustavo
___
I'll try to play with this a bit more using your suggestions. My issue is I
click a button and a panel with the tableview launches, and if my mouse if over
where that tableview launches the tooltips will not show. Even if I scroll
around to different areas of the tableview the tooltip will
If you're writing with the mouse the following might help. It isn't done,
still needs some sort of check in the drawRect method to know when you've drawn
all the segments and you;ll need to adjust x/y values to the view you're
drawing in, but it will get you started.
- (void)
Look at the datasource API for each view. They both have methods for writing
and reading to/from the pasteboard.
On 23 Jun 2011, at 09:38, Sandeep Mohan Bhandarkar wrote:
Hi All,
within my application i have a screen where exists and NSBrowser as well as
an NSTableViews. can someone
Hi All,
I have a UIScrollView that contains a single UIView.
I have a couple of buttons in the toolbar that let me rotate the UIView in 90
degree increments.
When the rotation is 0, zooming via the pinch mechanism works fine.
When the rotation is 90 or 270, zooming via pinch does nothing.
When
Helo Ken.
Thanks for answer,
I meant, I have some title string already, and I wish to be able to
animate as if its being written at the moment, also I forgot to
mention that this is for iOS.
Once again thanks for the reply.
I will still check your code and see how maybe I can apply what I
need.
Hello all.
I have been checking 2010 video about using UIScrollView with images,
zooming etc. Thye use CATiledLayer and doing some calculations they
now what tile to load depending on the scale, so the performance its
quite good and memory usage its as low as possible.
Now Im wondering, if I
I'm running into a problem in 32bit builds with NSScrollView scrolling past the
24 bits of CGFloat (float in 32bit, double in 64bit builds).
Is there any way to specify a 'Screen Sized' (ie. float range) documentView and
an int64 offset (or something similar), so that my drawing of the
Hello,
I have a submenu of the File menu that gets loaded with menu items on
awakeFromNib().
Problem is that the method that does the menu item enabling is not being called
on the submenu's items and so they are not enabled.
I implemented the validateUserInterfaceItem() method in a class and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 6/23/11 6:50 AM, Gustavo Adolfo Pizano wrote:
Helo Ken.
Thanks for answer,
I meant, I have some title string already, and I wish to be able to
animate as if its being written at the moment, also I forgot to
mention that this is for iOS.
Hello.
Yes kinda.
G.
On Jun 23, 2011, at 6:34 PM, Conrad Shultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 6/23/11 6:50 AM, Gustavo Adolfo Pizano wrote:
Helo Ken.
Thanks for answer,
I meant, I have some title string already, and I wish to be able to
animate as if its
Is this a correct interpretation of what you're trying to do? You have a title
string that will be drawn in a handwriting font. You wish to reveal each of the
letter strokes over time as if someone were actually writing the title on a
piece of paper.
On Jun 23, 2011, at 9:45 AM, Gustavo
YES.
:D
On Jun 23, 2011, at 7:10 PM, Steve Christensen wrote:
Is this a correct interpretation of what you're trying to do? You have a
title string that will be drawn in a handwriting font. You wish to reveal
each of the letter strokes over time as if someone were actually writing the
Message: 6
Date: Thu, 23 Jun 2011 16:18:25 +0200
From: Gustavo Adolfo Pizano gustavxcodepic...@gmail.com
Subject: about tiling images.
I have been checking 2010 video about using UIScrollView with images,
zooming etc. Thye use CATiledLayer and doing some calculations they
now what tile
On Jun 23, 2011, at 10:17 AM, Daniel Luis dos Santos wrote:
Hello,
I have a submenu of the File menu that gets loaded with menu items on
awakeFromNib().
Problem is that the method that does the menu item enabling is not being
called on the submenu's items and so they are not enabled.
ken,
thanx for your responses. i had already discovered and tried
addLocalMonitorForEventsMatchingMask:handler: and as you point out in your
second reply, it does not work because live resizing is running its own event
loop.
overriding sendEvent would work if i detect a mouse down in the
Hi All,
Any reasons why this method will not get called. Please find below the list of
steps that i have taken
1) Connected the dataSource outlet of the Table View to my files owner.
2) Registered the dragTypes for the Table View
3) Did the delegate bindings for the Table
4) Implemented
On Jun 23, 2011, at 2:23 PM, Sandeep Mohan Bhandarkar wrote:
3) Did the delegate bindings for the Table
Do you mean that you set up Cocoa bindings? Generally if you use bindings to
the table columns, those are used instead of the data source. You wouldn’t want
to do both. (Or do you just
Hi Ken,
On Jun 23, 2011, at 4:12 PM, Ken Victor wrote:
so… anyone have any other ideas as to how to get called for a modifier key
change will in the midst of a live resize?
I'm a bit confused as to why this would be helpful? Why is
-windowWillResize:toSize: too late for your needs? Your
Sandeep Mohan Bhandarkar wrote:
Have i missed anything else...??
All the protocol's methods are declared @optional. That means the
compiler won't check whether you've spelled your implementation's
method-name correctly. I have seen more than one case where it was
misspelled, despite
Hi Jens,
I have just wired up the delegate outlet and for the second query. The count
shows up as zero but will this be the reason for the method not getting
called...?
Regards,
Sandeep.
On Jun 23, 2011, at 2:34 PM, Jens Alfke wrote:
On Jun 23, 2011, at 2:23 PM, Sandeep Mohan Bhandarkar
On Jun 23, 2011, at 2:46 PM, Sandeep Mohan Bhandarkar wrote:
I have just wired up the delegate outlet and for the second query. The count
shows up as zero but will this be the reason for the method not getting
called…?
Yes. If there aren’t any rows, the table view won’t need to ask for
Yeah. checked it out by hardcoding a value of 2 in the rows returned now the
method seems to be getting called. Thank you for your assistance jens.
Regards,
Sandeep.
On Jun 23, 2011, at 2:49 PM, Jens Alfke wrote:
On Jun 23, 2011, at 2:46 PM, Sandeep Mohan Bhandarkar wrote:
I have just
On Jun 23, 2011, at 2:40 PM, Ken Thomases wrote:
Hi Ken,
On Jun 23, 2011, at 4:12 PM, Ken Victor wrote:
so… anyone have any other ideas as to how to get called for a modifier key
change will in the midst of a live resize?
I'm a bit confused as to why this would be helpful? Why is
On Jun 23, 2011, at 14:55, Ken Victor wrote:
lets say the user had been resizing the window without any modifier keys
pressed, but then realized what s/he really wanted was to resize in only one
dimension or to maintain the window’s aspect ratio, so now s/he presses
either shift or shift
HI Mike,
we have implemented the following delegate methods in our class for the Table
view and the respective counter parts for NSBrowser have also been added. I
tested by placing break points on these two methods but still was not able to
see them getting hit when the drag and drop was
empirically, it appears that the event tracking loop for window resizing is
calling
-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
so i can’t simply override NSWindow’s matching method in my subclass. thus,
while overriding NSApplication’s method is probably doable, i
Hi again.
I have a custom view (say ECGlassView), subclass from UIImageView, and this
view has a subview (say ECNeedleView) that is subclass from UIImageView.
I'm trying to add viewA as observer for viewB center, as I can move viewB above
viewA. When I try to tho this:
[self.needle
On Jun 23, 2011, at 5:27 PM, Tales Pinheiro de Andrade wrote:
Hi again.
I have a custom view (say ECGlassView), subclass from UIImageView, and this
view has a subview (say ECNeedleView) that is subclass from UIImageView.
I'm trying to add viewA as observer for viewB center, as I can
Hello,
I thought that by implementing the validation method it wouldn't matter if the
menu item has an action set on it. That was the problem. Once I set the action,
the validation method started being called.
Thanks,
Daniel
On Jun 23, 2011, at 5:42 PM, Nick Zitzmann wrote:
On Jun 23,
using a timer works just fine. and i don’t believe any “debouncing” is
necessary as the timer can’t fire if i am already in the process of resizing.
thanx ken and quincey,
ken
On Jun 23, 2011, at 3:57 PM, Ken Victor wrote:
empirically, it appears that the event tracking loop for window
On Jun 23, 2011, at 5:49 PM, Jens Alfke wrote:
On Jun 23, 2011, at 2:46 PM, Sandeep Mohan Bhandarkar wrote:
I have just wired up the delegate outlet and for the second query. The count
shows up as zero but will this be the reason for the method not getting
called…?
Yes. If there
OK, I needed a diversion from serious work and was intrigued to find out how
practical it is to animate many instances of an analogue meter and how far you
can go with the standard view update mechanism. Think of it as putting my money
where my mouth is. I claimed it should be possible to get
35 matches
Mail list logo