AliSoftware / Reusable

A Swift mixin for reusing views easily and in a type-safe way (UITableViewCells, UICollectionViewCells, custom UIViews, ViewControllers, Storyboards…)
MIT License
3k stars 239 forks source link

Support for NSTableView/NSCollectionView? #27

Open arthurhammer opened 7 years ago

arthurhammer commented 7 years ago

Are there any intentions to extend Reusable to macOS, specifically NSTableView/NSCollectionView? The library is obviously focused on iOS/UIKit but I thought I'd still ask :). Thanks!

AliSoftware commented 7 years ago

I think that's totally feasible. I don't do any macOS development, but I'd gladly accept a PR if you want to add support to it (I'm guessing that the macOS version is probably gonna be very similar to the iOS version if the APIs are similar?).

If you are willing to do a PR to add that, I'd just advise you to wait a bit until I finish the Swift 3 migration (PR pending) and release a new major version, to start your PR from a clean codebase.

arthurhammer commented 7 years ago

There are a couple of differences but conceptually the APIs are very similar.

Sounds good. When the Swift 3 PR lands I'll try working on a PR!

On 12 October 2016 at 20:04:52, AliSoftware (notifications@github.com) wrote:

I think that's totally feasible. I don't do any macOS development, but I'd gladly accept a PR if you want to add support to it (I'm guessing that the macOS version is probably gonna be very similar to the iOS version if the APIs are similar?).

If you are willing to do a PR to add that, I'd just advise you to wait a bit until I finish the Swift 3 migration (PR pending) and release a new major version, to start your PR from a clean codebase.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AliSoftware/Reusable/issues/27#issuecomment-253290825, or mute the thread https://github.com/notifications/unsubscribe-auth/AET9AF1diQ10Ok7gOZsG23nXA_mOt4dTks5qzSFEgaJpZM4KU6Si .

AliSoftware commented 7 years ago

Swift 3 support has landed last week, time to work on that now 😄

igorkulman commented 5 years ago

I know this is an old issue, but any plans to do it? 😀 I could use it in a macOS side project now.

AliSoftware commented 5 years ago

@arthurhammer any news on your side about if you think you could find some time to do a PR for it? Otherwise, @igorkulman don't hesitate to give it a try 🙌 (I don't use the macOS APIs so someone who actually uses them would probably be more suited to adapt the code for it :wink: )