• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

macoslib/macoslib: MacOSLib - a set of classes to use OS X specific functions in ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

macoslib/macoslib

开源软件地址(OpenSource Url):

https://github.com/macoslib/macoslib

开源编程语言(OpenSource Language):

Xojo 100.0%

开源软件介绍(OpenSource Introduction):

This is the 64 bit version of MacOSLib.
The 32 bit version is still available for legacy purposes.

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.xojo_project 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: #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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap