Re: All threads in app periodically blocked

2016-05-23 Thread Seth Willits
end all I needed was a little luck and it was all due to a simple copy & paste error. Sigh. Thanks, -- Seth Willits > On May 22, 2016, at 10:48 AM, Seth Willits <sli...@araelium.com> wrote: > > I'm thoroughly confused and increasingly desperate. *All* of the threads in >

Re: All threads in app periodically blocked

2016-05-23 Thread Seth Willits
> On May 22, 2016, at 12:44 PM, Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On May 22, 2016, at 10:48 , Seth Willits <sli...@araelium.com> wrote: >> >> Can anyone think of what I should look for to figure out *why* they're >> bl

Re: All threads in app periodically blocked

2016-05-22 Thread Seth Willits
OS X. It happens in all circumstances. -- Seth Willits > On May 22, 2016, at 10:59 AM, Alex Zavatone <z...@mac.com> wrote: > > Mac, iOS? If iOS, device or sim? IPad? > > Try publishing and not running through Xcode. > > Sent from my iPhone > >> On May

All threads in app periodically blocked

2016-05-22 Thread Seth Willits
ooking at the system calls in the Instruments trace timeline just isn't telling *me* anything. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: Multiple AVAudioPlayer - locking main thread?

2016-03-22 Thread Seth Willits
the time on the main thread. Use a time profile in Instruments. That's where you're going to find the best indication of what's going on. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Staggering new windows

2016-03-03 Thread Seth Willits
lly) get that old Mac behavior of > staggered windows? I think it was 20 pixels down and right. Window Cascading: https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/WinPanel/Tasks/SizingPlacingWindows.html -- Seth Willits ___

Re: Weird Message from NSZombies

2016-01-12 Thread Seth Willits
two will be used. Which one is undefined. > > Not sure what this means? Anyone have any idea? Ignore it. It has nothing to do with you doing anything wrong. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: Nullability Question

2016-01-11 Thread Seth Willits
On Jan 11, 2016, at 8:04 AM, Dave <d...@looktowindward.com> wrote: > I’ve noticed there are two forms to specify nullability on properties, is one > preferred syntax over the other? Judging by Apple's usage, using the property attributes (nullable and nonnull) are preferred. --

Re: Presenting NSWindowController/NSWindow Pair as a Sheet?

2015-10-29 Thread Seth Willits
NSWindow has beginSheet:completionHandler: There's also NSViewController's presentViewControllerAsSheet: -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderato

Re: How OS X's system-wide "look up" feature is implemented?

2015-10-16 Thread Seth Willits
ence/Conceptual/DictionaryServicesProgGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40006152-CH1-SW1 -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to th

Re: Autolayout requiring NSDisableScreenUpdates

2015-08-31 Thread Seth Willits
> On Aug 30, 2015, at 4:09 PM, Ken Thomases <k...@codeweavers.com> wrote: > > Turn off Visible at Launch on the window in the NIB. D'oh! You're right. I mistakenly left on that and that's what was causing it. Thanks! -- Seth Willits ___

Autolayout requiring NSDisableScreenUpdates

2015-08-30 Thread Seth Willits
, the window is already visible ... [stackView addView:view inGravity:NSStackViewGravityTop]; ... [self.window layoutIfNeeded]; [self.window center]; NSEnableScreenUpdates(); } -- Seth Willits

Re: Completely baffled by NSTabViewController + Autolayout (OS X bug)

