Re: Creating a software video device in modern APIs

2020-03-17 Thread Rick Mann via Cocoa-dev
I should be a little more clear. I want to take my generated video and output it in such a way that any other app, that can take video (and audio) input from a camera, can take it from my app instead. So, some kind of software video & audio device. > On Mar 17, 2020, at 22:25 , Rick M

Creating a software video device in modern APIs

2020-03-17 Thread Rick Mann via Cocoa-dev
I want to make something like a live video mixing/compositing app for macOS. Does anyone know what I should be looking at in the wide array of video APIs to do this? Thanks. -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev

Re: Thoughts on Cocoa

2019-10-02 Thread Rick Mann via Cocoa-dev
. As a developer, I know it was on me to keep up. This wasn't a surprise. -- Rick Mann rm...@latencyzero.com ___ 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: Why is / a metachar in regular expressions ?

2019-09-18 Thread Rick Mann via Cocoa-dev
Ah! So it is. Definitely not an error in the docs, assuming NSRegularExpression supports flags. > On Sep 18, 2019, at 14:54 , Steve Mills via Cocoa-dev > wrote: > > On Sep 18, 2019, at 16:50:39, Rick Mann via Cocoa-dev > wrote: >> >> Yeah, I'm inclined to thin

Re: Why is / a metachar in regular expressions ?

2019-09-18 Thread Rick Mann via Cocoa-dev
gt; Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/rmann%40latencyzero.com > > This email sent to rm...@latencyzero.com -- Rick Mann rm...@latencyzero.com

Re: Why is / a metachar in regular expressions ?

2019-09-18 Thread Rick Mann via Cocoa-dev
coa-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://lists.apple.com/mailman

Re: NSManagedObject.managedObjectContext is nil???

2019-03-28 Thread Rick Mann
; >> On Mar 27, 2019, at 1:18 PM, Rick Mann wrote: >> >> I can't tell. I don't believe I have any unreferenced MOCs. >> >>> On Mar 27, 2019, at 13:08 , Dave Fernandes >>> wrote: >>> >>> Just to clarify, the moc exists, bu

Re: NSManagedObject.managedObjectContext is nil???

2019-03-27 Thread Rick Mann
I can't tell. I don't believe I have any unreferenced MOCs. > On Mar 27, 2019, at 13:08 , Dave Fernandes wrote: > > Just to clarify, the moc exists, but the reference to it is nil? Or has the > moc, itself, been deallocated? > >> On Mar 27, 2019, at 3:40

Re: NSManagedObject.managedObjectContext is nil???

2019-03-27 Thread Rick Mann
e context has been deallocated? > > Furthermore, I think you can also observe this affect on deleted objects once > the context has been saved, if you’re still holding a reference to any such > objects. > > Mike. > > Sent from my iPhone > >> On 26 Mar 2019,

Re: NSManagedObject.managedObjectContext is nil???

2019-03-26 Thread Rick Mann
t outside the managed object context. > > --Richard Charles > > >> On Mar 26, 2019, at 1:04 PM, Rick Mann wrote: >> >> I'm seeing a situation where my NSManagedObject's managedObjectContext is >> nil. It doesn't happen all the time though. Any idea why? Thanks! >

NSManagedObject.managedObjectContext is nil???

2019-03-26 Thread Rick Mann
I'm seeing a situation where my NSManagedObject's managedObjectContext is nil. It doesn't happen all the time though. Any idea why? Thanks! -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Definitive guide to custom modal presentation?

2018-11-12 Thread Rick Mann
hierarchy, is it the UIPresentationController subclass or the UIViewControllerAnimatedTransitioning implementation? Who should respond to the various pan and tap gesture recognizers I'll inevitably need to install? I appreciate any guidance. Thanks! -- Rick Mann rm...@latencyzero.com

Re: NSManagedObjectContext's undoManager is nil on macOS

2018-09-06 Thread Rick Mann
ocoa-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://lists.apple.com/mailman/options/cocoa-dev/rmann%40latencyz

