Re: WatchKit Baby Apps

2018-03-02 Thread Gary L. Wade
to add that. -- Gary L. Wade http://www.garywade.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: Put UICollectionView within UITableViewCell

2018-03-09 Thread Gary L. Wade
I would suggest rethinking the table view enclosure and just use a collection view with headers and footers by way of the supplemental views. -- Gary L. Wade http://www.garywade.com/ > On Mar 9, 2018, at 8:00 AM, Glen Huang wrote: > > Hi, > > I asked a question about putting U

Re: Persistent User Defaults

2018-04-24 Thread Gary L. Wade
Try defaults delete in the Terminal. -- Gary L. Wade http://www.garywade.com/ > On Apr 24, 2018, at 8:42 AM, Richard Charles wrote: > > On macOS an applications user defaults are stored in a preference plist file > located in ~/Library/Preferences. > > If this fil

Re: Crashes inside CFStringDeallocate

2018-05-26 Thread Gary L. Wade
r, and an embedded 16-bit zero within the bytes, even if it’s the last character in your array. -- Gary L. Wade http://www.garywade.com/ <http://www.garywade.com/> > On May 26, 2018, at 3:18 AM, Vojtěch Meluzín > wrote: > > Hard to say really, but we know that it does work p

Re: C++ pointer to Cocoa object

2018-09-07 Thread Gary L. Wade
You might also find WWDC 2018, Session 409, informative. -- Gary L. Wade http://www.garywade.com/ > On Sep 7, 2018, at 1:44 PM, Allan Odgaard wrote: > >> On 7 Sep 2018, at 19:46, Casey McDermott wrote: >> >> Problem is, with ARC turned on, the pointer is never nil, so

Re: Drawing boxes around each digit entered in UITextField (Number Pad)

2019-02-09 Thread Gary L. Wade
provide your own field editor that does the same thing, and drawing when not editing would follow the non-boxed method. -- Gary L. Wade http://www.garywade.com/ <http://www.garywade.com/> > On Feb 9, 2019, at 12:36 PM, Devarshi Kulshreshtha > wrote: > > I am trying to draw boxes

Re: NSTextField "Discard Change"

2019-04-27 Thread Gary L. Wade
do it in a text field subclass, you’re probably better off managing that from its controller. By the time your sheet shows up, your text field is no longer performing any editing since it’s no longer the first responder. -- Gary L. Wade http://www.garywade.com/ <http://www.garywade.com/>

Re: Crashing Problem calling postNotificationName

2013-09-11 Thread Gary L. Wade
es. If you want to preserve state for your class, you need to do that yourself, and while you could encapsulate that in an NSNotification, it's overkill and causes you to think along lines for which the class was not designed. -- Gary L. Wade (Sent from my iPhone) http://www.g

Re: Analyser reports memory leak… where?

