TL;DR Delphi and C++ Builder Starter Editions now Free Many of you may not remember the glory days of Delphi. There was a time when Borland was the king of compilers: Turbo C++, Turbo Pascal, Turbo Basic... The breakthrough was with Delphi, a RAD studio IDE backed by the Pascal programming language (updated with OOP concepts and now called Object Pascal). Delphi provided a drag-and-drop window designer and went head-to-head with Visual Basic. It was wildly popular and the Win32 landscape is littered with important projects that used Delphi. Here are a few: Dev-Cpp (90,760 downloads at Sourceforge last week, by the way) Inno Setup (Popular installer package) WinRAR Just Basic / Liberty Basic FL Studio / Fruity Loops Digital Audio Workstation GameMaker Studio ... In any case, there was a lot of great software made with Delphi. Pascal is pretty good to work with once you master it and the Delphi IDE made it really fast to build desktop applications. We're talking ...
One of the things that I absolutely love about Linux is the package manager. It was the thing that took the most getting used to when I switched from Windows, but now that I'm in the habit of apt-getting almost everything I need (especially as a developer) it's hard not to have it on other platforms. This year, I switched my life to Mac and am loving it, but I still miss my package manager. Enter homebrew , a package management system for Mac. I was suspicious for a while about this solution, since I'm not really comfortable with installing packages that aren't part of a trusted repository. My friend David convinced me to give it a try and I think the transparency of the system and the degree to which it keeps things nicely isolated soothes most of my concerns. I run my mac as a non-admin user for day-to-day work. This is a best practice that I think everyone should follow. It did mean that I needed to do things a little bit differently when setting up homebre...
This evening I took a break from tinkering with my HTML5 game to see if I could get it running as a native Cocoa app on OSX. I’d heard that I should be able to create a desktop app, add a WebView, then build and run it. I got it working and wanted to share my results! Create a new Cocoa Application. Add a WebView and expand it to fit the entire app surface. In the AppDelegate.m file I added this: -(void)applicationDidFinishLaunching:( NSNotification * ) aNotification { NSURL *url = [[NSBundle mainBundle] URLForResource:@"index" withExtension:@"html"]; [[self.webView mainFrame] loadRequest:[NSURLRequest requestWithURL:url]]; } In the AppDelegate.h file I added: #import <Cocoa/Cocoa.h> #import <WebKit/WebKit.h> @interface sudolinkAppDelegate : NSObject <NSApplicationDelegate> @property (assign) IBOutlet NSWindow *window; @property (weak) IBOutlet WebView *webView; @end I added the WebKit Fra...
Comments
Post a Comment