Questions tagged [mac]
"Mac" is short for "Macintosh", the name of a line of personal computers produced by Apple, Inc.
46 questions
-4 votes
1 answer
199 views
How do different operating systems have different window layouts? [closed]
I have searched on the Internet on how do operating systems have different window layouts, but I have found nothing. Windows has one style, Mac OS has another, and Linux has a different style as well. ...
1 vote
2 answers
874 views
How is it that reference counting is faster on Apple silicon Intel translation than on Intel?
I can't find the exact tweet, but it was stated by Apple engineers that the retain and release operations are faster on Intel x86 translation than on standard Intel x86.
2 votes
0 answers
95 views
How can a mobile app measure the phone's rough distance with the user's laptop?
I have a mobile app (iOS and android compatible) that needs to know if it's far or close to the user's laptop/ desktop (e.g. whether it's within 5 meters or not). I need to make it secure such that ...
-4 votes
2 answers
2k views
Malloc vs variable length array?
In general, should I use variable length arrays or malloc? In my specific case I am processing files of very short to very large sizes. Also if I compile on version MacOS 10.15, and then run on 10.13, ...
1 vote
0 answers
29 views
Big MacOS Install PKG Versus Downloads
I am creating software in MacOS that has over 10GB of assets associated with it. I can create a pkg that properly installs these but I have two problems. First, the notorization process required for ...
0 votes
0 answers
60 views
Best Practices for AppleScript Records
Not sure this is quite the right question for here, but here goes. Apologies if I'm wrong on that. Summary // In general, is a Plist the best way to store and recall data that will be frequently ...
0 votes
0 answers
166 views
Distributing a Java application on macOS
I have developed a Java application for both Windows and MacOS. The application requires 2 separate jar files, 1 for the main application and then another is used to download and apply updates. This ...
0 votes
1 answer
259 views
Building native iOS app that runs on iPhone, iPad and Mac
Since Apple introduced Catalyst ealier this year during WWDC '19 it becomes possible to have a single codebase for an app that runs on iPads and Macs. Already for a long time it was possible to ...
7 votes
2 answers
854 views
How did heavy software in the early days managed to run on 4MB RAM computer? [duplicate]
It's no secret that in the early days of computers, they had only 1-4MB of RAM. I found an article stating you needed only 4MB of RAM to run Word, Excel and PowerPoint simultaneously. How was that ...
0 votes
1 answer
269 views
When working in a multi operating system team, what are some of the pitfalls to bear in mind?
I'm working in a team where there are several different OS present (windows, various linux distributions (Ubuntu, Mint) as well as Macintosh). Projects are passed around and we have already come ...
-7 votes
1 answer
428 views
Is it true that Linux and Mac OS programs' source are interchangeable? [closed]
Is it true that most of the times source code for Linux programs can be compiled into Mac OS programs and vice versa?
1 vote
1 answer
313 views
What computers did the original Mac team use for development?
There's a passage in Walter Isaacson's biography of Steve Jobs where Jobs moves Andy Hertzfeld to the Mac team by unplugging his computer and driving it over to the Mac building. This got me ...
2 votes
2 answers
799 views
Difference in endianness between operating systems [closed]
There is an assembler that I am writing that is located within the file asm.c located in this repository. It uses the instruction set located in the specs file to produce an output binary. (The ...
8 votes
1 answer
16k views
Can I write a cross-platform application (Mac and Windows) using C#? [closed]
I see lots of old information on this question, and lots of articles flying around the Interwebs, but I can't tell quite where things are at. Basically, I want to write C# code that I can then compile ...
-1 votes
2 answers
197 views
Mac OS X preferences saving, when to apply/save changes made by user [closed]
It is typical for Mac OS X apps to have preferences that apply seamlessly, and preferences dialogs don't have "OK" or "Apply" button. I want to implement this behavior in my project, but I can't ...