This sounds like something we hit in 10.9 fullscreen on secondary monitors; we
had to do this to get it to setFrame where we told it:
in NSWindow subclass:
- (NSRect)constrainFrameRect: (NSRect)frameRect
toScreen: (NSScreen *)screen
{
return frameRect;
}
On May 20, 2014,
On May 20, 2014, at 4:45 PM, edward taffel wrote:
On May 20, 2014, at 5:18 PM, Keary Suska cocoa-...@esoteritech.com wrote:
On May 20, 2014, at 9:55 AM, edward taffel wrote:
apologies keary,
on reread, my question is badly cast: i should have read it the same as you.
the issue is:
NSView handles rightMouseDown: differently - it calls calls menuForEvent:
Documentation says in 10.7+ it should pass it up the responder chain, so you
ought to get it.
I'd put a symbolic break on -[NSView rightMouseDown:] and see if it's being
called; that might shed some light on where it's
On May 18, 2014, at 3:30 PM, SevenBits wrote:
On May 18, 2014, at 6:22 PM, Uli Kusterer witness.of.teacht...@gmx.net
wrote:
On 18 May 2014, at 23:06, Luther Baker lutherba...@gmail.com wrote:
Trying my hand at some Cocoa development ... is there an SDK around the
tabs used in Finder or
This may be obvious, but did you try moving it all to
applicationDidFinishLaunching: instead? We used to have alerts in willFinish
too, but now we have comments saying not to do that instead :)
On May 6, 2014, at 11:23 AM, Mills, Steve wrote:
I'm looking at a crash log for our app that shows
You might find it useful to get one of the Apple sample apps, like
TableViewPlayground, and experiment with that - it's easier to figure out
what's happening when you have a fully-implemented example than it is to start
from scratch.
On Apr 29, 2014, at 7:20 PM, Varun Chandramohan wrote:
Hi
In Smalltalk, where nil is an object like everything else, and we were working
with calls out to C APIs that had a lot of required parameters, we added an
orIfNil: that was very useful:
foo := bar orIfNil:10.
Nil
orIfNil:other
^other
Object
orIfNil:other
^self
It would be useful in ObjC if
24, 2014, at 3:48 PM, Lee Ann Rucker wrote:
In Smalltalk, where nil is an object like everything else, and we were
working with calls out to C APIs that had a lot of required parameters, we
added an orIfNil: that was very useful:
foo := bar orIfNil:10.
Nil
orIfNil:other
^other
, at 5:39 PM, Lee Ann Rucker lruc...@vmware.com wrote:
An orIfNull: for NSObject and NSNull might be nice for those times when you
put placeholders in dictionaries.
For that you really only need a method in one place. I'd be inclined to put
it in NSNull:
+ (id)nullIfNil:(id)obj
This happened a while back too, IIRC it's bogus and nothing will happen.
- Original Message -
From: Bryan Vines bkvi...@me.com
To: Cocoa Developers cocoa-dev@lists.apple.com
Sent: Tuesday, April 15, 2014 9:19:35 PM
Subject: What the actual heck?
Hi folks.
So I just got a “Mailing list
I've converted my very complex layout to autolayout and started seeing some
interesting effects that weren't there with it off:
I have two main views for my window, one has a split view, one doesn't. They
get swapped in and out on demand - think Finder with list style and icon style.
The nib
On Mar 27, 2014, at 3:26 PM, Kyle Sluder wrote:
On Mar 27, 2014, at 1:46 PM, Lee Ann Rucker lruc...@vmware.com wrote:
I suspect that if the splitView were inside the window in the nib, it would
get resized first and prefs applied after. But either way, resizing my view
should not move
On Mar 27, 2014, at 4:16 PM, Kyle Sluder wrote:
On Thu, Mar 27, 2014, at 03:37 PM, Lee Ann Rucker wrote:
On Mar 27, 2014, at 3:26 PM, Kyle Sluder wrote:
On Mar 27, 2014, at 1:46 PM, Lee Ann Rucker lruc...@vmware.com wrote:
I suspect that if the splitView were inside the window
First you need a NSTreeController to manage your NSArray, then:
NSTreeNode *topNode = [treeController arrangedObjects];
return [topNode descendantNodeAtIndexPath:indexPath];
On Mar 26, 2014, at 12:02 PM, Torsten Curdt wrote:
The Apple docs state:
The NSIndexPath class represents the
On Mar 19, 2014, at 8:42 AM, Kyle Sluder wrote:
On Wed, Mar 19, 2014, at 08:34 AM, Eric E. Dolecki wrote:
Hey all,
I am wondering what's the best way to get speech to text into an OS X
application. For iOS there is the Nuance SDK which works really well, but
now I'm looking to get speech
On Mar 9, 2014, at 11:11 AM, Michael Starke wrote:
On 09 Mar 2014, at 19:03, Lee Ann Rucker lruc...@vmware.com wrote:
From: Kyle Sluder k...@ksluder.com
On Mar 8, 2014, at 8:08 PM, Jens Alfke j...@mooseyard.com wrote:
I want my Mac app's toolbar to look like the ones in the Finder
From: Kyle Sluder k...@ksluder.com
On Mar 8, 2014, at 8:08 PM, Jens Alfke j...@mooseyard.com wrote:
I want my Mac app's toolbar to look like the ones in the Finder and Mail,
with each item drawn as a framed button. So far the only way I’ve found to
do this is to give each NSToolbarItem
Subclass NSToolbarItem to validate the custom view.
- Original Message -
From: Jens Alfke j...@mooseyard.com
To: Cocoa Dev List cocoa-dev@lists.apple.com
Sent: Saturday, March 8, 2014 8:08:36 PM
Subject: Best way to make Finder/Mail style toolbars?
I want my Mac app's toolbar to look
On Mar 6, 2014, at 10:21 AM, William Squires wrote:
Also, when I do this (using a literal NSString constant for myClassName
above), Xcode marks the line with NSLog with a yellow triangle, and
disclosing it says something about passing an NSString instance as being
unsecure. Can this
On Mar 6, 2014, at 2:37 PM, Sean McBride wrote:
Hi all,
In Interface Builder, if I turn on Editor Canvas Show Bounds Rectangles
then it shows blue rectangles representing views' bounds rectangles (I
suppose). I notice for push buttons that this blue rectangle is not where I
expect
defaults write com.apple.screencapture location ~/Pictures/
(Putting things on my virtual desktop is as pointless as writing it directly on
my real one - I have so many files/papers open, it's effectively lost. Clutter
is good!)
- Original Message -
From: Scott Ribe
- or cell-based tables, and/or IB should create it with the color that
works.
On Feb 10, 2014, at 3:37 PM, Lee Ann Rucker wrote:
I've just converted my SourceView-style NSOutlineView from cell to view
based. I didn't change anything from what IB gives me. In the cell-based
version (based
Simpler than that - set the text field back to the standard default of Text
Color, and NSTextFieldCell knows what to do, just like in cell-based. So it's
just IB throwing a wrench in the works.
On Feb 11, 2014, at 12:44 PM, Lee Ann Rucker wrote:
Poked at it until I got it working: by default
I've just converted my SourceView-style NSOutlineView from cell to view based.
I didn't change anything from what IB gives me. In the cell-based version
(based on Apple's SourceView sample), the header cells would have white text
when selected; in view-based, they're dark gray on blue, which is
On Jan 29, 2014, at 4:42 PM, Jens Alfke wrote:
* except for a subset of NSNumbers which the runtime cleverly hides inside
tagged pointers, a C++-like trick
Smalltalk did it first.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
It's been a while since I did this, but you may need to adjust setMinItemSize:
too. collectionView likes to resize its frame to fit its contents and
vice-versa; the frame size you set will not persist.
- Original Message -
From: Livio Isaia lis...@tiscalinet.it
To: Cocoa Dev List
On Nov 27, 2013, at 11:53 AM, Graham Cox wrote:
On 27 Nov 2013, at 8:42 pm, Kyle Sluder k...@ksluder.com wrote:
If you think deleting a plist in ~/Library/Preferences is a solution
to any problem to which run `defaults delete` is not, I think you're
concerned about a very narrow
Try my devforum suggestion. From 10.6 to now, I have done everything possible
to presentationOptions for Fusion's multi-monitor fullscreen, and having
everything be a real fullscreen window works a lot better than faking it with
the old kiosk mode tricks.
And there are still known bugs in
Timestamp only shows delivery time, even in the extended headers - which is a
general Apple mailing list complaint; sometimes it's seriously laggy.
On Oct 22, 2013, at 1:06 PM, Chris Hanson wrote:
OS X Mavericks is available on the App Store now.
-- Chris, cocoa-dev co-mod
-- who would
On Oct 8, 2013, at 4:29 AM, Dave wrote:
Hi,
I've just come across this:
- (void) scrollViewWillEndDragging:(UIScrollView*) theScrollView
withVelocity:(CGPoint) theVelocity targetContentOffset:(inout CGPoint*)
theTargetContentOffset
I've never seen the inout keyword before! It is
On Oct 8, 2013, at 1:47 PM, jonat...@mugginsoft.com wrote:
The NSControl -tag property can be used to identify an action sender.
Can the NSUserInterfaceItemIdentification protocol property -identifier be
safely used for the same purpose?
I don't know, but I'd prefer representedObject for
On Oct 8, 2013, at 1:59 PM, jonat...@mugginsoft.com wrote:
On 8 Oct 2013, at 21:54, Lee Ann Rucker lruc...@vmware.com wrote:
On Oct 8, 2013, at 1:47 PM, jonat...@mugginsoft.com wrote:
The NSControl -tag property can be used to identify an action sender.
Can
On Oct 2, 2013, at 7:51 AM, Livio Isaia wrote:
Il giorno 02/ott/2013, alle ore 05:39, Jens Alfke j...@mooseyard.com ha
scritto:
On Oct 1, 2013, at 5:47 PM, Livio Isaia lis...@tiscalinet.it wrote:
I mean that it reaches the awakeFromNib method of AppDelegate class and
then seems to
isCompatibleWithOverlayScrollers
Returns a Boolean value that indicates whether the class is compatible with
overlay scroller style and behavior.
+ (BOOL)isCompatibleWithOverlayScrollers
- Original Message -
From: Steve Mills smi...@makemusic.com
To: Cocoa dev cocoa-dev@lists.apple.com
On Sep 12, 2013, at 9:57 AM, Bill Cheeseman wrote:
As I recall, it stated that the return [[x retain] autorelease] pattern is
preferred for getters and gave many reasons for preferring it.
Coincidentally enough, we've just hit a case where that's bad - it's a
complicated situation with
On Sep 12, 2013, at 1:49 PM, Greg Parker wrote:
On Sep 12, 2013, at 1:45 PM, Lee Ann Rucker lruc...@vmware.com wrote:
On Sep 12, 2013, at 9:57 AM, Bill Cheeseman wrote:
As I recall, it stated that the return [[x retain] autorelease] pattern
is preferred for getters and gave many reasons
On Sep 12, 2013, at 2:52 PM, Aaron Montgomery wrote:
I think it is either
_protoCell = [[Cell alloc] init];
or
self.protoCell = [[Cell alloc] init];
These aren't equivalent unless the @property is assign, which usually is not
what you want for object instvars that you intend to own.
On Sep 3, 2013, at 1:50 PM, Steve Mills wrote:
On Sep 3, 2013, at 15:34:25, Lee Ann Rucker lruc...@vmware.com wrote:
NSApplicationDidChangeScreenParametersNotification
It doesn't have userInfo, so you'll still have to save the last known screen
bounds yourself.
Hmm. This seems
NSApplicationDidChangeScreenParametersNotification
It doesn't have userInfo, so you'll still have to save the last known screen
bounds yourself.
On Sep 3, 2013, at 12:57 PM, Steve Mills wrote:
Aha, I just found this in the docs for isMovable: A non-movable window will
not be moved or
Create an NSImage with representations in both sizes:
http://lists.apple.com/archives/cocoa-dev/2013/Aug/msg00374.html
- Original Message -
From: Erwin Namal erwin.na...@gmail.com
To: Cocoa Dev List cocoa-dev@lists.apple.com
Sent: Wednesday, August 21, 2013 9:18:55 AM
Subject: Retina /
On Aug 21, 2013, at 11:37 PM, Dave wrote:
Hi,
It's not much good to me since I don't have a problem passing objects but
with passing a mixed set.
Type passing, 1,2,3,5.6,@hello,nil to the arrayWithObjects and you will see
what I mean
Cheers
Dave
But 1,2,3 etc aren't objects. I
On Aug 20, 2013, at 2:32 PM, Diederik Meijer | Ten Horses wrote:
Is there any way to NSLog the destruction of the itemStore object?
Sure, but you'll save a lot more time if you use Instruments to track object
lifetimes - it'll show you who does own the object and keeps you from hitting
I seem to need a way to tell NSImage NOT to double the pixels for me, but I
don't see any way to do this.
Have you tried my sample code? This part seems to be what you're looking for:
NSBitmapImageRep *bmpImageRep =
[NSBitmapImageRep imageRepWith32bitBuffer:NULL
Adapted from things I picked up at WWDC, this creates an NSImage with normal
and Retina representations
@implementation NSBitmapImageRep (NSAppKitAdditions)
+ (NSBitmapImageRep *)imageRepWith32bitBuffer: (unsigned char *)bitmapBuffer
// IN/OPT
pixelsWide:
[p orderOut:self];
// Let the run loop finish so the UI updates - button finishes tracking,
window updates, etc
[self performSelector:@selector(documentOpeningStuff:) withObject:p
afterDelay:0];
- Original Message -
From: Steve Mills smi...@makemusic.com
To: Kyle Sluder
, 2013, at 13:40:00, Lee Ann Rucker lruc...@vmware.com
wrote:
[p orderOut:self];
// Let the run loop finish so the UI updates - button finishes tracking,
window updates, etc
[self performSelector:@selector(documentOpeningStuff:) withObject:p
afterDelay:0];
As I've already indicated
Another approach - the tables I thought were using bindings on menu items
turned out to be using tableView:willDisplayCell:forTableColumn:row:
- Original Message -
From: Jerry Krinock je...@ieee.org
To: Cocoa Dev cocoa-dev@lists.apple.com
Sent: Saturday, August 3, 2013 7:27:17 PM
Turn off Auto Enables Items in the popup's menu. If it's on it goes through
menu validation instead of bindings.
On Aug 2, 2013, at 1:12 PM, Chris Tracewell wrote:
I've got a two column NSTableView that is bound to an array controller. Each
of the elements in the array looks something like
already done that to no avail. Where should
I be binding the enabled property? NSPopUpButtonCell or NSMenuItem?
CT
On Aug 2, 2013, at 1:33 PM, Lee Ann Rucker lruc...@vmware.com wrote:
Turn off Auto Enables Items in the popup's menu. If it's on it goes
through menu validation instead
On Jul 30, 2013, at 8:48 AM, Andy Lee wrote:
On Jul 30, 2013, at 11:25 AM, Scott Ribe scott_r...@elevated-dev.com wrote:
On Jul 30, 2013, at 9:08 AM, Andy Lee ag...@mac.com wrote:
I think it's subject to the same criticisms as *any* direct access to
ivars, although I agree it feels
On Jul 30, 2013, at 10:31 AM, Steve Mills wrote:
We have some palettes (NSPanel subclasses) that stay visible in fullscreen
mode. When the doc window enters fullscreen, I'm moving these the appropriate
amount so they're still snapped to the top of the visible portion of the
screen.
On Jul 29, 2013, at 10:43 PM, Quincey Morris wrote:
On Jul 29, 2013, at 22:05 , Lee Ann Rucker lruc...@vmware.com wrote:
The repro case is to close the document and then reopen it. It doesn't
reopen the windows, it makes a new window of the same class as the old one.
Looking
I've just hit this too, and my best guess as to why it's so reproducible for me
but this is the *only* mention that Google can find is that my window does
trigger updates to one of its restorable values early in its lifetime.
Unfortunately that's unavoidable.
I just gave up and dropped the
On Jul 29, 2013, at 8:14 PM, Quincey Morris wrote:
On Jul 29, 2013, at 19:33 , Lee Ann Rucker lruc...@vmware.com wrote:
I've just hit this too, and my best guess as to why it's so reproducible for
me but this is the *only* mention that Google can find is that my window
does trigger
On Jul 29, 2013, at 9:03 PM, Lee Ann Rucker wrote:
Never considered clearing the windowController; what effect would that have
on the window?
Well, it didn't do away with the crash. The doc does say that
encodeRestorableStateWithCoder will be called at appropriate times, and I
have
On Jul 29, 2013, at 9:22 PM, Quincey Morris wrote:
On Jul 29, 2013, at 21:03 , Lee Ann Rucker lruc...@vmware.com wrote:
The main thread got stopped shortly after the first call to [wc window] -
not in any restorable value's setter, though; that would've been obvious -
but the actual
It's the Winchester Mystery Website!
(props to anyone who knows which t-shirt I'm talking about)
On Jul 24, 2013, at 6:46 PM, dangerwillrobinsondan...@gmail.com wrote:
On 2013/07/25, at 10:24, Roland King r...@rols.org wrote:
Well the problem isn't BCP it's security, any backup site
Haven't tried it, but [NSWorkspace isFilePackageAtPath:] looks like what you
want. If that's not sufficient, there are other things in NSWorkspace that test
files.
- Original Message -
From: Shane Stanley sstan...@myriad-com.com.au
To: Cocoa-dev cocoa-dev@lists.apple.com
Sent: Saturday,
On Jul 10, 2013, at 11:26 PM, Kyle Sluder wrote:
On Jul 10, 2013, at 11:18 PM, dangerwillrobinsondan...@gmail.com wrote:
Hi all,
Is there an appropriate way to subclass NSViewController to return a custom
view class or is casting the return of view or loadView the only way?
I'm not
To: Lee Ann Rucker lruc...@vmware.com
Cc: Kyle Sluder k...@ksluder.com, List Developer Cocoa
cocoa-dev@lists.apple.com
Sent: Thursday, July 11, 2013 1:33:13 AM
Subject: Re: NSViewController subclass return type
On Jul 11, 2013, at 4:50 PM, Lee Ann Rucker lruc...@vmware.com wrote:
On Jul 10, 2013
And if that's not possible, make an informal protocol (aka interface on
NSObject), just so the compiler knows what the method looks like:
@interface NSObject (RemoveWhenUpgradingSDKs)
// or NSView, NSScreen, NSWindow if you prefer narrowing it down to just the
class you care about
-
If you have an NSSegmentedControl with only one segment and a menu, the menu
only pops up if you press and hold the button, otherwise it acts like a normal
button. That sounds like what you want.
- Original Message -
From: Eric Smith eric_h_sm...@mac.com
To: cocoa-dev@lists.apple.com
On Jun 14, 2013, at 1:06 PM, Gordon Apple wrote:
- (void)awakeFromNib {
[self.doc addObserver:self
forKeyPath:@currentPath
options:NSKeyValueObservingOptionNew |
NSKeyValueObservingOptionOld
context:nil];
}
-
Clang objected to a variable that started with new when we turned it into a
property, because then there was a method named new that wasn't doing what it
expected. I don't remember the details; I renamed it a long time ago.
On May 29, 2013, at 10:37 AM, Alex Zavatone wrote:
I'm aware that
Use performSelector:withObject:afterDelay:0 to push your response to the end of
the run loop, giving the UI a chance to update first. It's what I do when a
button (etc) is going to trigger something that won't be instantaneous, where
the button shouldn't keep showing in the pressed state while
from:[menu itemAtIndex:0]];
// Copied from MenuItemView sample project. I don't think this is necessary:
// [self setNeedsDisplay:YES];
}
On May 29, 2013, at 4:34 PM, Steve Mills wrote:
On May 29, 2013, at 18:06:45, Lee Ann Rucker lruc...@vmware.com
wrote:
Use
On May 28, 2013, at 7:44 AM, Alex Zavatone wrote:
On May 28, 2013, at 9:46 AM, Steve Mills wrote:
On May 28, 2013, at 08:39:21, Alex Zavatone z...@mac.com wrote:
Though it's clearly defined in the docs when to use NSMubleAnything vs.
NSAnything (insert Array, Dictionary, String, etc
On May 17, 2013, at 7:02 PM, Jaime Magiera wrote:
Hello folks,
I'm writing a license key input window. The license key is broken into four
parts, separated by -. I've created four NSTextFields for each component of
the key to aid typing and identification (e.g. NSTextField1 -
On May 14, 2013, at 2:12 AM, Mike Abdullah wrote:
Read up on NSDocumentController; it's in charge of that menu.
It's in charge of File- Recent, but not Apple - Recent.
On 14 May 2013, at 04:50, Nick Rogers roger...@mac.com wrote:
Hi,
I can remove the recent items from the plist where
On May 13, 2013, at 11:59 AM, Michael Starke wrote:
On 13.05.2013 20:37, Appa Rao Mulpuri wrote:
Any specific reason not to use Trebuchet MS? I faced some issues with the
few components (ilke Table Header cell, NS Button) text vertical center
alignment except that Look and feel wise its
The doc for [NSWindow isMovable] says you can disable it and implement your own
mouseDown: in an NSWindow subclass. I think there used to be an example
mouseDown: implementation in the code but I can't find it.
On May 6, 2013, at 2:17 PM, Thomas Wetmore wrote:
Is there a way to restrict the
My point remains: blocks are dangerous and there is no easy way to
ensure they are safe. You can't avoid referencing self in blocks,
because it is the very point of almost every callback block. So you
have to every time to remind yourself to jump through hoops to avoid
the retain cycles.
Figured there must be something like that :) We have complicated reasons for
doing it with classes (C++ is involved) and since I'm at home hitting reload on
the WWDC ticket site I don't have the docs available.
- Original Message -
From: Torsten Curdt tcu...@vafer.org
To: Lee Ann
It's easier to just use the __weak attribute, if you're using ARC:
Ah, so that's when you get to use it. Well, a couple hundred files written over
the course of 7 years isn't going to be ARC any time soon, nice as it might be.
___
Cocoa-dev mailing
On Apr 15, 2013, at 3:36 AM, Uli Kusterer wrote:
On 14.04.2013, at 20:20, Pax 45rpmli...@googlemail.com wrote:
[[NSApplication sharedApplication] activateIgnoringOtherApps : YES];
Thanks for the suggestion. If it breaks something else I'll be sure you let
you know.
Cool, it'd be
On Mar 26, 2013, at 10:30 AM, Chris Tracewell wrote:
@protocol TKOutlineViewDelegate NSObject // NSObject because we need to
use respondsToSelector
Try
@protocol TKOutlineViewDelegate NSOutlineViewDelegate
___
Cocoa-dev mailing list
On Mar 18, 2013, at 2:12 PM, Jean Suisse wrote:
Normally for shared preference or data you would write to a shared file in
/Library/Application Support/companyname/filename, but you have to take
special care if you're sandboxing your app.
Indeed. It would seem this requires to be root.
On Mar 14, 2013, at 4:51 PM, Luther Baker wrote:
Given today's computing power, is there a strong case that can be made for
or against the general use of forward declarations?
I grew up using them as a best practice in C++ projects ... but more
recently, several seniors Obj-C devs have
On Mar 11, 2013, at 1:45 PM, Dave wrote:
myDict = [[super class] newDict];
This should be [super newDict].
-- Seth
Surely that would call the Instance Method (and there isn't one), I think the
correct code is:
[[self superclass] newDict];
as someone else all ready said.
On Mar 6, 2013, at 9:02 AM, Jens Alfke wrote:
On Mar 6, 2013, at 8:37 AM, Brad O'Hearne br...@bighillsoftware.com wrote:
I am interested in the capabilities of the machine (OS X) and if so, how. I
need to programmatically within an app (not by external system
administration) turn off
On Mar 4, 2013, at 8:25 AM, Peter Hudson wrote:
I recover the path string from a Save Panel like so :-
NSArray *pathComponents = [[sp URL] pathComponents];
When I put them together again to use to write a file, any spaces in the file
name are turned in %20 symbols.
Any suggestions
I know from experience that it doesn't use the name from the app that sent the
notification; we hit a case where someone who'd been testing an earlier version
that they'd renamed to include the version number was seeing that name in the
Notification Center even after that copy had been deleted.
On Feb 5, 2013, at 3:08 PM, Steve Mills wrote:
On Feb 5, 2013, at 15:12:43, Markus Spoettl ms_li...@shiftoption.com wrote:
I don't think it's meant to be overridden that way because the framework
doesn't realize that the state has changed. You should probably call
-setDocumentEdited:
On Jan 21, 2013, at 10:10 PM, Alex Hall wrote:
Hello all,
*Outlets: I have a basic idea that these are a way of sending messages from
object to object, a bit like listeners. However, I don't really understand
the syntax used to make them. Moreover, I always see them used in GUIs, but
There is (or was) a QuartzDebug option to show which parts of a window are
actually transparent; on the standard windows only the corners are transparent,
so for most of the window area the system can use the faster opaque
calculations. I never filed a bug requesting a way for non-Apple code to
Done; rdar://12617674 I also included a suggestion for a hasDarkBackground
flag that'll switch to buttons like QuickTime Player uses because the shadow on
the default ones looks weird on dark backgrounds.
On Nov 1, 2012, at 11:12 AM, Corbin Dunn wrote:
hi nick,
No; you can't stretch it,
On Oct 28, 2012, at 11:03 AM, Quincey Morris wrote:
On Oct 28, 2012, at 10:37 , Kyle Sluder k...@ksluder.com wrote:
No matter what you do, file a bug with the 3rd-party framework. Their macros
should not leak.
The thing that bothers me is why macros should be substituting into method
On Oct 25, 2012, at 11:59 AM, Erik Stainsby wrote:
Hi list,
It seems to me this ought to be a trivial function of the OS, but I can't
find anything that tells me how to go about this.
I have a window which contains half a dozen text fields and three table
views. I'd like to be able
On Oct 22, 2012, at 9:09 AM, Kyle Sluder wrote:
On Oct 21, 2012, at 11:05 PM, Daiwei Li daiwe...@gmail.com wrote:
You might try a Quartz event tap at kCGSessionEventTap. I suspect that
-addGlobalMonitorForEventsMatchingMask:... is equivalent to
kCGAnnotatedSessionEventTap, and maybe
On Sep 30, 2012, at 11:38 AM, Kyle Sluder wrote:
On Sun, Sep 30, 2012, at 10:57 AM, Lee Ann Rucker wrote:
Weird that you didn't get the warning, but we've switched to the pattern
of
[self addObserver:self forKeyPath:@ctrl.selectedObjects.someString...
and that's saved countless
Weird that you didn't get the warning, but we've switched to the pattern of
[self addObserver:self forKeyPath:@ctrl.selectedObjects.someString...
and that's saved countless headaches. You can remove your own observers in
dealloc so you never need to worry about when to remove the observer.
--
, but it's pretty simple: just make an NSView and call
[toolbar setFullScreenAccessoryView:] in your awakeFromNib.
Thanks!
On Sep 25, 2012, at 11:43 PM, Lee Ann Rucker wrote:
On Sep 25, 2012, at 5:07 AM, Nava Carmon wrote:
It's good to know that I'm not alone in this ordeal :), though
. There's also
window:willUseeFullScreenContentSize: which I haven't looked at because I don't
need it.
But no, there are no APIs because NSToolbar is older than fullscreen and we
didn't need them before now.
On Sep 24, 2012, at 9:07 PM, Lee Ann Rucker wrote:
On Sep 24, 2012, at 5:50 AM
On Sep 24, 2012, at 5:50 AM, Nava Carmon wrote:
Hi,
I have to perform custom animation for NSWindow transition to full screen
mode. The window have a NSToolbar in icons-only mode with custom items.
How to calculate properly the final frame of such a window in full screen?
Seems, that
Interesting - going through radar.apple.com (my bookmark) or
bugreport.apple.com (what radar redirects to) didn't give me any warning. I
tried bugreporter and did get one - it redirects to bugreport too.
Safari 5.1.6 here.
- Original Message -
From: Alex Zavatone z...@mac.com
To: Jay
a very simple formatter which demonstrates the problem
- the top text field has a formatter, the bottom and otherwise identical one
does not.
'FormatterIssues.zip' was successfully uploaded
24-Sep-2007 02:56 PM Lee Ann Rucker:
Further investigation has revealed that the bound value
Yes, that approach is *so* much safer. When we switched over to doing it that
way so many dealloc called while object was being observed problems went away.
- Original Message -
From: Quincey Morris quinceymor...@rivergatesoftware.com
To: Motti Shneor su...@bezeqint.net
Cc: Cocoa-Dev
On Sep 7, 2012, at 10:54 AM, Kyle Sluder wrote:
On Fri, Sep 7, 2012, at 10:49 AM, Charles Srstka wrote:
On Sep 7, 2012, at 10:01 AM, Kyle Sluder k...@ksluder.com wrote:
I must stress that this is nothing more than an educated guess on my part.
But if people find Lion Autosave confusing
On Aug 22, 2012, at 12:51 PM, Alex Kac wrote:
There are some MAS-only features such as Notification Center (I believe) and
iCloud, so its quite nice to be able to use those features.
Notification Center is usable by any app; I'm using it and App Store isn't even
a possibility at this point.
I've hit issues with splitView delegate getting called after the delegate is
dealloced, and my setDelegate happens in the nib - normally what gets set in
the nib gets unset correctly later. I had to put in a
NSWindowWillCloseNotification observer and clear the splitView delegate there.
It's an
101 - 200 of 347 matches
Mail list logo