bors-servo
bors-servo
:umbrella: The latest upstream changes (presumably #508) made this pull request unmergeable. Please resolve the merge conflicts.
:umbrella: The latest upstream changes (presumably #472) made this pull request unmergeable. Please resolve the merge conflicts.
**Comment by [paulrouget](https://github.com/paulrouget)** _Friday Feb 03, 2017 at 00:18 GMT_ ---- What about: ``` let text = NSTextField::initWithFrame_(NSTextField::alloc(nil), frame); ```
**Comment by [paulrouget](https://github.com/paulrouget)** _Friday Feb 03, 2017 at 00:19 GMT_ ---- But yeah, maybe we can remove `NSTextField::initWithFrame_`.
**Comment by [paulrouget](https://github.com/paulrouget)** _Friday Feb 03, 2017 at 00:32 GMT_ ---- In the case of NSTextField, initWithFrame is: https://developer.apple.com/reference/appkit/nscontrol/1428900-initwithframe?language=objc In the case of NSView, initWithFrame is: https://developer.apple.com/reference/appkit/nsview/1483458-initwithframe?language=objc Not sure what...
**Comment by [jtomschroeder](https://github.com/jtomschroeder)** _Friday Feb 03, 2017 at 00:40 GMT_ ---- Sure, I did something similar: ```rust use cocoa::appkit::NSView; cocoa::appkit::NSTextField::alloc(nil).initWithFrame_(frame); ``` It looks like `initWithFrame_` is also defined for `NSButton`...
**Comment by [oluseyi](https://github.com/oluseyi)** _Wednesday Mar 22, 2017 at 19:26 GMT_ ---- The root issue here is that `cocoa-rs` exports all `NSObject`-derived types as `id`, and all individual classes are implemented...
:umbrella: The latest upstream changes (presumably #485) made this pull request unmergeable. Please resolve the merge conflicts.
:pushpin: Commit f10db81 has been approved by `jdm`
:hourglass: Testing commit f10db81e857666c2c544345c35d0a36a0be5eceb with merge cddb46a885f9b05e71c443a46190590faef0ef5b...