This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.m | |
// Just a little test case for Objective-C 2.0 on Ubuntu | |
// | |
// Created by Tobias Lensing on 2/22/13. | |
// More cool stuff available at blog.tlensing.org. | |
// | |
#import <Foundation/Foundation.h> | |
#import <AppKit/AppKit.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Written by Tobias Lensing, http://tlensing.org | |
# For more information see http://blog.tlensing.org/2013/02/24/objective-c-on-linux-setting-up-gnustep-clang-llvm-objective-c-2-0-blocks-runtime-gcd-on-ubuntu-12-04/ | |
# | |
PKG_OK=$(dpkg-query -W --showformat='${Status}\n' curl | grep "install ok installed") | |
echo Checking for curl: $PKG_OK | |
if [ "" == "$PKG_OK" ]; then | |
sudo apt-get install curl -y |