Re: Why are the simplest things the hardest?

2018-07-06 Thread Rick Mann
> On Jul 5, 2018, at 01:31 , Allan Odgaard wrote: > > On 5 Jul 2018, at 6:44, Rick Mann wrote: > >> Annoying I have to have a first responder view just to allow even my >> Document to respond to menu commands. > > Quoting the > [documentation](https://de

Re: Why are the simplest things the hardest?

2018-07-04 Thread Rick Mann
Weird. Examining the firstResponder shows it is, in fact, my SCNView subclass. Yet menu actions to the first responder don't propagate up. > On Jul 4, 2018, at 21:31 , Ken Thomases wrote: > > On Jul 4, 2018, at 10:45 PM, Rick Mann wrote: >> >> I've overridden -acceptsFir

Re: Why are the simplest things the hardest?

2018-07-04 Thread Rick Mann
> On Jul 4, 2018, at 21:31 , Ken Thomases wrote: > > On Jul 4, 2018, at 10:45 PM, Rick Mann wrote: >> >> I've overridden -acceptsFirstResponder to return true on the window >> controller and view controllers. > > That doesn't do anything. -accep

Re: Why are the simplest things the hardest?

2018-07-04 Thread Rick Mann
> On Jul 4, 2018, at 21:31 , Ken Thomases wrote: > > On Jul 4, 2018, at 10:45 PM, Rick Mann wrote: >> >> I've overridden -acceptsFirstResponder to return true on the window >> controller and view controllers. > > That doesn't do anything. -accep

Re: Why are the simplest things the hardest?

2018-07-04 Thread Rick Mann
> On Jul 4, 2018, at 20:40 , Ken Thomases wrote: > > On Jul 4, 2018, at 9:08 PM, Rick Mann wrote: >> >> I'm writing a new macOS app. I started with the document-based app template >> (no core data). I have a custom window controller, and a hierarchy of custom &g

Why are the simplest things the hardest?

2018-07-04 Thread Rick Mann
, but it never gets called. However, if I connect the menu item to the app delegate, it gets called. What am I doing wrong? Thanks. -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

How to make my NSViewControllers participate in responder chain?

2018-06-30 Thread Rick Mann
NSSplitViewController. The whole thing seems cumbersome, at best. What am I missing? Thanks, -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: Scrolling differences when using Trackpad or Mouse-Wheel

2018-06-23 Thread Rick Mann
ey made, despite its flaws), those websites continue to scroll a bit after I've stopped moving the ball (which should stop the scroll dead in its tracks). This is not a mouse or driver problem, it's a misinterpretation of low-level events by badly-designed Javascript. -- Rick Mann rm...@laten

Re: Implementing an import command in NSDocument-based app

2018-05-16 Thread Rick Mann
Thank you, that's all good advice. > On May 16, 2018, at 00:26 , Rick Mann <rm...@latencyzero.com> wrote: > > I'm working on a little NSDocument-based app. The documents are packages (a > directory containing multiple files). One of the operations is to import a > music f

Implementing an import command in NSDocument-based app

2018-05-16 Thread Rick Mann
document that isn't committed to disk until the next save (be it automatic or manual). Can this even be done without undo? Along those lines, how do I mark a document as dirty after some change, without making the change undoable? Thanks, -- Rick Mann rm...@latencyzero.com

IKScannerDeviceView not working

2017-12-21 Thread Rick Mann
, and when it calls scannerDeviceView(_ scannerDeviceView: IKScannerDeviceView!, didScanTo url: URL!, fileData data: Data!, error: Error!), it provides a nil url, and an empty data. There's a dearth of examples online, so any help would be appreciated. Thanks! -- Rick Mann rm...@laten

Re: Loading very large image files (>10GB)

