Re: How do you handle reading a plist if it may be an array or a dictionary?

2021-05-09 Thread Steve Mykytyn via Cocoa-dev
You're creating your own problem here. If you are controlling what the configuration plist is, make it a dictionary at the top level with three keys and entries: idString - something that confirms to you that this is one of yours array - the array you want in some cases dictionary - the

Tracking source of recommendation

2021-04-22 Thread Steve Mykytyn via Cocoa-dev
Glad to see this list showing a little life, so I thought I would ask a question. I know how to make a link that app users can send to their friends as email/message/post to take them to the app on the App Store. What I would like to do is associate the new app user upon first launch with the

UITableViewHeaderFooter frames?

2020-08-11 Thread Steve Mykytyn via Cocoa-dev
I would like to get the frame of displayed UITableViewHeaderFooter views, but unfortunately [self.tableView.delegate tableView:self.tableView viewForHeaderInSection:i] returns the correct UITableViewHeaderFooter based on its textLabel, but the frame is all zeroes: Printing description of

Code signing problem in one project...

2020-04-26 Thread Steve Mykytyn via Cocoa-dev
I'm automatically managing code signing on all my Xcode projects. Just today, one started refusing to validate / distribute, claiming it was missing a private key. All the other projects continue to build just fine. Tried restarting Xcode, turned automatic signing on and off, deleted derived

On Demand Resource Trouble in Xcode 11 / iOS 13

2019-10-18 Thread Steve Mykytyn via Cocoa-dev
I'm having a problem with ODR in Xcode 11. Worked fine in Xcode 10 / iOS 12, both device and simulator. 1. I have the asset catalog in the main bundle 2. I have the Build Setting set to YES for Embed Asset Packs in Product Bundle 3. I can see that the assets are correctly copied into the bundle.

Re: Best Xcode machine mid-2019?

2019-07-01 Thread Steve Mykytyn via Cocoa-dev
The framework I'm building is written in Objective-C. I'm waiting for Swift to stabilize... Looking at Activity Monitor during the build, all four CPU cores are utilized symmetrically, the four hyper-threads somewhat less. The disk IO doesn't look like it's a bottleneck either. It does seem

Re: Best Xcode machine mid-2019?

2019-06-29 Thread Steve Mykytyn via Cocoa-dev
great. > If not, just keep > on building great apps. > > > On Jun 28, 2019, at 11:02 AM, Steve Mykytyn via Cocoa-dev < > cocoa-dev@lists.apple.com> wrote: > > My main Xcode machine is a late 2013 27-inch iMac, 24GB RAM, 3.5 GHz Core > i7 with 500GB SSD. >

Best Xcode machine mid-2019?

2019-06-28 Thread Steve Mykytyn via Cocoa-dev
My main Xcode machine is a late 2013 27-inch iMac, 24GB RAM, 3.5 GHz Core i7 with 500GB SSD. It works fine, but I'm wondering if an iMac Pro or a top-of-the-line 2019 iMac would be a life-changing experience. Or just, "that's nice." The Geekbench numbers are somewhat informative, but hoping for