2015-08-25 Thread Seth Willits
On Aug 17, 2015, at 9:13 PM, Seth Willits sli...@araelium.com wrote: The goal of this project as is, is simple: using an NSTabViewController, add multiple tab view items where each of the items has a view with its own autolayout-determined fixed size (as in, either an intrinsic content

Presenting VCs as Sheets — Completion Handler?

2015-08-24 Thread Seth Willits
pattern we're supposed to be using. -- Seth Willits ___ 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 Help

Re: navigating NSPopUpButton menu items with arrow keys

2015-08-23 Thread Seth Willits
, or vice versa, this is a bit irritating. It's the standard behavior that's been in Mac OS for ages. I suggest not trying to fight it and introduce non-standard behavior. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: Nullability annotation best practice

2015-08-18 Thread Seth Willits
could have resulted in problems that now would be caught by the compiler. Although it was tedious to add those annotations and validate them (it only took half a day or so), I feel better for having done it. -- Seth Willits ___ Cocoa-dev mailing

Re: Constraints across sibling stack views?

2015-08-18 Thread Seth Willits
either two vertical stacks, or a vertical stack of three horizontal stacks, either works just fine. http://www.sethwillits.com/temp/upshot/upshot_taR2gwwa.png All is good! -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Completely baffled by NSTabViewController + Autolayout

2015-08-17 Thread Seth Willits
NSTabViewControllerTabStyleSegmentedControlOnTop shows the segmented control, but there's no border? Using NSTabViewControllerTabStyleUnspecified + tabView.tabViewType = NSTopTabsBezelBorder; is as close as I can get, but then the tab view item's view placement is wrong? -- Seth Willits

Re: Nullability annotation best practice

2015-08-16 Thread Seth Willits
Really? This list has no opinions? That's hard to imagine :-) -- Seth Willits On Aug 8, 2015, at 1:15 PM, Seth Willits sli...@araelium.com wrote: Let's stipulate that _Nullable and _Nonnull are great to have because they can catch bugs and express API intent better than before, so we

Re: Initialisation pattern

2015-08-13 Thread Seth Willits
it to call -initWithParameter: of the parent class. -- Seth Willits ___ 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

Re: Initialisation pattern

2015-08-13 Thread Seth Willits
instantiating Child. I'm using xcode 6.3.2, does your version differ? I'm using Xcode 7 (beta 5) which has a newer version of clang in it than you have, so it appears this has changed. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev

Why is overriding unavailable designated initializer of super required?

2015-08-10 Thread Seth Willits
initializer must be overridden in the subclass? If the subclass is going to call super's designated initializer via [super init] then this subclass override would never get called anyway... What am I missing? -- Seth Willits ___ Cocoa-dev

Re: Why is overriding unavailable designated initializer of super required?

2015-08-10 Thread Seth Willits
] or [[YourSubclass alloc] convenienceInitializer]. Which brings me right back to my original question. If neither of those can be called, then implementations of them in YourSubclass could never be called. Right? If not, then why does YourSubclass need to provide implementations? -- Seth Willits

Re: Why is overriding unavailable designated initializer of super required?

2015-08-10 Thread Seth Willits
this. Thanks. -- Seth Willits ___ 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 Help/Unsubscribe/Update your

Constraints across sibling stack views?

2015-08-09 Thread Seth Willits
. What's the proper way to have these labels all equal width, when they're in different NSStackViews? What I want: http://www.sethwillits.com/temp/upshot/upshot_7Yna0OGF.png After dumping into stack views: http://www.sethwillits.com/temp/upshot/upshot_yX7dV6OL.png -- Seth Willits

Nullability annotation best practice

2015-08-08 Thread Seth Willits
these annotations themselves. -- Seth Willits ___ 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 Help/Unsubscribe

[PSA] OSStatus.com — Error code lookup

2015-05-30 Thread Seth Willits
finally got fed up, wrote some code, and made a website. So, here's v1. http://www.osstatus.com/ I hope someone besides me finds it useful. ;-) -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: NSNotification coalescing - which one gets through?

2015-05-06 Thread Seth Willits
pull the data from the other source. But whether that's a better fit is questionable based on circumstances. -- Seth Willits -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: TextView : Shifting all text down to make room for a subview

2015-04-01 Thread Seth Willits
On Apr 1, 2015, at 3:00 PM, Jonathan Hull jh...@gbis.com wrote: Have you tried just setting the textContentInset to make room for your subview? The inset by definition affects both the top *and* bottom. I only want the top. -- Seth Willits

TextView : Shifting all text down to make room for a subview

2015-04-01 Thread Seth Willits
something like this? -- Seth Willits ___ 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 Help/Unsubscribe/Update

Re: Idea for Improving Vibrancy

2015-02-16 Thread Seth Willits
Ugh. Mail used the wrong address again and bounced this... -- Seth Willits On Feb 15, 2015, at 9:54 PM, Seth Willits s...@freaksw.com wrote: On Feb 15, 2015, at 6:13 AM, Charles Jenkins cejw...@gmail.com wrote: Is this possible, do you think, to open a window that always hides directly

Re: Self describing NSObjects.

2015-02-05 Thread Seth Willits
); } return ms; } -- Seth Willits ___ 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 Help

Re: Self describing NSObjects.

2015-02-05 Thread Seth Willits
On Feb 5, 2015, at 3:54 PM, Seth Willits sli...@araelium.com wrote: How would you think about implementing this? It seems like I run into this need year after year after year. NSString * NSObjectDescriptionUsingProperties(id obj) { unsigned int propCount; objc_property_t

Re: NSUserDefaults and home folder on different drive

2014-12-11 Thread Seth Willits
is to use $ defaults export domain Just worth mentioning… -- Seth Willits ___ 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

Layer-backed multiline text view rendering dim

2014-12-01 Thread Seth Willits
occurs when the LCD Font Smoothing option is turned off in System Preferences. Does anyone know if there's a workaround for this? I tried telling the text field to draw an opaque white background as well (to deal with subpixelness), but that didn't change anything. -- Seth Willits

[PSA] Non-layer backed views + scrolling + visual artifacts

2014-11-28 Thread Seth Willits
For me, this is 100% repeatable, and 100% fixable by turning on layer-backing. I'm on 10.10.1, iMac14,2 NVIDIA 780M. I imagine it's a bug, but one that's worked around by using layer-backing. I'll be filing a bug report… -- Seth Willits ___ Cocoa

Vibrancy + Floating Group Row bug?

2014-11-06 Thread Seth Willits
aren't visible when under the group row.) -- Seth Willits ___ 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 Help

Re: Vibrancy + Floating Group Row bug?

2014-11-06 Thread Seth Willits
On Nov 6, 2014, at 12:20 PM, Seth Willits sli...@araelium.com wrote: Some subviews of table view cells underneath a floating group row, in a vibrant table view have strange drawing: http://sethwillits.com/temp/upshot/upshot_EnYMpCzT.png Any thoughts? (In the case of the pink text field

Re: NSSplitView divider tracking-area

2014-10-30 Thread Seth Willits
? AFAIK the tracking area of the split view is not affected by anything in the way you describe, and looking at the disassembly shows nothing out of the ordinary. The delegate has the ability to add to the area, but that's it. -- Seth Willits

Re: Waiting for callback with GCD: impossible?

2014-10-08 Thread Seth Willits
the queue, causing a deadlock. … But given that dispatch queues can't do this, what's the solution to this design problem, i.e. turning an async call into a sync one? Simply performing the rest of the task in the callback is one way. -- Seth Willits

Efficient CVPixelBuffer display in a CALayer

2014-10-07 Thread Seth Willits
the copy to the GPU. I'm trying to easily avoid that copy. It seems my only choice is to create an CAOpenGLLayer, manually create a texture from CVPixelBuffer using the typical gl*() calls, and then draw in the layer's drawInCGLContext method. Is there a simpler option? -- Seth Willits

Re: Preventing textfield in table from clicking default button

2014-08-17 Thread Seth Willits
that. -- Seth Willits ___ 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 Help/Unsubscribe/Update your Subscription: https

Preventing textfield in table from clicking default button

2014-08-16 Thread Seth Willits
, looking at the implementation of those NSWindow methods shows they're identical to each other… which makes absolutely no sense. So obviously that doesn't do what one would expect. This is leaving me little choice but to do something very specialized and ugly. Am I missing something? -- Seth

Re: Preventing textfield in table from clicking default button

2014-08-16 Thread Seth Willits
On Aug 16, 2014, at 7:53 PM, Seth Willits sli...@araelium.com wrote: This is leaving me little choice but to do something very specialized and ugly. Well… the simplest solution is to just disable the key equivalent myself instead of using NSWindow's methods. I don't like it, but it does

Re: Text System Locks Up - Can't Find Reason

2014-06-12 Thread Seth Willits
like that property when using IB. That's not fixing it, it's just avoiding the problem. Fast has it enabled. It's on by default in every text view. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Text System Locks Up - Can't Find Reason

2014-06-12 Thread Seth Willits
by boundingRectForGlyphRange:inTextContainer:, the latter of which has a perfectly reasonable and small glyph range request.) -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: Another app's UTI can break your app