2017-12-05 Thread Rick Mann
and can be used to > downsample a large image progressively ( > https://developer.apple.com/library/content/samplecode/LargeImageDownsizing/Introduction/Intro.html > ) > > I guess NSImage can do something similar. If not, this can probably be done > using CGImageSource API. >

Re: NSString equivalent of CFSTR macro?

2017-12-04 Thread Rick Mann
> On Dec 4, 2017, at 16:14 , Greg Parker <gpar...@apple.com> wrote: > > >> On Dec 4, 2017, at 3:22 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> Ugh...been doing too much Swift (j/k). The right answer to this question is: >> >> @(k

Re: NSString equivalent of CFSTR macro?

2017-12-04 Thread Rick Mann
Ugh...been doing too much Swift (j/k). The right answer to this question is: @(kSomeCStringConstant) This works whether it's a #define or a static const char* const. > On Dec 4, 2017, at 15:00 , Greg Parker <gpar...@apple.com> wrote: > > >> On Dec 4, 2017, at 2

Re: NSString equivalent of CFSTR macro?

2017-12-04 Thread Rick Mann
Ah, nvm, user error. I'm an idiot. It's not a #defined string. It's: static const char* const kSomeCStringConstant = "foo"; > On Dec 4, 2017, at 14:56 , Ben Kennedy <b...@zygoat.ca> wrote: > > On Dec 4, 2017, at 2:53 PM, Rick Mann <rm...@latencyze

Re: NSString equivalent of CFSTR macro?

2017-12-04 Thread Rick Mann
> On Dec 4, 2017, at 14:55 , Greg Parker <gpar...@apple.com> wrote: > > >> On Dec 4, 2017, at 2:51 PM, Ben Kennedy <b...@zygoat.ca> wrote: >> >>> On Dec 4, 2017, at 2:47 PM, Rick Mann <rm...@latencyzero.com> wrote: >>> >>&

Re: NSString equivalent of CFSTR macro?

2017-12-04 Thread Rick Mann
I tried that. It doesn't work. MCP.m:262:54: Unexpected '@' in program > On Dec 4, 2017, at 14:51 , Ben Kennedy <b...@zygoat.ca> wrote: > >> On Dec 4, 2017, at 2:47 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> #define NSSTR(s)

NSString equivalent of CFSTR macro?

2017-12-04 Thread Rick Mann
ot; ... NSSTR(kSomeCStringConstant) TIA, -- Rick Mann rm...@latencyzero.com ___ 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)li

Re: Stopping on a system call and determining open files?

2017-12-04 Thread Rick Mann
, this particular error wouldn't have happened). > On Dec 3, 2017, at 19:41 , Richard Charles <rcharles...@gmail.com> wrote: > > >> On Dec 3, 2017, at 8:16 PM, Jerome Krinock <je...@ieee.org> wrote: >> >>> On 2017 Dec 1, at 21:54, Rick Mann <rm...@latency

Re: Stopping on a system call and determining open files?

2017-12-03 Thread Rick Mann
inock <je...@ieee.org> wrote: >> >>> On 2017 Dec 1, at 21:54, Rick Mann <rm...@latencyzero.com> wrote: >>> >>> Certificate Key (CK) >> >> The stack trace in your first post indicates that CK is more likely >> CommerceKit. For example:

Loading very large image files (>10GB)

2017-12-03 Thread Rick Mann
Is there support in NSImage[View]/Core Image for loading and displaying very large images (TIFF files larger than 10 GB)? I'm having trouble googling for an answer. -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev

Re: Stopping on a system call and determining open files?

2017-12-01 Thread Rick Mann
> On Dec 1, 2017, at 21:44 , Richard Charles <rcharles...@gmail.com> wrote: > > >> On Dec 1, 2017, at 10:15 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> Suddenly Spotlight and Safari are crashing all the time on my Mac. Both >> crash in

Re: Stopping on a system call and determining open files?

2017-12-01 Thread Rick Mann
It’s possible. I thought it was something security related. Certificate Key (CK) and DAAP is a type in the Apple security APIs. -- Rick Mann rm...@latencyzero.com > On Dec 1, 2017, at 21:44, Richard Charles <rcharles...@gmail.com> wrote: > > >> On Dec 1, 2017, at 10

Stopping on a system call and determining open files?

2017-12-01 Thread Rick Mann
0x7fff6ffd8c4d start_wqthread + 13 . . . Thanks! -- Rick Mann rm...@latencyzero.com -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Avoiding color transformations in PNG/UIImage/CGImage ops?

2017-11-17 Thread Rick Mann
> On Nov 17, 2017, at 14:03 , Vince DeMarco <dema...@apple.com> wrote: > > > >> On Nov 17, 2017, at 1:45 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> >> >>> On Nov 17, 2017, at 13:36 , Vince DeMarco <dema...@apple.com> wr

Re: Avoiding color transformations in PNG/UIImage/CGImage ops?

2017-11-17 Thread Rick Mann
> On Nov 17, 2017, at 13:36 , Vince DeMarco <dema...@apple.com> wrote: > > > >> On Nov 17, 2017, at 1:28 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> Nope, I'm definitely looking at pixel data. But I'll try the generic color >> space

Re: Avoiding color transformations in PNG/UIImage/CGImage ops?

2017-11-17 Thread Rick Mann
ly accurate color." > (https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/DrawColor/Tasks/UsingColorSpaces.html) > > Steve > > >> On Nov 16, 2017, at 6:31 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> I'm trying to write a unit

Re: Avoiding color transformations in PNG/UIImage/CGImage ops?

2017-11-16 Thread Rick Mann
Do you literally mean moving the iOS simulator window to a different monitor, even though there’s never a display context in any of this code? -- Rick Mann rm...@latencyzero.com > On Nov 16, 2017, at 19:55, Alex Zavatone <z...@mac.com> wrote: > > I was basing my assumpti

Re: Avoiding color transformations in PNG/UIImage/CGImage ops?

2017-11-16 Thread Rick Mann
f the image. What are you setting it to? Profile Name: sRGB > IEC61966-2.1? > > >> On Nov 16, 2017, at 8:31 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> I'm trying to write a unit test for some code I wrote that generates one >> image from ano

Avoiding color transformations in PNG/UIImage/CGImage ops?

2017-11-16 Thread Rick Mann
(bitmap)Context, specifying device RGB color space (should that be generic?). I don't really know what happens to the PNGs I save and load. Is there a way to ensure the bytes in the buffer are compressed and decompressed exactly as written? -- Rick Mann rm...@latencyzero.com

Re: [swift-users] Making a copy of an UnsafePointer

2017-11-15 Thread Rick Mann
Ah, never mind. I was indexing well past the end of the buffer. D'oh. > On Nov 15, 2017, at 00:48 , Quinn The Eskimo! via swift-users > <swift-us...@swift.org> wrote: > > > On 15 Nov 2017, at 04:16, Rick Mann via swift-users <swift-us...@swift.org> > wrote:

Re: Getting immutable UIImage data pointer without copy?

2017-11-14 Thread Rick Mann
> On Nov 14, 2017, at 20:18 , Jens Alfke <j...@mooseyard.com> wrote: > > > >> On Nov 14, 2017, at 8:11 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> Maybe, at least for the bonus question. The bigger question is around the >> copy. &

Re: Getting immutable UIImage data pointer without copy?

2017-11-14 Thread Rick Mann
> On Nov 14, 2017, at 20:07 , Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Nov 14, 2017, at 18:36 , Rick Mann <rm...@latencyzero.com> wrote: >> >> Is there a way to get at the underlying raw image data for a given UIImage

Getting immutable UIImage data pointer without copy?

2017-11-14 Thread Rick Mann
dataArray: [UInt8] = Thanks, -- Rick Mann rm...@latencyzero.com ___ 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

AVFoundation vs Core Image for QR Codes?

2017-09-19 Thread Rick Mann
decoupled from AVFoundation. Am I just missing something? -- Rick Mann rm...@latencyzero.com ___ 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

Why are some Core Graphics APIs "hidden" from Swift?

2017-08-30 Thread Rick Mann
) Why is this? -- Rick Mann rm...@latencyzero.com ___ 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: Is cloning the same as copying in APFS?

