Re: __nw_connection_get_connected_socket_block_invoke 15 Connection has no connected handler

2017-05-08 Thread Bill Monk
I’ve seen that a lot too (also doing a ton of network calls). My understanding (can’t recall from where) is it’s some sort of internal logging and can safely be ignored. At any rate, it can be suppressed. Set this environment variable in the Scheme editor for you debug target:

Re: Collection Views Breaking

2015-05-20 Thread Bill Monk
That's crashing because after going back, FirstViewController is using SecondViewController as it's collectionView's delegate dataSource, resulting in messages to a dealloc-ed object. Turn on NSZombies to see this. This appears to happen because when going Back from your

Re: Preparation for doing a bug report for CIPageCurlTransition

2014-03-31 Thread Bill Monk
CIPageCurlTransition's inputBacksideImage does work, but its scaling and/or interaction with the shading image seems under-documented (to me anyway), and as such, seems to behave oddly... But I can definitely get a visible backside image by tweaking your code a little (using

RE: Core animation layers work on 10.7 but not 10.8 or 10.9

2014-03-31 Thread Bill Monk
Apple's sample code Image Transition and Cocoa Slides both crash when built using Xcode 5.1 and run on 10.9.2 When built with 10.9 SDK, views using CIFilters need their layerUsesCoreImageFilters set to YES. Yeah, it bit me too...it's in the 10.9 release notes somewhere. But built apps

Re: Cocoa-dev Digest, Vol 8, Issue 595

2011-08-02 Thread Bill Monk
On Aug 2, 2011, at 12:40 PM, cocoa-dev-requ...@lists.apple.com wrote: Send Cocoa-dev mailing list submissions to cocoa-dev@lists.apple.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.apple.com/mailman/listinfo/cocoa-dev or, via email, send a message

Re: Cocoa-dev Digest, Vol 8, Issue 595

2011-08-02 Thread Bill Monk
mea culpa for the noise - that was a mis-click. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Re: IB Bug? maybe?

2010-08-09 Thread Bill Monk
On Aug 9, 2010, at 2:03 PM, cocoa-dev-requ...@lists.apple.com wrote: I created a minimal application that exhibits the problem: http://www.acordex.com/temp/scancontrolltest.zip thank you for anything you notice. There's a warning on ScanController's -init: control reaches end of non-void

Re: IB Bug? maybe?

2010-08-09 Thread Bill Monk
Hmm, well, good things to do for sure, but I added [super init] and return self; to my scancontroller and it didn't help any. Um, those are required things. Note: This bug ONLY shows up on 10.5. the program runs fine on 10.6... Here, it crashes every few runs. Your AppController's

Re: Get size of folder

2009-08-19 Thread Bill Monk
PCWiz wrote: The next thing I tried was using the Carbon File Manager API using this method by Dave DeLong: http://github.com/davedelong/BuildCleaner/blob/b2712242b4eea1fff0e78a08b393a417e3019c8a/NSFileManager+FileSize.m This method worked for some folders/files, but for others it returned

Re: API for fetching the computer name in cocoa

2009-06-12 Thread Bill Monk
On Jun 12, 2009, at 5:43 AM, Gerriet M. Denkmann wrote: StringPtr c = (void *)response; NSUInteger cle = *c; char *cu = malloc( cle + 1); memcpy( cu, c + 1, cle); cu[cle] = '\0'; NSLog(@%s

Re: Cocoa-dev Digest, Vol 6, Issue 858

2009-06-11 Thread Bill Monk
On Jun 11, 2009, at 10:52 AM, Micha Fuhrmann wrote: Unfortunately all I can feed it with is the file extension Any other idea? Isn't there a mapping plist between extension and Kind that exists somewhere? Have you tried LSCopyKindStringForTypeInfo(), LSCopyKindStringForRef (), or

Re: Doc kind from extension

2009-06-11 Thread Bill Monk
On Jun 11, 2009, at 11:55 AM, Sidney San Mart?n wrote: That'll work in most cases, but as discussed in http://lists.apple.com/archives/carbon-dev/2007/Nov/msg00642.html anything that Preview can open will just return Preview Document for that call. I just double-checked - I have an app

Re: App does not start on a different machine

2009-06-11 Thread Bill Monk
The debugging suggestions made so far in this thread are fine. But really, the only debugging tool needed here is your mind. Developing that tool is the quickest route to fixing bugs like this. 11.06.09 04:24:30 test[767] *** -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)

Re: NSOutlineView indentation