2014-06-11 Thread Seth Willits
On Jun 10, 2014, at 8:22 PM, Uli Kusterer witness.of.teacht...@gmx.net wrote: On 10 Jun 2014, at 21:21, Seth Willits sli...@araelium.com wrote: - (NSString *)typeForContentsOfURL:(NSURL *)url error:(NSError **)outError; { if ([url.pathExtension.lowercaseString isEqual:@sql

Text System Locks Up - Can't Find Reason

2014-06-11 Thread Seth Willits
challenge(!!) any of you to figure this out. ;-) Projects (and test file): http://www.sethwillits.com/temp/TextDocumentTest.zip (700 KB) Demo: (Note at 23 seconds in, the app has locked up — pinwheels aren't visible in screen recordings) http://www.sethwillits.com/temp/SlowTextSystemDemo.mov -- Seth

Re: Text System Locks Up - Can't Find Reason

2014-06-11 Thread Seth Willits
On Jun 11, 2014, at 5:02 PM, ChanMaxthon xcvi...@me.com wrote: I believe this involves Cocoa Bindings. There are no bindings. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Text System Locks Up - Can't Find Reason

2014-06-11 Thread Seth Willits
the text. -- Seth Willits ___ 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 Help/Unsubscribe/Update your

Re: Text System Locks Up - Can't Find Reason

2014-06-11 Thread Seth Willits
On Jun 11, 2014, at 5:49 PM, ChanMaxthon xcvi...@me.com wrote: Is editing involved? If not I would render it into HTML and let WebKit render it. This is not helpful at all. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev

Re: Text System Locks Up - Can't Find Reason

2014-06-11 Thread Seth Willits
view is fitted to what's been laid out. When background layout is enabled, I'm not actually sure how it figure out how big to make the text view, particularly so quickly. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: Other app blocks mine from opening my documents

2014-06-10 Thread Seth Willits
believe that's true. The only real option I see is to not use UTIs at all. -- Seth Willits ___ 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

Another app's UTI can break your app

2014-06-10 Thread Seth Willits
this and have boiled it down to the root cause and truth. If I'm wrong, please correct me. (I'd like to be wrong!) -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Another app's UTI can break your app

2014-06-10 Thread Seth Willits
stuff! :) A 7 year-old ticket is extremely disappointing. I will file another. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Other app blocks mine from opening my documents

2014-06-09 Thread Seth Willits
The autosaved document “(null)” could not be reopened. UserInfo=0x608000470540 {NSLocalizedDescription=The autosaved document “(null)” could not be reopened. } - I'm a bit puzzled. Guidance? -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev

Re: Best practices with singletons

2014-06-08 Thread Seth Willits
of the intricate discussion about thread safety and how singletons are the spawn of satan, go search the archives and Google. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: File's owner in nib file

2014-06-08 Thread Seth Willits
loaded. -- Seth Willits ___ 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 Help/Unsubscribe/Update your

Re: File's owner in nib file

2014-06-08 Thread Seth Willits
On Jun 8, 2014, at 12:23 PM, Seth Willits sli...@araelium.com wrote: Whether a window will appear or not has nothing to do with File's Owner. Your window is probably marked as Release When Closed in IB. It's shown once the first time, but after closing it it's deallocated and no longer

Re: OpenGL and crawling ants

2014-06-08 Thread Seth Willits
On Jun 8, 2014, at 6:50 PM, Todd Heberlein todd_heberl...@mac.com wrote: http://www.toddheberlein.com/blog/2014/6/8/opengl-and-crawling-ants Use mipmaps, and if that's still not high enough quality, anisotropic filtering. -- Seth Willits

Re: NSAlert - Default Cancel also respond to Escape? [Solution]

2014-06-08 Thread Seth Willits
On May 19, 2014, at 1:30 PM, Seth Willits sli...@araelium.com wrote: Any ideas on how to get a Cancel button which is both the default button and responds to escape? Both require setting the button's key equivalent and there can only be one. Desired Behavior: Delete - First

Re: Another dumb question about NSWindowController(s)

2014-06-07 Thread Seth Willits
the designated initializer). You ask for the wc's window at some point, it realizes it doesn't have one, sees windowNibName, loads from the nib, and calls windowDidLoad. Baddabing badda boom. -- Seth Willits On Jun 7, 2014, at 12:24 PM, William Squires wsqui...@satx.rr.com wrote: Okay

NSAlert - Default Cancel also respond to Escape?

2014-05-19 Thread Seth Willits
Any ideas on how to get a Cancel button which is both the default button and responds to escape? Both require setting the button's key equivalent and there can only be one. -- Seth Willits -- Seth Willits ___ Cocoa-dev mailing list (Cocoa