2017-06-28 Thread Rick Mann
Yeah, our data is immutable, so hard Link’s work fine. -- Rick Mann rm...@latencyzero.com > On Jun 28, 2017, at 02:43, Alastair Houghton <alast...@alastairs-place.net> > wrote: > >> On 27 Jun 2017, at 22:45, Rick Mann <rm...@latencyzero.com> wrote: >>

Re: Is cloning the same as copying in APFS?

2017-06-27 Thread Rick Mann
Yes, that seems the right way to do it. Thanks! -- Rick Mann rm...@latencyzero.com > On Jun 27, 2017, at 16:07, Charles Srstka <cocoa...@charlessoft.com> wrote: > >>> On Jun 27, 2017, at 4:45 PM, Rick Mann <rm...@latencyzero.com> wrote: >>> >>> &g

Re: Is cloning the same as copying in APFS?

2017-06-27 Thread Rick Mann
> On Jun 27, 2017, at 14:30 , Charles Srstka <cocoa...@charlessoft.com> wrote: > >> On Jun 27, 2017, at 4:17 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> Thanks for that, Charles! >> >> I wasn't sure because of the existence of the c

Re: Is cloning the same as copying in APFS?

2017-06-27 Thread Rick Mann
uot;Uncloned size of dest file: \(try unclonedSize(of: destURL))") > } catch { > print("Error occurred: \(error.localizedDescription)") > } > > - - - - - - - - - > > outputs: > > Uncloned size of source file: 102400 > Uncloned size of dest file: 0 &

