Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 11.6 ('Apple About Boxes')
Instant purchase and download via GumRoad!

FEATURE

Creating Xojo Plugins

How to create a Xojo-plugin project from scratch using Xcode

Issue: 11.6 (November/December 2013)
Author: Matt Gardner
Author Bio: Matt is senior analyst and developer for SmoothPay Ltd who produce payroll software for 5 Pacific nations and has been involved in software development since the late 70's.
Article Description: No description available.
Article Length (in bytes): 7,586
Starting Page Number: 42
Article Number: 11609
Related Link(s): None

Excerpt of article text...

Re-introducing myself to the intricacies of C++ after many years (Boy, has it changed!), and with a need to produce plugins that work with Cocoa and the new Xojo SDK for a project, I embarked on a journey to discover exactly how to create a plugin.

It's not that obvious!

Despite researching everything I could find about the topic, including Christian Schmitz' (of Monkeybread Software) article in REALbasic Developer #8109, his video tutorial (covering an older version of Xcode), various blog entries by Joe Ranieri, the open source TextInputCanvas plugin project, and the notes in the SDK itself, it turns out it's not that easy and it's definitely not obvious how to create a plugin project from scratch. (I can't wait to try building on Windows with MinGW... which is really why I started the project.)

Anyway, here's how to create a basic Xcode project that uses the Xojo SDK. (This was with Xcode 4.6.3, so your screens may look a little different with the just-released Xcode 5.)

Step 1: Create a new Xcode project.

Start Xcode, choose New Project, and select C/C++ Library (see Figure 1).

...End of Excerpt. Please purchase the magazine to read the full article.