Re: Creating selector for nonexistent method

2014-04-29 Thread Seth Willits
really want to just shut it up ASAP. -- Seth Willits ___ 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 Help

Re: Creating selector for nonexistent method

2014-04-29 Thread Seth Willits
bad live-issues data? It's been known to happen… often. -- Seth Willits ___ 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

Re: GCD killed my performance

2014-04-25 Thread Seth Willits
there too? It seems to me you need a better theory as to why the change you made worked. But really, we're flying blind here. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: what do I need the NSArrayController for?

2014-04-03 Thread Seth Willits
to be able to change the value. -- Seth Willits ___ 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 Help/Unsubscribe

Re: what do I need the NSArrayController for?

2014-04-02 Thread Seth Willits
easily listen to either the tableview or the array controller's selection changing, and set the property yourself. You're not required or expected to binding everything just because you can in some manner. -- Seth Willits ___ Cocoa-dev mailing list

Re: what do I need the NSArrayController for?

2014-04-02 Thread Seth Willits
selection.selectedWeapon path) -- Seth Willits ___ 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 Help/Unsubscribe/Update your

Re: Creating NSViewController with -init.

2014-03-24 Thread Seth Willits
(accidentally) experienced it picking a nib automatically on OS X, but it was always picking the wrong nib. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

VCs in the Responder Chain - Again, but with a good solution?

2014-02-11 Thread Seth Willits
ofObject:object change:change context:context]; } @end -- Seth Willits ___ 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

Re: Layer needs display if presentation layer moves?

2014-01-29 Thread Seth Willits
position actually did change. Ideally, we wouldn't need to call noteNodePositionsChanged manually at all. Hopefully that helps anyone else looking for this in the future. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Layer needs display if presentation layer moves?

2014-01-28 Thread Seth Willits
it animates nicely. So simply: Each time layer A's presentation layer moves, I need to redraw layer B. Ideas? I'm fumbling my way through one and it feels awkward. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: Layer needs display if presentation layer moves?

2014-01-28 Thread Seth Willits
and can demonstrate the approach you've described I'd be very grateful. I've been at this for hours. Still trying… -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: CGCMSUtilsGetICCProfileDescription is obsolote

2014-01-27 Thread Seth Willits
loggings all the time… weird. Do you have any ideas? Stick a breakpoint on it. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: Set up an editable view based NSTableView programmatically - how to?

2014-01-07 Thread Seth Willits
returned by the delegate method, if that view has one. That's it. It's the same as assigning tableCellView.objectValue in that delegate method yourself. -- Seth Willits On Jan 7, 2014, at 4:17 PM, Peter magn...@web.de wrote: Great! Yes, this helps immensely. Thank you very much! It didn’t

Re: Best Practices for Code Organization

2013-12-27 Thread Seth Willits
that helps, Also: http://www.idevgames.com/forums You'll probably get much more help there than here. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: NSArray firstObject?

2013-12-22 Thread Seth Willits
recently, but they explicitly said it was actually implemented since 10.6. So you can safely use it as the docs mention. If you're not using the latest SDK(s) with the API change in it, then you'll simply need to declare the method yourself in a category and it'll work fine. -- Seth Willits

CALayer's delegate prevents implicit animation?

2013-12-18 Thread Seth Willits
not animating. I have narrowed it down to the delegate being non-nil, even if the delegate implements none of the delegate methods. If I don't set it, it works fine. This was working fine for yeeears and now in 10.9 it's behaving differently. What could possibly be happening? -- Seth

Re: CALayer's delegate prevents implicit animation?

2013-12-18 Thread Seth Willits
relationships, I set it as the delegate for a few layers because of the access it already has to needed info. It's easy enough to work around this case though. -- Seth Willits On Dec 18, 2013, at 11:13 AM, David Duncan david.dun...@apple.com wrote: What is the identify of your delegate? On Dec

Re: Adding helper app to sandboxed Cocoa app

2013-12-18 Thread Seth Willits
think that will do it. If you look in the archive you'll see that there's an extra copy because it stuck in the installation path (within the archive) which messes everything up. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev

Re: Adding helper app to sandboxed Cocoa app

2013-12-18 Thread Seth Willits
hierarchy and what is in there. Inside of the Products directory, the only thing in the subtree should be your app (nested within the install path folders). -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Best solution for game loop on OSX?