Re: Is cloning the same as copying in APFS?

2017-06-26 Thread Rick Mann
DC video Quincey referred to a couple of weeks ago talked about > references to files being created (lazy copies). Only when the blocks > associated with the newest reference are altered would any actual copying of > actual data be done. > > Is this the behavior your referring to? &g

Is cloning the same as copying in APFS?

2017-06-26 Thread Rick Mann
If I use NSFileManager to make a copy on an APFS volume, will it make a clone underneath? Is there a Cocoa API for cloning? -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

__nw_connection_get_connected_socket_block_invoke 15 Connection has no connected handler

2017-05-07 Thread Rick Mann
). -- Rick Mann rm...@latencyzero.com ___ 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: Does file-mapping a memory allocation work around RAM limits?

2017-05-04 Thread Rick Mann
Thanks for that thorough explanation! We're going to try using mmap(). It will be interesting to do this from Swift. > On May 4, 2017, at 10:04 , David Duncan <david.dun...@apple.com> wrote: > > >> On May 3, 2017, at 11:51 PM, Rick Mann <rm...@latencyzero.com> w

Re: Does file-mapping a memory allocation work around RAM limits?

2017-05-04 Thread Rick Mann
> On May 3, 2017, at 23:27 , Doug Hill <cocoa...@breaqz.com> wrote: > > >> On May 3, 2017, at 6:21 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> Our iOS app works with very large data buffers (hundreds of MB). As you can >> imagine, we run i

Does file-mapping a memory allocation work around RAM limits?

2017-05-03 Thread Rick Mann
the large iPad Pro with 3GB of RAM also limit apps to 600 MB?). -- Rick Mann rm...@latencyzero.com ___ 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: Mysterious write-only SMB behavior

2017-04-28 Thread Rick Mann
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://lists.apple.com/mailman/o

Re: iOS "library" unit test of iOS code?

