On 2014 Jul 02, at 18:07, Jens Alfke wrote:
> As they said, the buffer of the pipe has a size of 4kbytes. So there cannot
> ever be more than 4k of available data at a time, because “available” means
> “sitting in the buffer ready to be copied out”.
On 2014 Jul 02, at 19:07, Scott Ribe wrote
I have an NSOutlineView with a NSImageView subview providing a background
image. Now a pop-up menu has been added to the outline view it seems the menu
only appears with a secondary click on a trackpad. Ctrl-click and the right
mouse button do not pop up the menu.
Removing the background image
On Jul 2, 2014, at 7:07 PM, Jens Alfke wrote:
>
> On Jul 2, 2014, at 5:58 PM, Jerry Krinock wrote:
>
>> What might it be doing at these 4K breaks that causes NSFileHandle’s
>> -availableData to stop?
>
> As they said, the buffer of the pipe has a size of 4kbytes. So there cannot
> ever be m
On Jul 2, 2014, at 5:58 PM, Jerry Krinock wrote:
> What might it be doing at these 4K breaks that causes NSFileHandle’s
> -availableData to stop?
As they said, the buffer of the pipe has a size of 4kbytes. So there cannot
ever be more than 4k of available data at a time, because “available” m
Thank you, guys.
So, the OS or kernel does this.
What might it be doing at these 4K breaks that causes NSFileHandle’s
-availableData to stop?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator com
Thanks Ken, I was missing constrains that was causing the issue. I see the
document states that Xcode will not complain if there are not enough
constrains. It would have helped of it did. I didn¹t realise the problem
was constrains. Do you know why this behaviour and if possible someway to
enable X
On Jul 2, 2014, at 5:34 PM, Jerry Krinock wrote:
> I’m writing a tool which receives data streamed into stdin by my Google
> Chrome extension (using their new Native Messaging API). I think they use
> stdin for such interprocess communication in order to make it cross-platform.
>
> Anyhow, I w
On Jul 2, 2014, at 6:34 PM, Jerry Krinock wrote:
> Although it was fun to write the code to buffer and stitch the message fields
> and length fields back together, I’d like to know what is causing these 4K
> breaks.
It's the OS itself. Unix domain sockets have 4k buffers.
--
Scott Ribe
sco
I’m writing a tool which receives data streamed into stdin by my Google Chrome
extension (using their new Native Messaging API). I think they use stdin for
such interprocess communication in order to make it cross-platform.
Anyhow, I was surprised to find that the following code, which repeated
I'm going through the Apple NSOutputStream online documentation. Below is
"Listing 2: Handling a space-available event" (from
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Streams/Articles/WritingOutputStreams.html)
- (void)stream:(NSStream *)stream handleEvent:(NSStream
For our iOS apps, to avoid the inevitable spaghettification of our app
storyboards and to move into a more modular approach, I've moved our "More
Info/Settings" items into their own storyboard.
This "More Info/Settings" module is able to be invoked from a UIBarButtonItem
in the top right slot i
11 matches
Mail list logo