Hi All,
I’m using:
myWindowArray = (NSArray*)
CFBridgingRelease(CGWindowListCopyWindowInfo(kCGWindowListOptionOnScreenOnly,kCGNullWindowID));
To get an Array Containing the Info Dictionaries for all Visible Window, this
works great, however I think find the Window I am interested in I save it,
I replaced windowNibName with makeWindowControllers since I'm moving window
management to a separate controller. I kept windowControllerDidLoadNib around.
Now I wondered if it still gets called. I put in a "print( #function + "got
called." )" and never saw the output. Is this method called only
> On 2016 Jun 10, at 06:16, Daryle Walker wrote:
>
> I replaced windowNibName with makeWindowControllers since I'm moving window
> management to a separate controller. I kept windowControllerDidLoadNib
> around. Now I wondered if it still gets called. I put in a "print( #function
> + "got cal
If you choose to use explicit window controllers, they should own the window
they load. That's what they're for.
You might customize them with a protocol on the document controller as a kind
of delegate for the window controllers to give a simple callback API that is
decoupled.
This pattern is
I have a view-based, sidebar-style NSOutlineView. For some items, I want to
make the text bold. But if I change the rowSizeStyle to medium instead of
the default (in awakeFromNib), the text doesn't display as bold. If instead
I use a custom row size (in outlineView:heightOfRowByItem:) it works. Wha
Hi,
If I do this:
myWindowListOptions = kCGWindowListExcludeDesktopElements |
kCGWindowListOptionOnScreenAboveWindow | kCGWindowListOptionIncludingWindow |
kCGWindowListOptionIncludingWindow;
myWindowArray = (NSArray*)
CFBridgingRelease(CGWindowListCopyWindowInfo(myWindowListOptions,theWindowI
More experimenting:
if I use
myWindowListOptions = kCGWindowListExcludeDesktopElements |
kCGWindowListOptionIncludingWindow;
myWindowArray = (NSArray*)
CFBridgingRelease(CGWindowListCopyWindowInfo(myWindowListOptions,theWindowID));
it seems a bit better, but I’m not sure if it is valid or not?
I don't need this (yet), but it popped up in my head. Usually, readFromData:
ofType: processes the data in place. But what if the process take a while, or
you otherwise want to provide a progress window (maybe with a cancel button)? I
guess you could handle the parsing in an NSOperation, but ho
On Fri, Jun 10, 2016, at 11:03 AM, Daryle Walker wrote:
> I don't need this (yet), but it popped up in my head. Usually,
> readFromData: ofType: processes the data in place. But what if the
> process take a while, or you otherwise want to provide a progress window
> (maybe with a cancel button)? I
> On Jun 9, 2016, at 6:03 PM, George Toledo wrote:
>
> Does Quicklook play audio of a previewed file at the sample rate it was
> encoded at, or is it somehow doing a samplerate conversion on the fly?
QuickLook is just calling AVFoundation, which is calling CoreAudio.
CoreAudio [obviously] trie
On Thu, Jun 9, 2016, at 08:03 PM, George Toledo wrote:
> I'm having a hard time finding documentation that covers this question...
>
> Does Quicklook play audio of a previewed file at the sample rate it was
> encoded at, or is it somehow doing a samplerate conversion on the fly?
>
> Hopefully thi
> On Jun 10, 2016, at 7:58 AM, David Catmull wrote:
>
> I have a view-based, sidebar-style NSOutlineView. For some items, I want to
> make the text bold. But if I change the rowSizeStyle to medium instead of
> the default (in awakeFromNib), the text doesn't display as bold. If instead
> I use a
OK, thanks. I wasn't thinking of bold being affected by row size, but I
guess it makes sense that it's going to reset the font entirely.
On Fri, Jun 10, 2016 at 10:46 AM, corbin dunn wrote:
>
> On Jun 10, 2016, at 7:58 AM, David Catmull wrote:
>
> I have a view-based, sidebar-style NSOutlineVie
> On Jun 11, 2016, at 1:43 AM, Kyle Sluder wrote:
>
> On Thu, Jun 9, 2016, at 08:03 PM, George Toledo wrote:
>> I'm having a hard time finding documentation that covers this question...
>>
>> Does Quicklook play audio of a previewed file at the sample rate it was
>> encoded at, or is it somehow
> On Jun 10, 2016, at 10:37 AM, じょいすじょん
> wrote:
>
> I assumed the OP is interested to know whether listening to the playback in
> QuickLook is going to be a valid exercise
> for a pro audio person, versus opening the file in any particular application.
If the sample rates didn’t match, and C
> On Jun 10, 2016, at 9:54 AM, David Catmull wrote:
>
> OK, thanks. I wasn’t thinking of bold being affected by row size, but I guess
> it makes sense that it's going to reset the font entirely.
Yeah, and if you want to have more control then don’t use the textField outlet
(make your own), an
In Xcode 7.3.1 create a new project.
Template: Cocoa Application
Language: Objective-C
Check - Create Document-Based Application
Check - Use Core Data
This is very similar to the project I am currently working on.
Profile the application using the Leaks Instrument.
The app launches and choose F
17 matches
Mail list logo