2017-04-24 Thread Rick Mann
Also, in this case, it can be a macOS thing; the code should run equally well, assuming the dylib I depend on can load (it might've been built against the iOS SDK). > On Apr 24, 2017, at 15:48 , Jens Alfke <j...@mooseyard.com> wrote: > > >> On Apr 24, 2017, at 3

Re: iOS "library" unit test of iOS code?

2017-04-24 Thread Rick Mann
> On Apr 24, 2017, at 15:48 , Jens Alfke <j...@mooseyard.com> wrote: > > >> On Apr 24, 2017, at 3:38 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> I'm trying to test some code that's entirely stand-alone from my app, and in >> fact I'm ha

iOS "library" unit test of iOS code?

2017-04-24 Thread Rick Mann
aps it's trying to link against the iOS SDK? How do I unit test, with minimal overhead (i.e. without having to run my entire app) some iOS-linked code? -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Pleas

Unit testing a series of aync operations?

2017-04-21 Thread Rick Mann
longer. Is there any way to test this? Remember, each operation has to wait for the previous one to finish. Thanks, -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Translating KVO-ed property to Swift

2017-04-17 Thread Rick Mann
Thanks, Charles, that's helpful. In the end I left the class as Obj-C, because I still had to derive from it in Obj-C and you annoyingly can't do that. > On Apr 17, 2017, at 08:06 , Charles Srstka <cocoa...@charlessoft.com> wrote: > >> On Apr 17, 2017, at 3:24

Translating KVO-ed property to Swift

2017-04-17 Thread Rick Mann
AIK you can't name the ivar created for a property. Is there a way to translate this to swift? TIA, -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator c

Re: Argh never-ending troubles with bindings

2017-02-08 Thread Rick Mann
> On Feb 8, 2017, at 18:26 , Ken Thomases <k...@codeweavers.com> wrote: > > On Feb 8, 2017, at 5:44 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> 2017-02-08 15:39:41.178728 PromotionalChargeManager[51621:17330300] >> [General] Cannot perform ope

Re: Argh never-ending troubles with bindings

2017-02-08 Thread Rick Mann
> On Feb 8, 2017, at 17:41 , Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Feb 8, 2017, at 17:17 , Rick Mann <rm...@latencyzero.com> wrote: >> >> it's the Managed Object Context that's bound to >> "self.repr

Re: Argh never-ending troubles with bindings

2017-02-08 Thread Rick Mann
> On Feb 8, 2017, at 17:08 , Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Feb 8, 2017, at 16:58 , Rick Mann <rm...@latencyzero.com> wrote: >> >>> On Feb 8, 2017, at 16:50 , Quincey Morris >>> <quinceymor...@rivergate

Re: Argh never-ending troubles with bindings

2017-02-08 Thread Rick Mann
> On Feb 8, 2017, at 16:50 , Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Feb 8, 2017, at 15:44 , Rick Mann <rm...@latencyzero.com> wrote: >> >> I bind an Array Controller in the View Controller scene to >> ViewController.s

Argh never-ending troubles with bindings

2017-02-08 Thread Rick Mann
ping for a complaint about something not being KVO-compliant for that nonexistent property. No such luck. What am I doing wrong? Thanks! -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

Re: Enabling UISearchBar cancel button?

2017-01-12 Thread Rick Mann
ade (Sent from my iPad) > http://www.garywade.com/ > > On Jan 11, 2017, at 8:17 PM, Rick Mann <rm...@latencyzero.com> wrote: > >> I'm creating and displaying a UISearchBar without using UISearchController >> (it gets in the way). >> >> My UISearchBar is

Enabling UISearchBar cancel button?

2017-01-11 Thread Rick Mann
with the text of the last search, so the button should be enabled. Before, when I was using UISearchController, it was enabled. Now it's not, until the user taps on it! Any idea how to enable it? Thanks! -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev

Re: Uploading binary troubles?

2016-12-10 Thread Rick Mann
Oh, I guess the magic is to first complain to the list, then try again. It finally worked. It's really flaky, though. > On Dec 10, 2016, at 02:06 , Rick Mann <rm...@latencyzero.com> wrote: > > I've been having no end of problems trying to upload a new binary to Apple > toda

Uploading binary troubles?

2016-12-10 Thread Rick Mann
afternoon, and now (about 2 am PST). Has anyone successfully uploaded a binary in the last 24 hours? -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments t

Re: Vertically Centered Colon

2016-11-29 Thread Rick Mann
ny fraction. Oh, wow, contextual fractional forms! This is *perfect* for the app I'm working on currently. I'm late to this thread. Does this stuff only work for attributed strings? Do I apply the alternate form attribute to the string "99/100" in order to get the fractional fo

Re: Preserving knowledge of renamed/moved directory?

2016-11-28 Thread Rick Mann
> On Nov 28, 2016, at 18:14 , Sean McBride <s...@rogue-research.com> wrote: > > On Mon, 28 Nov 2016 17:06:41 -0800, Rick Mann said: > >> Back in the days before URLs, I could have an FSRef to a directory, and >> no matter where I moved that directory what I na

Re: Preserving knowledge of renamed/moved directory?

2016-11-28 Thread Rick Mann
> On Nov 28, 2016, at 17:30 , Charles Srstka <cocoa...@charlessoft.com> wrote: > >> On Nov 28, 2016, at 7:06 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> Back in the days before URLs, I could have an FSRef to a directory, and no >> matter

Preserving knowledge of renamed/moved directory?

2016-11-28 Thread Rick Mann
thread's URL pointing to that directory (or inside it) becomes invalid, right? Is there any way for this to not be the case? That is, for a URL to a directory or subdirectory or item within to stay valid even if the path to it changes? -- Rick Mann rm...@latencyzero.com

Re: Swift DispatchQueue docs?

2016-11-21 Thread Rick Mann
Hmm. If you scroll down in the generated Swift interface file, you get a bunch of block comments from the C version. Sigh. > On Nov 21, 2016, at 13:48 , Rick Mann <rm...@latencyzero.com> wrote: > > They seem pretty terrible. No explanation of any of the things. > > The

Swift DispatchQueue docs?

2016-11-21 Thread Rick Mann
rface…", presumably a Swift interface I don't want to see. -- Rick Mann rm...@latencyzero.com ___ 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

Re: Creating an NSWindow with utility style in Xcode storyboard?

2016-11-07 Thread Rick Mann
> On Nov 7, 2016, at 19:51 , Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Nov 7, 2016, at 19:44 , Rick Mann <rm...@latencyzero.com> wrote: >> >> I can drag out an NSWindow, and I can even change its class to NSPanel, but >>

Re: Xcode inspector-like tabs?

2016-11-07 Thread Rick Mann
Hmm, maybe. I missed that. When I select it, I get nothing at all, not sure how to specify the images for my tabs. But I'll look into it. Thanks! > On Nov 7, 2016, at 19:49 , Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Nov 7, 2016, at 19:

Re: Xcode inspector-like tabs?

2016-11-07 Thread Rick Mann
> On Nov 7, 2016, at 19:43 , Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Nov 7, 2016, at 18:01 , Rick Mann <rm...@latencyzero.com> wrote: >> >> Is there a standard control to implement the Xcode inspector tabs across the >

Re: Creating an NSWindow with utility style in Xcode storyboard?

2016-11-07 Thread Rick Mann
> On Nov 7, 2016, at 19:40 , Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Nov 7, 2016, at 18:28 , Rick Mann <rm...@latencyzero.com> wrote: >> >> Is there no way to make a floating inspector window in a Storyboard in Xcode >> 8

Creating an NSWindow with utility style in Xcode storyboard?

2016-11-07 Thread Rick Mann
Is there no way to make a floating inspector window in a Storyboard in Xcode 8? -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Xcode inspector-like tabs?

2016-11-07 Thread Rick Mann
. -- Rick Mann rm...@latencyzero.com ___ 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

'method' is partial: introduced in macOS 10.8

2016-11-01 Thread Rick Mann
redeclare it, since it's on NSMutableDictionary. Do I have to do so in an extension? I don't understand. Why is this even a warning? -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: WKWebView and tooltips

2016-10-20 Thread Rick Mann
to white. > On Oct 20, 2016, at 17:52 , Rick Mann <rm...@latencyzero.com> wrote: > > We have a complex WebGL app that has some controls defined via HTML elements. > We use this code both on the web, and in an iOS app inside a WKWebView. We > recently added tooltips

WKWebView and tooltips

2016-10-20 Thread Rick Mann
the control. Tapping the tooltip hides it. But this only happens in my WKWebView version of the app. Loading the same app via Safari on iOS doesn't exhibit this behavior. I've tried googling for an answer, but so far nothing. Any ideas? Thanks. -- Rick Mann rm...@latencyzero.com

Re: Xcode 8 causes scroll issue when displaying keyboard

2016-10-11 Thread Rick Mann
becomeFirstResponder() may not > work properly or reliably from -viewWillAppear:. I solved my issues by using > -viewDidAppear: or -viewDidLoad, both of which also execute on the main > thread, but later in the view instantiation process. > > -Carl > >> On Oct 11,

Re: Xcode 8 causes scroll issue when displaying keyboard

2016-10-11 Thread Rick Mann
Ah, it happens because we call becomeFirstResponder() on the first text field while in viewWillAppear(). Dispatching that on the main queue asynchronously fixes the problem, but ugh it's so hacky. > On Oct 11, 2016, at 17:58 , Rick Mann <rm...@latencyzero.com> wrote: > > We

Xcode 8 causes scroll issue when displaying keyboard

2016-10-11 Thread Rick Mann
. This is clearly a bug, but I'm looking for a workaround. Any ideas? Thanks! -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Playground gets permission error

2016-09-30 Thread Rick Mann
n not permitted"}} The code is basically: var vals = URLResourceValues() vals.isExcludedFromBackup = true try url.setResourceValues(vals) The folder I'm setting it on is in my home directory. It's an iOS playground. Any ideas? Thanks. -- Rick Mann r

Re: URL.setResourceValues() in Swift 3

2016-09-29 Thread Rick Mann
> On Sep 29, 2016, at 10:54 , Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Sep 29, 2016, at 04:18 , Rick Mann <rm...@latencyzero.com> wrote: >> >> var vals = URLResourceValues() >> vals.isExcludedFromBackup = true >> try

URL.setResourceValues() in Swift 3

2016-09-29 Thread Rick Mann
what the compiler sees. Damn these bugs really suck. Anyone know how to make this call work? Thanks. -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to th

Can't convert to swift 3 and support

2016-09-09 Thread Rick Mann
struct URLResourceValues and URL.setResourceValues(_:) instead Problem is, that only exists on iOS 10. Am I screwed? -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: More Provisioning woes

2016-09-08 Thread Rick Mann
ir > dev account. > > And you're the first data point that I've seen. > > > > > On Sep 8, 2016, at 6:09 PM, Rick Mann wrote: > >> Not my Profiles. My distribution Certificate. >> >>> On Sep 8, 2016, at 16:05 , Alex Zavatone <z...@mac.com&

Re: More Provisioning woes

2016-09-08 Thread Rick Mann
Not my Profiles. My distribution Certificate. > On Sep 8, 2016, at 16:05 , Alex Zavatone <z...@mac.com> wrote: > > Yeah, that is what happened to our provisioning profiles. Just gone. > > > On Sep 8, 2016, at 6:04 PM, Rick Mann wrote: > >> In my case, it t

Re: More Provisioning woes

2016-09-08 Thread Rick Mann
ore just are gone. > > Did this happening to anyone else? > > > > On Sep 8, 2016, at 5:33 PM, Rick Mann wrote: > >> Today a bunch of our Profiles expired. Normally I just re-generate them, but >> now I can't. The Portal says they all lack Certificates. Thing i

  1   2   3   4   5   6   7   8   9   10   >