This file contains hidden or 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 | |
sudo apt-get install build-essential automake checkinstall intltool git | |
sudo apt-get install mono-complete mono-addins-utils gtk-sharp2 gnome-sharp2 | |
git clone git://github.com/mono/monodevelop | |
cd monodevelop | |
git checkout monodevelop-4.0 | |
git submodule update --init --recursive | |
./configure |
This file contains hidden or 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
- (NSString *)contentOfXMLFile:(NSString *)filename { | |
NSString *contentPath = [[NSBundle bundleForClass:[self class]] pathForResource:filename | |
ofType:@"xml"]; | |
NSURL *contentURL = [NSURL fileURLWithPath:contentPath]; | |
return [NSString stringWithContentsOfURL:contentURL | |
encoding:NSUTF8StringEncoding | |
error:nil]; | |
} |