Questions tagged [objective-c]
The objective-c tag has no usage guidance.
14
questions
0
votes
1
answer
88
views
What exactly package "gobjc" installs?
Trying to figure out what exactly "gobjc" installs, I did:
sudo dpkg -L gobjc and got a path to /usr/share/doc/gobjc
Did : sudo apt-file list gobjc and got a path to /usr/share/doc/gobjc
on ...
0
votes
0
answers
43
views
How to add feature “don't copy when pressing command” in this c program—macPaste?
https://github.com/lodestone/macpaste
https://github.com/lodestone/macpaste/blob/master/macpaste.c
With this little project, I can copy a text to clipboard with just select a text, in macOS.
This ...
2
votes
1
answer
732
views
libssh2 - Agent Forwarding not working
I am using libssh2 library to ssh connections in my mobile application. Here I want to use Agent Forwarding support.
I have followed same procedure as they have provided in example here LibSSH2 Agent ...
0
votes
2
answers
612
views
GCC/Clang: Available ObjC runtimes
A while ago, I discovered the ObjFW runtime for Objective-C, which is a pretty neat one and does a lot of things - and, is very tiny. But it made me ask lately, which runtimes are available on which ...
2
votes
1
answer
2k
views
How to make my Mac screen a mirror of iPhone using AirPlay
I'm new to AirPlay. I want to find a good tutorial to learn about Airplay and its APIs and how I can use it for sharing my iPhone screen on my Mac device.
What I learned:
iPhone 4S+ will support ...
0
votes
2
answers
2k
views
How to launch a daemon as root in OS X
I put my plist in /Library/LaunchAgents and my exexutive program in /usr/libexec and daemon statrs when system startup . But this daemon is owned by user . I try to put my plist in /Library/...
1
vote
2
answers
298
views
Where does sandboxing stop?
I used Norton's iAntivirus app from the Mac App Store to scan my entire hard drive. As expected, it presented me with an Open dialog at the root of my hard drive. I clicked "Open" and let it scan. ...
1
vote
2
answers
558
views
Using sh -c in terminal
I have this command line that I enter into terminal and it works as intended:
dscl . -readall /Users UniqueID | awk '/^RecordName:/ {name=$2}; /^UniqueID: / {if ($2 > 500) print name}'
What I ...
2
votes
3
answers
6k
views
How to pass command line arguments in Mac Application
I have created a Command line tool application ( Xocde --> New App --> Command line tool) and it's running without any problems. Now i want to run it through terminal and pass some command line ...
2
votes
4
answers
3k
views
iOS Printing to Non-Airprint devices?
I have an iOS application that prints just fine. I'm connected to a WiFi network that has a printer that supports AirPrint and I can send to that printer just fine. But I also need to print to ...
3
votes
2
answers
2k
views
How do I wipe all preferences and settings for a Mac app that's under development?
On iOS, if you want to remove all settings and documents for an application during development and start from a clean install, you just need to delete it. However, on the Mac, removing the application ...
2
votes
0
answers
2k
views
Command /usr/sbin/chown failed with exit code 1 Error when archiving
I'm trying to archive a project to submit it to the iOS App Store, but keep getting this problem. I have already set yes to the skip install option, re-installed Xcode, rebooted and re-copied my ...
9
votes
2
answers
698
views
Prettier text dialogs in OS X scripts
I'm getting pretty sick of these default AppleScript and cocoaDialog dialogs:
I'd like to replace them with something closer to this:
Has anyone made a shell executable like cocoaDialog with a ...
1
vote
1
answer
83
views
How to load application from pc to ipod touch
I need to install application which is on my mac PC. My iPod software version is 1.1.5.
Can any one help me to how to install.