2009-01-07 Thread Bill Monk
On Jan 7, 2009, James Walker wrote: Having the indentation affect the top level may be technically consistent, but I don't know why anyone would want it to work that way. Yes, I agree. Top-level items should stay near the left margin, and setting the indent to 0 should not cause

Re: Fix for Core Data + NSTreeController + NSOutlineView Crashes?

2008-12-09 Thread Bill Monk
Has anyone ever found a way to use Core Data + NSTreeController + NSOutlineView without getting crashes during undo? Try setting an isLeaf leaf keypath on the tree controller in IB and add a Boolean isLeaf attribute in the data model. When I do that here, AbstractTree and similar examples

Re: Trigonometric Problem, Particularly tan() Function

2008-07-13 Thread Bill Monk
On Jul 13, 2008 10:30:27 -0300, Patrick Walker [EMAIL PROTECTED] wrote: float radians; radians = ([entryField floatValue] * M_PI / 180); [outField setFloatValue:tan(radians)]; tan() takes a double and returns a double. Your code above truncates doubles three different

Re: Date compiled?

2008-05-27 Thread Bill Monk
On 27 May '08, at 9:16 AM, Jeff LaMarche wrote: Is there any way to make this work with the standard about box, or do I have to hand-roll one in order to make this work? I'm assuming the latter, but figured I'd ask just in case; I hate reinventing the wheel. I've done this for a client

Re: Setting iTunes album art with ScriptingBridge

2008-05-23 Thread Bill Monk
On May 23, 2008, at 10:06 AM, Jens Alfke wrote: The biggest issue with the album art is simply getting the image into PICT format, since last I checked, iTunes won't accept any other format. Unfortunately NSImage can read but not generate PICT. The only way I found to do it was to use ick

Re: Resource Fork - is this a good use/the right thing to do?

2008-04-24 Thread Bill Monk
On Thu, Apr 24, 2008 at 4:28 PM, Hamish Allan wrote: Maybe the use of a signed int is the well-known bug Uli referred to. Indeed it is. Tech Note TB18 (1988) http://beta.devworld.apple.com/technotes/tb/tb_18.html ___ Cocoa-dev mailing list

Re: Mounting AFP Volume using Cocoa

2008-04-21 Thread Bill Monk
On Apr 19, 2008, on Mon, 21 Apr 2008 10:06:47 +0530, JanakiRam wrote: This code works fine , but when i try to mount another volume/ account on the same server , this code doesn't seem to work.I'm always getting -43 error.If i unmount the earlier volume/account on the same server then

Re: Mounting AFP Volume using Cocoa

2008-04-18 Thread Bill Monk
On Apr 18, 2008, at 2:03 PM, Jens Alfke [EMAIL PROTECTED] wrote: I haven't used any of those functions. How about reading the documentation? Just type FSVolumeMount into Xcode's documentation viewer. Well, um, that won't help him much, because there is no such function. Something like this

Re: Mounting AFP Volume using Cocoa

2008-04-18 Thread Bill Monk
On Apr 18, 2008, at 2:59 PM, Randall Meadows wrote: On Apr 18, 2008, at 1:48 PM, Bill Monk wrote: On Apr 18, 2008, at 2:03 PM, Jens Alfke [EMAIL PROTECTED] wrote: I haven't used any of those functions. How about reading the documentation? Just type FSVolumeMount into Xcode's documentation

Re: NSURL and certificates

2008-04-16 Thread Bill Monk
On Apr 16, 2008, at 12:03 AM, Stephane Huaulme [EMAIL PROTECTED] wrote: when I try to fetch a web page on an internal server using: [NSString stringWithContentsOfURL:[NSURL URLWithString: theURLString] encoding:NSASCIIStringEncoding error:theError]; I get the following error: CFString

Re: Override AppleScrollBarVariant on NSScroller?

2008-04-10 Thread Bill Monk
On Apr 10, 2008, at 1:43 AM, Michael Watson wrote: Not sure what you're talking about. This: http://homepage.mac.com/billmonk/clips/scrollbarsTiger.png http://homepage.mac.com/billmonk/clips/scrollbarsLeopard.png ___ Cocoa-dev mailing list

Re: Help with this code

2008-03-22 Thread Bill Monk
There's not enough context to tell what's really going on. )Also, quicktime-dev may be a more useful list.) But a few things stick out. As written, the if-test is meaningless because no NSError is passed to the QTMethod. movieWithQuickTimeMovie: may be failing, so you may be passing