Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some bindings for Appkit and Cocoa Foundation #315

Merged
merged 1 commit into from May 6, 2019

Conversation

@fanzeyi
Copy link
Contributor

fanzeyi commented May 5, 2019

This commit adds several missing AppKit & Cocoa Foundation bindings. Specifically:

AppKit:

Cocoa Foundation

I don't have much experience in Cocoa nor Objective-C. Please let me know if there is anything need to be changed. Thanks!


This change is Reviewable

This commit adds several missing AppKit & Cocoa Foundation bindings. Specifically:

AppKit:

* NSWindowTabbingMode ([Apple Doc](https://developer.apple.com/documentation/appkit/nswindowtabbingmode?language=objc))
* Managing Window Tabs section for NSWindow ([Apple Doc](https://developer.apple.com/documentation/appkit/nswindow?language=objc#3020937))
* NSNib ([Apple Doc](https://developer.apple.com/documentation/appkit/nsnib?language=objc))

Cocoa Foundation

* `init`, `count` and `objectAtIndex` for `NSArray`  ([Apple Doc](https://developer.apple.com/documentation/foundation/nsarray?language=objc))
* `NSBundle` ([Apple Doc](https://developer.apple.com/documentation/foundation/nsbundle?language=objc))
@jdm
Copy link
Member

jdm commented May 6, 2019

@bors-servo r+
Thanks!

@bors-servo
Copy link
Contributor

bors-servo commented May 6, 2019

📌 Commit e174d01 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented May 6, 2019

Testing commit e174d01 with merge bbc7f0b...

bors-servo added a commit that referenced this pull request May 6, 2019
Add some bindings for Appkit and Cocoa Foundation

This commit adds several missing AppKit & Cocoa Foundation bindings. Specifically:

AppKit:

* NSWindowTabbingMode ([Apple Doc](https://developer.apple.com/documentation/appkit/nswindowtabbingmode?language=objc))
* Managing Window Tabs section for NSWindow ([Apple Doc](https://developer.apple.com/documentation/appkit/nswindow?language=objc#3020937))
* NSNib ([Apple Doc](https://developer.apple.com/documentation/appkit/nsnib?language=objc))

Cocoa Foundation

* `init`, `count` and `objectAtIndex` for `NSArray`  ([Apple Doc](https://developer.apple.com/documentation/foundation/nsarray?language=objc))
* `NSBundle` ([Apple Doc](https://developer.apple.com/documentation/foundation/nsbundle?language=objc))

I don't have much experience in Cocoa nor Objective-C. Please let me know if there is anything need to be changed. Thanks!

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/315)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 6, 2019

☀️ Test successful - checks-travis
Approved by: jdm
Pushing bbc7f0b to master...

@bors-servo bors-servo merged commit e174d01 into servo:master May 6, 2019
2 checks passed
2 checks passed
Travis CI - Pull Request Build Passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.