2013-09-12 Thread Gary L. Wade
In your dealloc, you should release ivars before calling super dealloc. Ideally a crash will tell you that quickly; otherwise things could be very bad. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ ___ Cocoa-dev mailing list (Cocoa

Re: View hierarchy, documentation, and origin location.

2013-09-23 Thread Gary L. Wade
What I believe you're wanting to know is that cells in a matrix have their row-column coordinates start from the top left, so the cell at (0,0) is in the top left of its enclosure matrix and the cell at row 1 column 0 is below it. -- Gary L. Wade (Sent from my iPhone) http://www.garywad

Re: View hierarchy, documentation, and origin location.

2013-09-24 Thread Gary L. Wade
to see if it changes anything for your own satisfaction. If you must override NSMatrix for some extra drawing, use the value of -isFlipped to know whether top left or bottom left is the origin. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ On Sep 24, 2013, at 9:47 AM, Peter

Re: iOS7 Controls

2013-09-24 Thread Gary L. Wade
Sounds like you should write up some UI/Usability bugs at http://bugreport.apple.com/ -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ On Sep 24, 2013, at 5:54 PM, David Rowland wrote: > The weather app is almost unreadable - tiny, thin type in white on a light > blue back

Re: Silent Self-Caught Exceptions vs. "All Exceptions" Breakpoint

2013-09-25 Thread Gary L. Wade
en best to not break on C++ exceptions except where you can focus the breakpoints, or you'll got lots of spurious encounters. -- Gary L. Wade http://www.garywade.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post ad

Re: Cocoa class extension best practice

2013-10-15 Thread Gary L. Wade
y modification. In other words, you can't assume that every time you call -itemArray you will get a new immutable array, but it's not a bad practice to operate as though you would. -- Gary L. Wade http://www.garywade.com/ ___ Cocoa-dev mailing

Re: operatingSystemVersionString replacement

2013-10-25 Thread Gary L. Wade
10.8.5, 10.9, 10.7.5.12, etc. If there's a need for knowing the build version and doing a similar comparison (not to say this applies for you), you could parse the number, letter, and number from the key ProductBuildVersion into corresponding values and store those in another NSIndexPath. -- G

Re: operatingSystemVersionString replacement

2013-10-25 Thread Gary L. Wade
For any Apple people who care, there's now rdar://15320964 to help with this conundrum. For anyone else, feel free to file your bugs. -- Gary L. Wade http://www.garywade.com/ On 10/25/2013 8:53 AM, "Sean McBride" wrote: >On Fri, 25 Oct 2013 06:02:23 -0700, Gary L. Wade sa

Re: Mavericks Printing and inverted NSScrollView > NSClipView > NSTableView presentation

2013-10-27 Thread Gary L. Wade
back to you if it's really Apple's bug. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ > On Oct 27, 2013, at 3:49 PM, John Bishop wrote: > > We've filed a bug report (15328543), but this is such a killer for our > customers we need to find out w

Re: Fast hash of NSData?

2013-11-29 Thread Gary L. Wade
time?) you might be able to more quickly ascertain equality. Hashes for large file equality are a whole lot more necessary when the latency of file access is orders of magnitude larger than local file access (consider across-network full-copying of files, something backup and sync products want

Re: Fast hash of NSData?

2013-11-30 Thread Gary L. Wade
on if appropriate. FYI, I've worked on a few backup and sync apps/processes and am pretty comfortable with file system bottlenecks both local and remote. -- Gary L. Wade http://www.garywade.com/ On 11/30/2013 2:47 AM, "Graham Cox" wrote: >It¹s also likely to be slow in itself

Re: libcrypto linking problem in Leopard

2014-01-06 Thread Gary L. Wade
ctor out those calls that were in those libraries and call the OS X-explicit frameworks. If you want greater context, there are lots of other discussions on SO and elsewhere. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ > On Jan 6, 2014, at 5:41 AM, Appa Rao Mulpuri wrote:

Re: Can I Hide / Show an NSTextField / NSSecureTextField in Cocoa?

2014-02-08 Thread Gary L. Wade
devices, especially simulators and AirPlay similar to how the old DVD anti-copy-protection thing worked. -- Gary L. Wade http://www.garywade.com/ On 2/8/2014 9:56 AM, "Kyle Sluder" wrote: >On Feb 8, 2014, at 5:37 AM, David Delmonte wrote: >> >> I realized I coul

Re: Can I Hide / Show an NSTextField / NSSecureTextField in Cocoa?

2014-02-08 Thread Gary L. Wade
th the bullet and no hint text; maybe a tie-in? It's all academic for us; this needs to be addressed by Apple, so file your Radar you've been threatening to do, and maybe it'll make the next upgrade. -- Gary L. Wade http://www.garywade.com/ On 2/8/2014 10:10 AM, "Kyle Slude

Re: Disabling screen capture

2014-02-21 Thread Gary L. Wade
trying to be reformatted but in a way the back end didn't like it, so I turned off JavaScript while filling it in and then submitted it. If things still don't work, try emailing d...@apple.com and explain this issue and your real issue. -- Gary L. Wade (Sent from my iP

Re: NSNumber : method to return pointer to represented value

2014-02-22 Thread Gary L. Wade
. -- Gary L. Wade http://www.garywade.com/ On 2/22/2014 7:33 AM, "jonat...@mugginsoft.com" wrote: >Hence NSDecimal -getValue: populates a pointer to a double. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post a

Re: NSDecimalNumber queries

2014-03-09 Thread Gary L. Wade
The class NSDecimalNumber can already handle arithmetic operations. Look up its documentation directly. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ > On Mar 9, 2014, at 4:34 AM, "jonat...@mugginsoft.com" > wrote: > > I require to use NSDecimalNumber

Re: Class name as NSString and problem with NSLog?

2014-03-19 Thread Gary L. Wade
such extensions, and that it should be applied to the appropriate methods in NSPredicate.h. -- Gary L. Wade http://www.garywade.com/ On 3/19/2014, 2:13 PM, "Sean McBride" wrote: >On Thu, 6 Mar 2014 15:47:08 -0800, Greg Parker said: > >>>> I remember the ³Month Of Appl

cocoa-dev@lists.apple.com

2014-03-25 Thread Gary L. Wade
Since this could be a security exploit with malformed data being allowed in a bad way, you might set your bug to be a security issue and that¹ll raise eyebrows fast. You do remember how you could crash an app by using a malformed file URL some time back? -- Gary L. Wade http://www.garywade.com

Re: accessing values along NSIndexPath

2014-03-26 Thread Gary L. Wade
If all you have is a nested set of arrays, then you¹ll have to write your own objectAtIndexPath: method that walks your nested set of arrays. -- Gary L. Wade http://www.garywade.com/ On 3/26/2014, 1:14 PM, "Torsten Curdt" wrote: >Going through a NSTreeController feels like cracki

Re: Fast NSArray compare

2014-04-15 Thread Gary L. Wade
objects when you¹re in /Documents. -- Gary L. Wade http://www.garywade.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

Re: ARC Retain Cycles

2014-04-26 Thread Gary L. Wade
[A]in't [N]o [S]uch [T]hing [A]s [A] [F]ree [L]unch TANSTAAFL TANS TAA FL Tends To Fail -- Gary L. Wade http://www.garywade.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to t

Re: ARC Retain Cycles

2014-04-26 Thread Gary L. Wade
. Xcode guesses me wrong at least 1/3 of the time. -- Gary L. Wade http://www.garywade.com/ On 4/26/2014, 11:06 AM, "Alex Kac" wrote: >You’re a programmer - you’re supposed to know what happens under the >hood. That’s part and parcel of developing good, op

Re: Help with Help

2014-04-29 Thread Gary L. Wade
ow English while the user was running Turkish. That particular case may be workable now, but a similar one may occur. See how Apple does this in Xcode for their documentation viewer. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ > On Apr 29, 2014, at 10:52 AM, Gordon Apple

Re: NSNumberFormatter 10.0+ style exception with zero

2014-05-07 Thread Gary L. Wade
edit the XIB, lock the XIB so Xcode won't change it, and then relaunch Xcode. You may not have to go that far, but I wouldn't doubt that support for pre-10.4 number formatters to be lost in test for later-XIB formats. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ &

Re: How to speak Chinese on 10.9.2

2014-05-15 Thread Gary L. Wade
short-circuiting the speaking? It’s been a while since I’ve worked on my app, but I remember some calls will stop any current speaking. -- Gary L. Wade http://www.garywade.com/ On 5/14/2014, 11:15 PM, "Gerriet M. Denkmann" wrote: > >On 15 May 2014, at 08:41, Jens Alfke wrote

Re: How to speak Chinese on 10.9.2

2014-05-15 Thread Gary L. Wade
naming contract. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ > On May 15, 2014, at 5:53 AM, "Gerriet M. Denkmann" > wrote: > > >> On 15 May 2014, at 15:53, Gary L. Wade wrote: >> >> Also, I haven’t tried this sequence myself,

Re: How to speak Chinese on 10.9.2

2014-05-15 Thread Gary L. Wade
u are one of us going to WWDC in a couple of weeks, be ready to talk with whatever group you'll need to; that's how I found out the cause of the memory leak bug by one of the team members bringing up the source code right there. -- Gary L. Wade (Sent from my iPhone) http://www.garywad

Re: Document architecture: locking document files while open

2014-05-22 Thread Gary L. Wade
I've only just run across this as a potential solution to a prospective need, but might Kernel Authorizations be what you need? https://developer.apple.com/library/mac/technotes/tn2127/_index.html -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ > On May 22, 2014, at 9:21

Re: string literals and performance

2014-05-25 Thread Gary L. Wade
ormer and Condicion for the latter. While it is true you will see little, if any, performance difference in the execution of your code, you will find your coding and debugging performance improved by doing these safer and best practices of software development. -- Gary L. Wade (Sent from my iPhone)

Re: How to write a .icns file

2014-05-30 Thread Gary L. Wade
ed one. Then, that might add fuel to your bug report and/or provide extra info for your 'icns' merge operation. -- Gary L. Wade (Sent from my iPad) http://www.garywade.com/ > On May 29, 2014, at 3:38 PM, John Brownie wrote: > > Simplified from the previous question, which didn&

Re: How to write a .icns file

2014-06-02 Thread Gary L. Wade
The file format for an icns file is the same as an 'icns' resource, which is documented in IconStorage.h. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ > On Jun 2, 2014, at 5:04 PM, John Brownie wrote: > >> On Sat May 31 2014 12:37:59 GMT+1000 (P

Re: Simple question? NSButton/checkbox color

2014-06-06 Thread Gary L. Wade
tly handled, and you'd need to handle any intermediate drawing states (including the actual check mark, whatever it may be) and retina issues that may come up. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ ___ Cocoa-dev mailing list

Re: UUIDs for FAT Drives

2014-07-08 Thread Gary L. Wade
/NSURL), and drives are physical entities while volumes are logical data on those, so you may have multiple volumes per drive. -- Gary L. Wade http://www.garywade.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Issue with -[NSOutlineView autosaveExpandedItems] - SOLVED

2014-07-11 Thread Gary L. Wade
On 7/11/2014, 1:29 PM, "Bill Cheeseman" wrote: > And I've discovered another difficulty, although I think I can handle it. Sounds like it’s time to update Cocoa Recipes to a 3rd edition to fully share these nuggets. -- Gary L. Wade http:

Re: [NSMutableData resetDataRangeTo:(NSRange)range];

2014-07-14 Thread Gary L. Wade
e are owners of the object that would be okay with that difference. -- Gary L. Wade (Sent from my iPad) http://www.garywade.com/ > On Jul 14, 2014, at 12:15 PM, Carl Hoefs > wrote: > > Okay, 1 last question on this. Is there a way to promote-in-place an NSData > objec

Re: start with OSX 5.1.1

2014-07-30 Thread Gary L. Wade
Your Xcode 3.2.6 project most likely references at most 10.6, which is not supported by Xcode 5.1.1, so you'll need to adjust your project's SDKs to match those installed. Select the project in the file viewer, choose the build settings panel, and enter SDK in the search field. -- Ga

Re: start with OSX 5.1.1

2014-07-30 Thread Gary L. Wade
f the time just adjusting the deployment target and base SDKs gets things going. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ > On Jul 30, 2014, at 10:12 AM, Jens Alfke wrote: > > >> On Jul 30, 2014, at 6:53 AM, Gary L. Wade >> wrote: >> >> Your

Re: start with OSX 5.1.1

2014-07-30 Thread Gary L. Wade
If you do that, make sure the owner/groups match the app to make sure you don't modify them accidentally. And one of these days Apple will utilize those deprecation/available attributes so we can arbitrarily set and test SDKs without having to do any of this. -- Gary L. Wade (Sent fr

Re: NSLog displays inconsistent format for NSDate

2019-08-20 Thread Gary L. Wade via Cocoa-dev
used: NSLog("%@: The date is now %@", Locale.current.identifier, NSDate()) For a predictable format in logs, I’d suggest using NSISO8601DateFormatter. -- Gary L. Wade http://www.garywade.com/ <http://www.garywade.com/> > On Aug 20, 2019, at 12:50 PM, Carl Hoefs via Cocoa-dev

Re: ARC

2019-08-24 Thread Gary L. Wade via Cocoa-dev
through that exercise, without cutting corners or assuming stuff, a solution usually presents itself. -- Gary L. Wade http://www.garywade.com/ > On Aug 24, 2019, at 4:44 AM, Turtle Creek Software via Cocoa-dev > wrote: > > Our app delegate class is not deallocated. The window c

Re: CGImageSourceCopyPropertiesAtIndex fails sometimes

2019-09-25 Thread Gary L. Wade via Cocoa-dev
I don’t recall if the URL can be a remote URL in addition to a file URL, but regardless, check the status of the source ref with CGImageSourceStatus first. The index value is used for compound images like animated GIFs and PNGs. -- Gary L. Wade http://www.garywade.com/ > On Sep 25, 2019, a

Re: A question in regards to AddInstanceForFactory

2019-09-26 Thread Gary L. Wade via Cocoa-dev
Are you running on Mojave or Catalina beta? I’ve found some things in some simulators work better when under Catalina beta. -- Gary L. Wade http://www.garywade.com/ > On Sep 26, 2019, at 5:37 AM, Eric E. Dolecki via Cocoa-dev > wrote: > > FYI: This only appears when running in

Re: Thoughts on Cocoa source code

2019-10-11 Thread Gary L. Wade via Cocoa-dev
don’t recall it right now. -- Gary L. Wade http://www.garywade.com/ > On Oct 11, 2019, at 8:00 AM, Turtle Creek Software via Cocoa-dev > wrote: > > I checked the GNUstep project, and it does seem decently clear and > well-commented. If Apple made it possible to see and step

Re: Thoughts on Cocoa source code

2019-10-11 Thread Gary L. Wade via Cocoa-dev
Clarification: For long-time Mac and now available in SwiftUI, you can even write “no” code to do some things with bindings. -- Gary L. Wade http://www.garywade.com/ > On Oct 11, 2019, at 8:31 AM, Gary L. Wade > wrote: > > For Mac and SwiftUI, you can even write “no” code to do

Re: Thoughts on Cocoa source code

2019-10-11 Thread Gary L. Wade via Cocoa-dev
text selection of a menu item when opened. -- Gary L. Wade http://www.garywade.com/ > On Oct 11, 2019, at 10:10 AM, Turtle Creek Software > wrote: > > NSComboBox was almost perfect, but we needed it to only allow existing items. __

Re: Thoughts on productivity

2019-10-24 Thread Gary L. Wade via Cocoa-dev
https://developer.apple.com/account/#/forums -- Gary L. Wade http://www.garywade.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.app

Re: Thoughts on Objective-C++

2019-11-11 Thread Gary L. Wade via Cocoa-dev
If you wish to solve the problems you perceive to exist, you should join an Objective-C/Objective-C++ email list or hire developers experienced in those nuances. -- Gary > On Nov 11, 2019, at 10:47 AM, Turtle Creek Software via Cocoa-dev > wrote: > >  >> >>> Obj-C++ *is* a superset of C++,

Re: Thoughts on Objective-C++

2019-11-13 Thread Gary L. Wade via Cocoa-dev
If it takes you that long, then you need to hire new developers rather than wasting your time posting complaints on an email list. -- Gary L. Wade http://www.garywade.com/ > On Nov 13, 2019, at 11:32 AM, Turtle Creek Software via Cocoa-dev > wrote: > > We have to plan 5 or 10

Re: Cocoa-dev Digest, Vol 16, Issue 144

2019-11-14 Thread Gary L. Wade via Cocoa-dev
use DeRez right, the output is very useful. In the terminal, type this command: man DeRez We’ve said this before, but now it’s definitely time to move on from this non-related topic. If you have Cocoa-related questions, please feel free to submit those. Otherwise, find another em

Re: Cocoa-dev Digest, Vol 16, Issue 144

2019-11-14 Thread Gary L. Wade via Cocoa-dev
e mention Cocoa at all, just SwiftUI. Only slight mention of > Objective-C in a couple of video descriptions about Clang/LLVM and profiling. > That does seem like a useful prognostication. Thanks for the links! > > Casey McDermott > TurtleSoft.com > > On Thu, Nov 14, 2019 at

Re: Future of Cocoa

2019-11-19 Thread Gary L. Wade via Cocoa-dev
e App Store <https://apps.apple.com/app/id640199958?pt=2003&ct=da_news&mt=8> -- Gary L. Wade http://www.garywade.com/ <http://www.garywade.com/> ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: Future of Cocoa

2019-11-20 Thread Gary L. Wade via Cocoa-dev
, scan through the online transcripts, which are searchable, and the keynotes of the presentations. Really, no one has any excuse. Either use what’s available and submit feedback when something isn’t clear or quit developing software. -- Gary L. Wade http:

Re: Future of Cocoa

2019-11-21 Thread Gary L. Wade via Cocoa-dev
studying anything else important for one’s work. -- Gary L. Wade http://www.garywade.com/ > On Nov 21, 2019, at 12:21 PM, Pier Bover via Cocoa-dev > wrote: > > I won't respond each of you one by one but here are a couple of > observations. > > Metal is not a cross

Re: Future of Cocoa

2019-11-21 Thread Gary L. Wade via Cocoa-dev
to join a weekend hackathon to exercise their skills! For a fun one, do a search for Flickr SharkFeed. -- Gary L. Wade http://www.garywade.com/ > On Nov 21, 2019, at 6:02 PM, Jim Crate via Cocoa-dev > wrote: > > On Nov 21, 2019, at 5:43 PM, Pascal Bourguignon via Cocoa-d

Re: Difficulties with recovering NSAttributedString attachments from saved RTFD

2019-11-27 Thread Gary L. Wade via Cocoa-dev
You want to use a file wrapper rather than data and specify the document type in the attributes as RTFD. -- Gary L. Wade http://www.garywade.com/ <http://www.garywade.com/> > On Nov 27, 2019, at 10:18 AM, Jeff Younker via Cocoa-dev > wrote: > > I am having some diff

Re: Difficulties with recovering NSAttributedString attachments from saved RTFD

2019-11-29 Thread Gary L. Wade via Cocoa-dev
it’s doing. -- Gary L. Wade http://www.garywade.com/ <http://www.garywade.com/> > On Nov 27, 2019, at 11:35 AM, Gary L. Wade via Cocoa-dev > wrote: > > You want to use a file wrapper rather than data and specify the document type > in the attributes as RTFD. >

Re: Catalina scroll view issues

2019-12-14 Thread Gary L. Wade via Cocoa-dev
CoreText level? -- Gary L. Wade http://www.garywade.com/ > On Dec 14, 2019, at 6:17 AM, Redler Eyal via Cocoa-dev > wrote: > > Hi All, > > I'm getting reports from users complaining about a strange display issue on > Catalina with my app. > My app is a word-processor

Re: Catalina scroll view issues

2019-12-16 Thread Gary L. Wade via Cocoa-dev
changes with respect to layers, especially things like the copiesOnScroll. If these don’t lead you to a solution where you say, “Oh, I really should’ve done this rather than that,” (20/20 hindsight) then write up a feedback report and add its URL here. -- Gary L. Wade http://www.garywade.com

Re: Catalina scroll view issues

2019-12-17 Thread Gary L. Wade via Cocoa-dev
there, reports about those can help everyone. -- Gary L. Wade http://www.garywade.com/ > On Dec 17, 2019, at 2:12 AM, Redler Eyal wrote: > > I am drawing using core graphics. I tried turning copiesOnScroll and this > didn't seem to help. > > I'll gladly write a feed

Re: Catalina scroll view issues

2019-12-19 Thread Gary L. Wade via Cocoa-dev
needed so all developers can benefit from the desired changes. -- Gary L. Wade http://www.garywade.com/ <http://www.garywade.com/> > On Dec 19, 2019, at 6:09 AM, Redler Eyal wrote: > >>> >>> OK, I'll try to get the sysdiagnose from my users before submitting.

Re: Performance issue on macOS 10.15 obtaining display name for ~/Desktop, ~/Documents, and ~/Downloads

2020-04-19 Thread Gary L. Wade via Cocoa-dev
this. Once filed, if you do find a workaround, you can append that to the bug. -- Gary L. Wade http://www.garywade.com/ <http://www.garywade.com/> > On Apr 19, 2020, at 10:58 AM, Allan Odgaard via Cocoa-dev > wrote: > > On 20 Apr 2020, at 0:37, Rob Petrovec wrote: > >&g

Re: Performance issue on macOS 10.15 obtaining display name for ~/Desktop, ~/Documents, and ~/Downloads

2020-04-23 Thread Gary L. Wade via Cocoa-dev
Have you tried a speed check with just iCloud turned off but internet on? -- Gary ___ 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)l

Re: Performance issue on macOS 10.15 obtaining display name for ~/Desktop, ~/Documents, and ~/Downloads

2020-04-24 Thread Gary L. Wade via Cocoa-dev
Here’s two web sites that should help you get the answer you want. Try one or both: https://feedbackassistant.apple.com/welcome https://www.apple.com/jobs/us/ -- Gary ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requ

Re: Performance issue on macOS 10.15 obtaining display name for ~/Desktop, ~/Documents, and ~/Downloads

2020-04-24 Thread Gary L. Wade via Cocoa-dev
That’s a very narrow view of reality, which I know to be far broader. What’s the feedback number? -- Gary > On Apr 24, 2020, at 8:01 AM, Allan Odgaard via Cocoa-dev > wrote: > > That said, I *have* filed a report about this, but I still seek more > information about the issue, which I had hop

Re: Performance issue on macOS 10.15 obtaining display name for ~/Desktop, ~/Documents, and ~/Downloads

2020-04-24 Thread Gary L. Wade via Cocoa-dev
Also, did you take advantage of one of your free tech support incidents? -- Gary L. Wade http://www.garywade.com/ > On Apr 24, 2020, at 8:26 AM, Gary L. Wade via Cocoa-dev > wrote: > > That’s a very narrow view of reality, which I know to be far broader. > > What’s t

Re: Localization under Catalina

2020-05-27 Thread Gary L. Wade via Cocoa-dev
Be sure you use leading and trailing rather than left and right for things that can change in direction for RTL. There are some small set of cases where you want left and right, but unless you’re aware of those, it’s best to always use leading and trailing. -- Gary L. Wade http

Re: Relieving memory pressure

2020-06-07 Thread Gary L. Wade via Cocoa-dev
provide; you might have to drop down to that level for your needs. And it may be just as important if you have a system with multiple large-format screens with so much data. -- Gary L. Wade http://www.garywade.com/ <http://www.garywade.com/> > On Jun 7, 2020, at 5:31 AM, Gabriel Zachmann

Re: How to parse a log file

2020-10-26 Thread Gary L. Wade via Cocoa-dev
Line 7 appears to show your app allocating an array with one of its objects being nil. -- Gary L. Wade http://www.garywade.com/ > On Oct 26, 2020, at 3:02 PM, Gabriel Zachmann via Cocoa-dev > wrote: > > From a user, I received a log file that contains an error (see below) &

Re: Exception not being caught in try statement

2021-03-26 Thread Gary L. Wade via Cocoa-dev
Try surrounding the call with beginEditing and endEditing on the text storage. If it still happens, submit a feedback to Apple with the full crash log. -- Gary L. Wade http://www.garywade.com/ > On Mar 26, 2021, at 4:11 AM, Mark Allan via Cocoa-dev > wrote: > > Hi folks, > &

Re: Retrieving the EXIF date/time from 250k images

2022-08-14 Thread Gary L. Wade via Cocoa-dev
I noticed you release the fileProps but didn’t release the image, but I don’t know if that’s one of those details you left out for clarity. Also, depending on some factors like mutability, while the initWithString call with a CFStringRef might essentially be a no-op, you can just do the typecas

Re: Retrieving the EXIF date/time from 250k images

2022-08-15 Thread Gary L. Wade via Cocoa-dev
You should do any whitespace trimming first and be sure your date formatter is set correctly as any deviation will almost always fail. -- Gary > On Aug 15, 2022, at 2:51 AM, Gabriel Zachmann wrote: > > A detail I left out in-between: whitespace trimming. > > Or, does anyone know if dateFromStr

Re: Retrieving the EXIF date/time from 250k images

2023-01-07 Thread Gary L. Wade via Cocoa-dev
guarantee, of course, but I feel it’s worth considering. -- Gary L. Wade http://www.garywade.com/ > On Jan 7, 2023, at 10:37 AM, Gabriel Zachmann via Cocoa-dev > wrote: > > So, why would would several threads loading those images in parallel help > here? In my thinking, they wi

Re: Retrieving the EXIF date/time from 250k images

2023-01-07 Thread Gary L. Wade via Cocoa-dev
You don’t seem to understand modern filesystems or modern hardware like some of us. -- Gary L. Wade https://www.garywade.com/ <http://www.garywade.com/> > On Jan 7, 2023, at 3:29 PM, Gabriel Zachmann wrote: > > *Maybe* ... > that would mean that the filesystem performs predi

Re: Full-screen not working

2023-08-15 Thread Gary L. Wade via Cocoa-dev
I would suggest asking your user for a system report or sysdiagnose. It might glean some details about their environment. -- Gary > On Aug 15, 2023, at 3:30 AM, Gabriel Zachmann via Cocoa-dev > wrote: > > I have one user of my macOS app (under macOS 13.4.1) > where the app does not want to g

<    1   2   3   4