On Sep 10, 2010, at 22:50, Richard Somers wrote:
> I just noticed that when you hold down the command key over an inactive
> window and click and drag the mouse, the window will receive mouse events.
> You can move the window, use the tool bar, select text, interact with views,
> etc. Almost wh
On Sep 9, 2010, at 7:32 AM, Daniel Lopes wrote:
> My idea for organization is separate the entire content on the left side in
> a new Nib called sidebar and set the FileOwner to a controller in Window
> Nib. Also do the same thing for the right part of the Split View.
>
> That behavior the behavi
Hi,
I am need of some advice. I have a MKMapView which allows users to add a bunch
of MKPlacemark's that I've subclassed. How can I uniquely identify each
placemark so I can store or retrieve information about that placemark?
Thanks for help.
Phil
_
Hi,
I am trying to add a KVO for my MKPinAnnotationView class. In my
MapViewController which has an instance of a MKMapView, I have the following
code:
- (void)mapView:(MKMapView *)mapView didAddAnnotationViews:(NSArray *)views {
for (MKAnnotationView *anAnnotationView in views) {
I think I got it.
for (id annotation in mapView.annotations) {
[[mapView viewForAnnotation:annotation] removeObserver:self
forKeyPath:@"selected"];
}
Regards,
Phil
On Sep 11, 2010, at 7:49 AM, Philip Vallone wrote:
> Hi,
>
> I am trying to add a KVO for
Is there a way to be notified when the graphic card is switched?
Some flags in CGDisplayRegisterReconfigurationCallback perhaps?
I am trying to keep track if physical displays on multi-screen systems.
With NSScreen, the screen number will change if for example the user has a
laptop with an exter
On Sep 11, 2010, at 12:53 AM, Kyle Sluder wrote:
You want -acceptsFirstMouse:.
When my custom view 'acceptsFirstMouse:' returns YES this is what
happens with an inactive window. A mouse click activates the window
and a mouse down event is sent to the view. With command key held
down, a m
I stored my coordinates lat/long in an NSMutableDictionary. I call
them up upon load. Not sure if this helps- but I created something
called "headlinekey" which is the key to the dictinoary and the short
headline on the annotation.
for(NSString *headlineKey in [eDict allKeys]){
flo
On Sep 11, 2010, at 9:42 AM, Richard Somers wrote:
>
> My custom view is a subclass of NSView and has no subviews. As mentioned
> above returning NO from 'acceptsFirstMouse:' does not disable the view from
> receiving mouse events when the window is inactive and the command key is
> held dow
On Sep 11, 2010, at 11:07 AM, Kyle Sluder wrote:
On further review, this makes sense to me. Holding down the Control
key is an explicit signal to the system that you wish to interact
with the application as if it were frontmost. -acceptsFirstMouse: is
useful as a guard against misclicks, no
Thanks,
This is a good idea. When you created the AddressAnnotation instances, what did
you use as the Key (headlineKey), which made them unique?
Thanks,
Phil
On Sep 11, 2010, at 1:00 PM, banane wrote:
> for(NSString *headlineKey in [eDict allKeys]){
> float theLat = [[latDic
On Sep 11, 2010, at 11:40 AM, Richard Somers wrote:
> I think you meant to say 'Command key' not 'Control key'.
Yes, I did.
> Actually I have a subclass of NSView, it is not a control at all. It is the
> primary view in a document window and the user will be using the command key
> and mouse
On Thu, Sep 9, 2010 at 1:24 AM, Quincey Morris
wrote:
> On Sep 9, 2010, at 00:20, Christopher Corbell wrote:
>
> > This one is really bugging me. I have a WebView in a scrolling view and
> > content gets appended to it periodically (new tables appended; the entire
> > content of the WebView is re
On Sep 11, 2010, at 14:34, Christopher Corbell wrote:
> However the basic issue still remains - even with the scrollView that the
> webView implements automagically, its contentView bounds do NOT change even
> when the visual content is clearly larger than the frame and the vertical
> scroller
On Sep 11, 2010, at 10:52 AM, Trygve Inda wrote:
> Is there a way to be notified when the graphic card is switched?
NSApplicationDidChangeScreenParametersNotification
That fires when the GPU is switched, as well as well displays are rearranged or
reconfigured.
Regards,
Ken
___
> On Sep 11, 2010, at 10:52 AM, Trygve Inda wrote:
>
>> Is there a way to be notified when the graphic card is switched?
>
> NSApplicationDidChangeScreenParametersNotification
>
> That fires when the GPU is switched, as well as well displays are rearranged
> or reconfigured.
>
> Regards,
> Ken
16 matches
Mail list logo