Giter Club home page Giter Club logo

macoslib's Introduction

###About This is the MacOSLib project for Xojo (formerly Real Studio).

It provides additional OS X specific functionality that Xojo's own framework doesn't offer.

It even has some cross-platform functionality in order to access Mac specific data on Windows and Linux (e.g. plist files).

###How to use

If you've downloaded the zip file, double-click the macoslib.rbvcp file to open it in the Xojo IDE. This is a project containing lots of examples, modules and macoslib itself. Run the project and play with the examples (see menu bar) to find out all the things you can do with it.

Now, to use that power in your own apps, you need to copy the macoslib folder in the Navigator (the list on the left hand side of Xojo) - don't copy it from the Finder, it won't work. Next, open your own project and paste the folder in. Now you can access MacOSLib's functionality.

###How to contribute

If you use the macoslib and have implemented a fix or improvement, the best way to send this change to us is by using github:

After signing up with github, you create a fork of the main macoslib repository. Now you have your own copy of the lib on github. Then you download this fork of yours to your computer and add your fix to it. Then you push your changes back to github. Lastly, you create a new "pull request" for your change(s). This will notify the maintainers of the main macoslib and let us review your changes quickly. If all looks good, we'll merge it into the main version and we're done.

Here's an example where a user not part of the "macoslib team" submitted a small fix, which got merged in almost instantly: macoslib#129

This is much easier for us than if you send us modified code that we then have to merge with the current version, possibly causing new bugs due to out-of-sync issues.

Also, if you add new functionality, please provide some text code that verifies that your code actually works. We've had it happen several times that code got added that was never tried out and didn't work at all.

If it's low level code, simply add some test code to the App class. There are methods such as "TestCocoa" where you could add code for cocoa related testing. If it's more complex stuff you've added, especially if it's UI related, add a new window and include it into the menu, similarly to all the other Example windows. Those "Example windows" are not just meant as examples to new users but also let you make sure that the code actually works.

macoslib's People

Contributors

declaresub avatar ktekinay avatar vidalvanbergen avatar tempelmann avatar smons avatar eduo avatar kmaehashi avatar

Watchers

James Cloos avatar Justin Elliott avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.