2013-12-16 Thread Seth Willits
Are you *only* trying to do audio, or are you trying to render GL as well? -- Seth Willits On Dec 13, 2013, at 1:57 PM, Alex Hall mehg...@gmail.com wrote: Hello list, I am attempting to use OpenAL to move a sound source around. To do so smoothly, though, will require a loop, so I can

Re: Best solution for game loop on OSX?

2013-12-16 Thread Seth Willits
the position in small increments many times per second — What does many mean to you? What level of accuracy do you need? How should this interact with the main thread, etc? -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: Threaded drawing

2013-12-10 Thread Seth Willits
On Dec 10, 2013, at 2:47 AM, Kevin Meaney k...@yvs.eu.com wrote: I'm probably teaching my grandmother to suck eggs by suggesting this. Have you looked at using CGLayers? They're extremely heavy. You definitely don't want them around if performance is a consideration. -- Seth Willits

Re: Threaded drawing

2013-12-10 Thread Seth Willits
(with the addition of some helpful methods of your own). You can also add any arbitrary k/v pairs to a layer, which gives you convenient property/reference storage. It's certainly not trivial, but when you get it all setup it's not bad. -- Seth Willits

Re: Threaded drawing

2013-12-09 Thread Seth Willits
’ images? (And this just gets into trying to replicate layers, really, though, and with or without layers you’d have a memory usage concern to analyze.) -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Threaded drawing

2013-12-09 Thread Seth Willits
sounds like a good idea to me as well.) -- Seth Willits ___ 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 Help

Re: Video bit rate

2013-12-09 Thread Seth Willits
this? Yes. You can specify the bit rate and profile to use when writing. -- Seth Willits ___ 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

Re: OS X : Different icon for Status Item

2013-12-07 Thread Seth Willits
indicate that it simply uses the same .icns resource indicated by CFBundleIconFile in Info.plist. But I’ve seen other non-Apple apps do it, so apparently it can be done. Uhh… setImage: ? -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev

Re: Threaded drawing

2013-12-06 Thread Seth Willits
. -- Seth Willits ___ 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 Help/Unsubscribe/Update your Subscription

Re: NSTableCellView for view-based outline view

2013-11-20 Thread Seth Willits
identifier? -- Seth Willits ___ 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 Help/Unsubscribe/Update your

Re: NSTableView drag drop string

2013-11-20 Thread Seth Willits
] == YES) { NSLog(@setString worked); return YES; } return NO; } You’re putting it in the dragging pasteboard instead of the general pasteboard. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev

Re: toolbar icons and images

2013-11-11 Thread Seth Willits
. -- Seth Willits ___ 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 Help/Unsubscribe/Update your Subscription: https

Re: Getting mouse clicks when the main loop is busy

2013-11-10 Thread Seth Willits
is populated with data. This sounds like a violation of file coordination and NSDocument file-activity rules. You really ought to load your document contents in the initializer. *initializer*? -- Seth Willits ___ Cocoa-dev mailing list (Cocoa

Re: Codesigning 3rd party framework

2013-11-05 Thread Seth Willits
When you use —deep, all signing options you specify [on the app bundle] will apply, in turn, to such nested content [as embedded frameworks, helpers, resources, etc]” which is not the correct thing that should happen. https://devforums.apple.com/thread/203126?start=0tstart=0 -- Seth Willits

Re: NSDocument and KVO compliance

2013-10-21 Thread Seth Willits
, the registration and unregistration becomes very small loops, and handling in observeValue… looks for the key path in the array and handles all properties the same. (I recall there being something subtle and tricky which makes this alternative non-trivial for my setValue:forKeyPath: override case.) -- Seth

Re: Deadlock during NSCache flush

2013-10-21 Thread Seth Willits
On Oct 21, 2013, at 12:28 PM, Ken Thomases wrote: Seems like a cycle to me. … Have the documents hold weak references to the database. Agreed. What reason is there for the documents to have a strong reference to the database? -- Seth Willits

Re: NSDocument and KVO compliance

2013-10-20 Thread Seth Willits
remember that's how it works, but at this point it ain't broke so I'm not going to tempt fate by fixing it. ;-) -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: NSDocument and KVO compliance

2013-10-18 Thread Seth Willits
not always guaranteed to be bulletproof because those keys could also be influenced by private methods. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

  1   2   3   4   5   6   >