Post

Replies

Boosts

Views

Activity

Reply to NetFSMountURLSync won't mount my FTP volume
Still looking for a way to mount a remote FTP volume from within my macOS app. I have just tried the Terminal command open ftp://user:password @ server.domain.com/ (without those 2 spaces) to mount my FTP volume. It works but it's async so it doesn't return a value (mounted or not). And I don't know how to invoke a callback when the task is done. Also I must define the username and password within the address and it's not a good practice. Recap FSMountServerVolumeSync is deprecated… NetFSMountURLSync asks for a share and I cannot use it. The Terminal command "open" is async so it does't return a value nor it invokes a callback. mount_ftp needs for an existing directory as a mount point as e.g. /Volumes/MyFTPDisk but I can't create a directory within the /Volumes folder with createDirectoryAtPath: For now I stay stuck on the deprecated point 1. Too bad.
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’24
Reply to My macOS app+helper is not in the System Preferences/Login Item/ "Allow Background" list
Thank you Kevin. I have solved the trouble thanks to your advises. I had indeed several "old" 1.x.x versions of my app on my HD, all without the Helper. I introduced the Helper on the latest version 2.0 I have been working on. I thought the macOS looked for the same version as the one I launched with the Helper and put it in the Login Items list. I assumed it wrongly. So, I guess that now I have to tell my customers to delete the previous version(s) from their HD then install the latest 2.0 version. I will run some test with some of my customers. Thanks a lot again.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’24
Reply to Metal 3D Line Width
The trouble is even worse when you draw in 3D. A rectangle (instead of a line) could even look as a flat invisible short line if the camera is almost aligned to the line and a little farther than the end point of the rectangle. We should draw a tiny cylinder to solve the trouble, which means so many triangles. Think about a simple grid 20 x 20 lines with 32 triangles each. That is 12800 triangles. Also, the point is a squared rectangle only. If you need of a circle you have to draw it.
Topic: Graphics & Games SubTopic: General Tags:
Aug ’22