Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged macos

0 votes
588 views
1 answer
    I am developing a program for macOS. I need to convert a hex color to NSColor. I looked at the proposed solutions here: Convert Hex Color Code to ... hexToNSColor("#2196f3") Can you give me a hand? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
403 views
1 answer
    My understanding was that as long as a non-Apple-default Python is employed to build, that the end-user need not install Python him/herself to ... ? How can this somewhat hardcoded dependency be avoided? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
443 views
1 answer
    When loading a local resource file in a mac app let urlpath = NSBundle.mainBundle().pathForResource("myResource", ofType: "html"); Converting the ... to correctly convert the pathForResource to a string? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
313 views
1 answer
    I tried to get rvm uninstalled in order to use rbenv on my Mac. Everything works fine until ruby comes into play.. when using rbenv install 1.9.3- ... ? Does anybody has a suggestion? Thanks in advance.. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
640 views
1 answer
    When I try to commit something, not using "-m", I get this message immedately. I changed my default editor to atom with "-w" set, also tried ... properly, but the error message gets posted before it does. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
382 views
1 answer
    There seem to be a bunch of things in the Word 2007/2010 VBA object model which are simply missing in Word 2011 VBA. Specifically, Word 2007 (for ... content controls and custom xml in Word on the Mac? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
366 views
1 answer
    I'm debugging a Mac OS X 64bit app with GDB. I see that jumping over a chunk of code solves all my problems. But: How can I patch the executable ... works. Bad access, segfault. How can I do that? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
490 views
1 answer
    My default and current version of ruby is 1.9.3. It's actually the only version that appears when I run rvm list so I don't see how I can be ... post here to help you figure out how I'm breaking things. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
670 views
1 answer
    When you have a WKWebView in an OSX application, when you press a <input type="file"> button, you can't select a file from your harddisk. How ... self.webView.UIDelegate = self it does not get fired. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
889 views
1 answer
    I have a fat (32- and 64-bit) Intel binary called myBinary that fails to run on another workstation running Mac OS X 10.8.2: $ myBinary dyld: ... I have statically compiled the C++ library into myBinary? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
404 views
1 answer
    Edit3: Additional information: I was able to get the Eclipse/pygame combo running on Windows... just not on MacOSX. Edit2: Compiling from the shell also ... pygame the module is found. What am I missing? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
423 views
1 answer
    I'm developing FF extension and plugin that work in tandem. My Extension injects npapi plugin into the html and calls some method of the plugin after an event occures. Here ... Mac OS X 10.6.7 FF: 3.6.13 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
529 views
1 answer
    I'm porting a C library to OSX which haven't given me much of a headache until now. In the next function: int createDirectory( char *directory ... actual example of a directory the library should create. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
416 views
1 answer
    I'm unable to import numpy in Python 2.7 in the shell. I installed Python with brew install, then numpy with sudo pip install. I tried without sudo ... The output of which python is /usr/local/bin/python See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
510 views
1 answer
    I am trying to get a list of active network interfaces with end user understandable names. Like the names listed in System Preferences instead of en0 en5. ... " or something } } } freeifaddrs(ifap); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
441 views
1 answer
    In Script editor i have written a command to boot the JAR. do shell script "cd /Desktop/RunJar/; java -jar RunMyJar.jar" and Saved as script file as a ... i would like to implement in MAC O.S. Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
396 views
1 answer
    I'm trying to install library(Boom) for Bayesian Object Oriented Modeling and its dependencies BoomSpikeSlab, bsts. However, I always get the same response ... .4svn) Target: x86_64-apple-darwin12.6.0 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
494 views
1 answer
    Other people have reported not being able to generate code coverage with XCode 4, but I find not only can I not do it from within XCode 4, I can't do it ... I've also tried using gcc (which is llvm-gcc). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
317 views
1 answer
    Not sure if this question applies to SO so don't yell at me if it doesn't... I've gotten rid of XAMPP and trying to do everything in os x. ... denied </Directory> # # Note that from this point forward you must specifically allow # particula...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
452 views
1 answer
    I'm new to Mac, I would like to know how to Install LLDB on MAC. I'm running the OS X 10.11 El Capitan GM. I need to debug one of my friends ... but is LLDB. Any idea on how to do that? Thank you. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
561 views
1 answer
    It looks like on Cocoa there are many ways to move file/folder-directory to Trash: [[[NSWorkspace sharedWorkspace] performFileOperation:NSWorkspaceRecycleOperation] [[ ... , it would be nice to know. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
467 views
1 answer
    Do you know how to remove restriction on binding to ports < 1024 with a user account that is not root on Mac OS X? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
421 views
1 answer
    When I'm trying to make CUDA 5.0 samples an error appears: Makefile:79: * MPI not found, not building simpleMPI.. Stop. I've tried to download and ... realy confused for now I have no idea what to do. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
424 views
1 answer
    I'm tracing a OS X application, I hope can find a way like this way on iOS: lldb Xcode: error: 'printf' is not a valid command Is there a way ... to do the same? Just tracing the class and method called See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
373 views
1 answer
    I'm using mxmlc on a Mac terminal to compile an AS 3.0 project and then I run it by opening the Main.swf in Flash Debugger 10. Now, errors get ... trace() not written to flashlog.txt? Thanks for any help! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
567 views
1 answer
    In the most recent version of OSX Lion, how do you wake up the machine from display sleep? This is in response to network activity. In 10.7.3 this was ... not work in 10.7.4. What can be done instead? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
427 views
1 answer
    In OS X 10.9, Apple introduced a simple way to export user content as PDF. The menu item called 'Export as PDF' is used to present a save sheet ... :nil contextInfo:nil]; What am I doing wrong? Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
323 views
1 answer
    I have written a device driver kext for a hot-plug SCSI device, based somewhat on Wagerlabs code (using a driver-user client-application model) and ... improperly or things generally don't go to plan? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
...