Click here to Skip to main content
15,867,568 members
Everything / macOS

Macos

macOS

Great Reads

by Miroslav Fidler
Installation and the first look at U++ platform
by Nick Polyak
This article describes a new multiplatform Docking framework - UniDock
by Anele 'Mashy' Mbanga
A look at a flexible Java MySQL CRUD PHP script generator
by Ryan Peden
Writing to a Slack Channel - Node.js Edition

Latest Articles

by Modesty Zhang
Illuminate git internal on object model via a `git stash` implementation, including push, apply, pop, drop, list and clear, all with isomorphic-git
by VISWESWARAN1998
Scrape the websites with Python 3
by sebjameswml
Walks you through the steps needed to draw high quality 2D graphs in your C++ programs using the header-only library morphologica
by h_wiedey
This tip shows how md5 and locate can be used to find duplicate files.

All Articles

Sort by Score

macOS 

26 May 2022 by Miroslav Fidler
Installation and the first look at U++ platform
29 Aug 2021 by Nick Polyak
This article describes a new multiplatform Docking framework - UniDock
8 Oct 2015 by Anele 'Mashy' Mbanga
A look at a flexible Java MySQL CRUD PHP script generator
5 Feb 2019 by Ryan Peden
Writing to a Slack Channel - Node.js Edition
24 Jan 2016 by Afzaal Ahmad Zeeshan
This is an introductory post for Mac developers to get started using C# programming language on Mac environments using Mono Project!
9 Oct 2016 by Mahmoud Samir Fayed
The Ring programming language comes with different styles for I/O and Control Structures and support changing the language keywords and operators.
23 Dec 2020 by sbarnes
This time, I'm sure I've found stuff that is completely new and previously unknown.
13 Jun 2017 by Friedrich Brunzema
How to programmatically edit a Confluence Wiki page
28 Dec 2017 by Rubin Liu
A quick look around the different styles in the Ring programming language!
10 Feb 2020 by Han Bo Sun
This tutorial will introduce the basics needed to use RequireJS to build modularized web applications with JavaScript.
14 Mar 2023 by sebjameswml
Walks you through the steps needed to draw high quality 2D graphs in your C++ programs using the header-only library morphologica
29 May 2011 by Kim Togo
For the iOS part, you can use MonoTouch and MonoDevelop IDE.Check out http://mono-project.com/Main_Page[^]
29 May 2011 by dasblinkenlight
You can develop for Mac using Java (for sure) and C# (mono), but to program for iOS it's best to learn Objective C. Solutions that cross-compile your code for use with iOS from other languages are available, but in my experience the learning curve of getting into Objective C is not steep enough...
6 Nov 2015 by Patrice T
y is a variable 'y' is a value.I guess you want to compare x to the value 'y'if x == 'y': Your code have other problems, you should improve question by listing a complete module or function.
23 Nov 2019 by Zhaohui Xing (Joey)
Swift classes for algorithm, including single linked list class, stack class, queue class
28 Apr 2020 by Ahmed Bouchefra
How to build a React application and manage its state using Redux
29 May 2011 by #realJSOP
http://develop...
21 Oct 2011 by Richard MacCutchan
The problem could be anything and anywhere; there is no way anyone else can even begin to guess what it may be. You need to add some logging/debug code to your application and gather sufficient information to identify where and why it is failing.
24 Oct 2011 by Sergey Alexandrovich Kryukov
There is plenty of documentation. XCode is very different from Visual Studio. It's not really "XCode framework", its Cocoa in Mac OS X and iOS architectures, AppKit and Foundation Framework, based on Darwin and Carbon Core on Mac OS X and Core OS with UIKit on top of iOS — a lot of...
6 Jun 2013 by BotCar
The exact details would depend on the filesystem and operating system you use, but the general idea is that there are two parts to a file on your harddrive: 1. The data that makes up the file.2. Some information about where the data is located, where the file fits in on the logical directory...
1 Jun 2015 by David Catuhe
In this tutorial, I will share several tools that provide insight into how your code is performing, and show you how to make the most of user marks in the memory graph to analyze your performance.
7 May 2015 by Sergey Alexandrovich Kryukov
[EDIT]The paragraph below (indented) was initially written in response to first version of the question, which was later fixed by the inquirer:The extension means next to nothing. Essentially, there is no such thing as "extension". It used to be a notion of obsolete Microsoft systems,...
21 Oct 2015 by Norbert Schneider
A short code snippet to fetch the USB Serial Number of a file name residing on a stick.
28 Oct 2015 by phil.o
Technically, no device should communicate directly with the database.Most often, devices talk to a web service, which will internally route the query to the database (directly or through some other layer(s)).Of course, communications between devices and web service have to be encrypted....
17 Jul 2019 by ireland94
This program demonstrates the methodology needed for by directional messaging between a Java FX foreground and 1 or more background threads.
22 Mar 2018 by Duke Wang
We will walk through Angular, Angular CLI and Angular Material to build a file upload component which does not exist in Angular Material
16 Feb 2021 by Han Bo Sun
A tutorial on how to setup an application Spring Security and Spring MVC, and use ThymeLeaf for secured page rendering.
24 Apr 2021 by Aghast (nj)
Command (1) compiles the .c file to a .o (object) file, then stops. Command (2) compiles the .c file to an object file, then links the object file with the C standard library to produce an executable file named file. Both commands drop their...
9 Mar 2024 by Modesty Zhang
Illuminate git internal on object model via a `git stash` implementation, including push, apply, pop, drop, list and clear, all with isomorphic-git
20 Mar 2010 by chuckdawit
Here is my problem:- I live in a house with DSL coming in and being split to two routers, one for the two bottom floors and one for the top two floors.- The internet gets really slow and feels like it's being stressed (probably because we have ten people in the house all streaming and...
20 Oct 2011 by Amarnath S
We are developing a C++ / Qt / VTK application which is supposed to run on both Windows (XP) and MAC. The code base is the same, and we simply do separate compilation / building. Now, the strange thing is that it works fine on Windows (in Release mode); but sporadically crashes on the MAC...
11 Mar 2012 by zajim
Hi guys. I need your help with the following problem:I have a desktop application that I created in .NET 4.0 framework using Visual Studio 2010 and MSSQL 2008 server. I want that desktop application to run on MacOS system. Is that even possible? If so, how to do it? Please give me detailed...
26 Apr 2012 by Sergey Alexandrovich Kryukov
There are no any problems of interoperability between Windows, MAC OS X or any other systems, no problems whatsoever. If you see some problem, it must be because you have done something extremely weird. If you accurately describe what it was, the problem would become addressable.—SA
10 Jul 2012 by Wes Aday
Google is your friendhttp://www.stratos.me/2008/07/find-mac-address-using-java/[^]
30 Aug 2012 by Sandeep Mewara
AFAIK, If you have deleted them from your mac then it is not possible to restore it until you have stored it some place else (synced).
27 Sep 2012 by Tejas Vaishnav
I have develop one addin and its working fine for outlook 2007/2010 for windows platform.but now after it, i need to develop the same addin for Outlook 2011 for mac OS platform. i don't know any thing for this, if any body knows how to start and where to start then please guide me.
17 Dec 2012 by Maximilien
As others said, you cannot use MFC on Mac OSX.To do what you want, you can :- Use a multiplatform UI toolkit (Qt,Java, ... )- If your application is "small", you can just learn the OSX language (objective-C, ...) and split your application into UI part and functional part; the...
12 Sep 2013 by Member 9548724
What you want is the SystemLookAndFeel. It will display the GUI according to the environment.try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());} catch(Exception e) { // Do something.}If you want some more info on the look-and-feels, have a look...
30 Sep 2013 by Ron Beyer
Virtual RAM (or more specifically, the page file) is a place on disk that is created to place memory items on that are not frequently used or are too big to fit into physical memory.At least on Windows, I'm not sure there is a physical limit aside from available memory to store clipboard...
6 Feb 2014 by Johannes Bildstein
I've been trying to P/Invoke a *.framework file on a mac with C# but always get a DllNotFoundException.I tried to follow this guide but no luck.The .framwork file is in a subfolder right beside the application.The config file looks like this:
25 Aug 2014 by Sourav Kayal
In this tip, we will learn to implement SPA using AngularJS
9 Oct 2014 by Sergey Alexandrovich Kryukov
Mac OS X has its very own installation system with its own format of installation packages and metadata required for packaging of your products. You need to learn...
17 Nov 2014 by luis_123
Could be you forgot the libraryImports System.Net.NetworkInformationPublic Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim mac As String mac = getMacAddress() MessageBox.Show(mac) End Sub ...
13 Feb 2015 by Wendelius
Did you already have a look at:- NetSpell - Spell Checker for .NET[^]- i00 Spell Check and Control Extensions - No Third Party Components Required![^]- A Spell Checking Engine[^]
13 Feb 2015 by Richard Deeming
C# and Cocoa are totally different systems. You're unlikely to find a single solution which works in both.Hunspell[^] works on both Windows and Linux, but it has a very low-level API. (It's actually built-in to Mac OS 10.6 and higher.)There's a .NET wrapper[^] which is quite easy to...
13 Feb 2015 by Abhinav S
Frankly, if you have word installed, you don't need a dll. Use word's spell checker from within your code and do your spell checks.
16 Feb 2015 by Afzaal Ahmad Zeeshan
Quite a bunch of options, some include that you have got a Mac (which is the free version; unless you've given all of the money to Apple for buying the products), and you install the Xcode IDE and do it all.Secondly, you can use other third-party frameworks, to build iOS applications without...
15 Apr 2015 by Patrick Skelton
Hi,This is a broad question, the answer to which seems surprisingly elusive. I have a Windows 7 Pro PC with Visual Studio and a MacBook OS-X Yosemite sitting here next to it. In these days of Visual Studio being 'open-everything', with even the MSBuild tool now accessible as a standalone...
2 Jun 2015 by Sergey Alexandrovich Kryukov
Please see my comment to the question.You can permanently mount the partition in any Linux-based system by editing the file "/etc/fstab". Let's assume that you want to mount some partition permanently and give read-write access to it to all users. Let's assume the partition is "/dev/sda2"...
15 Jul 2015 by Intel
This guide contains steps to create, build, and debug applications for the generic microcontroller unit (MCU) on an Intel® Edison board using the MCU SDK.
12 Aug 2015 by Intel
This document explains the installation procedure Flash Tool Lite for Windows, Linux and Mac hosts.
30 Oct 2015 by Sinisa Hajnal
Here is regex that matches alphanumerics and underscore"^[a-zA-Z0-9_]*$"caret matches start of the stringthing between [] matches letters and numbers and underscore* says 0 or more$ matches end of the stringYou can add any other character you want (but some need escaping (dots,...
9 Nov 2015 by PythonHeadBanger
I don't know if you define Y previously in your code project but from the included code, the most glaring error here is: you are asking if X == Y and you aren't specifying Y before hand.So basically; if variable equal to undefined variable, execute below code:print('[Nation] Rome has...
4 Mar 2016 by trueknow
Mostly used iterators in Ruby
3 May 2016 by Dave Kreskowiak
Is Google broken where you live?Create a bootable installer for OS X - Apple Support[^]Or just buy the retail box off the shelf. Any download off the web is going to be illegal and we're not going to support you to try and find one.
19 May 2016 by Sergey Alexandrovich Kryukov
You can do it if you install Mono, the alternative CLR implementation, on Mac OS X: Mono (software) — Wikipedia, the free encyclopedia[^].Mono supports .NET BCL and part of non-standard .NET FCL, and it includes System.Windows.Forms. Then you can develop the applications on either Windows,...
7 Oct 2016 by Jochen Arndt
It should be possible by polling the sensor periodically and compare the sensor data with the data from the previous poll. However, polling requires a significant amount of system resources when peformed in short intervals which are necessary to detect short sudden movements. Most...
21 Jun 2017 by Kornfeld Eliyahu Peter
C# and .NET is not - the only - problem here... VSTO add-ins are based on COM technology, that does not exists on Mac - it is a Windows only thing... So what can you do with it? Do HTML/CSS based Office add-ins... Office Dev Center - Docs - Platform overview[^]
26 Sep 2017 by OriginalGriff
Start at the end of the phrase, don't bother with words at all. Then step backwards through the string character by character until you reach the beginning. But this is your homework, not mine, so I'll give you no code!
26 Sep 2017 by CPallini
Hey man, it is C++ after all! #include #include #include using namespace std; int main() { string s{"The quick brown fox jumps over the lazy old dog."}; reverse(s.begin(), s.end()); cout
10 Nov 2017 by cvogt61457
Open your spreadsheet. Type in a few consecutive dates like "1/1/2017". The spreadsheet should recognize that you entered dates. You can change the format of the dates to display "1 Jan 2017" Now the fun part. Format the data into general number. You can now see how to expand your list...
30 Nov 2018 by CPallini
Yes, it looks a compiler problem (at least g++-7 compiles it without complaining). Why don't you an std::array, instead auto myArray = std::make_shared>(); ?
9 May 2019 by Richard Deeming
You can specify multiple startup projects in Visual Studio: Set multiple startup projects in Visual Studio for Mac - Visual Studio 2019 for Mac | Microsoft Docs[^]
28 Jan 2020 by phil.o
You should replace LOGIN with the unix username and groupname of the account which should be the new owner of specified path. If username is username, the command is then sudo chown -R username:username /usr/local/lib/node_modules/cordova Regarding your chmod command, the error message tells...
14 Oct 2020 by h_wiedey
Organize files by using Unix find on MacOS
24 Apr 2021 by Dave Kreskowiak
-c Compile or assemble the source files, but do not link. The linking stage simply is not done. The ultimate output is in the form of an object file for each source file. By default, the object file name for a source file is made by replacing...
18 May 2021 by Dave Kreskowiak
You keep doing this: cameras (currentCamera).enabled ... when cameras is a collection, and you need to use its indexer like this: camera[currentCamera].enabled ...
19 May 2021 by Richard MacCutchan
q1: The variable s is a pointer to an array of characters, so you need to use the pointer type in the parameter field of the function. q2. That is just a matter of choice, it is not essential to use unsigned. q3. In this case it does not...
27 May 2021 by merano99
Q1: pc = &s[0] the pc variable points to the first pace of the array Yes its the same as pc = s and it makes no sense if you do not plan to work with the pointer. You can just use s direct. char *find_char(char c, char *s) { for (int i=0;...
5 Sep 2021 by Jason Sultana
A solution for a MySQL service that's refusing to start
13 Oct 2021 by Peter_in_2780
date2=$(echo $date1 | awk '{print $1 " " $2 " " $4}')
17 Nov 2022 by h_wiedey
This tip shows how md5 and locate can be used to find duplicate files.
2 Dec 2021 by OriginalGriff
Answered only to remove from unanswered queue - solved by OP.
30 Jul 2022 by 0x01AA
void my_initializer(int* param_1) { // Dereferencing the pointer to assign the value *param_1= 0; } int main() { int anti; // Pass the address of variable anti my_initializer(&anti); return(0); } I hope it helps.
30 Jul 2022 by OriginalGriff
To understand what 0x01AA has written, you need to understand what a pointer is and what an address is - so lets start with a real-world example: a book. A book is made of pages which are covered with lines of words called "text". Each page has...
30 Jun 2023 by Graeme_Grant
You don't need to run the server on a MAC. You can run your web server on your dev windows PC. The idea of debugging the Client-side on a Mac is to debug the Html/CSS on Safari, not the server itself. What you need to do is expose the web server...
27 Jan 2024 by Richard MacCutchan
Please post your question in the CodeProject.AI Discussions[^] forum.