AsyncDisplayKit icon indicating copy to clipboard operation
AsyncDisplayKit copied to clipboard

Convert layout example project to Swift

Open hannahmbanana opened this issue 10 years ago • 9 comments

It would be awesome if someone could duplicate the example project in #2551 in Swift.

hannahmbanana avatar Nov 05 '16 07:11 hannahmbanana

@hannahmbanana I converted one layout to swift. Code is in https://github.com/facebook/AsyncDisplayKit/issues/2548.

Let me know if this helps. thanks

rajeevwhiz avatar Nov 08 '16 04:11 rajeevwhiz

@rajeevwhiz - would you be interested in cleaning up the project and submitting it as a Pull Request? I think others would find your work very valuable since we only have 1 or 2 Swift examples. Let me know if you aren't interested and I can work getting the project ready to submit.

hannahmbanana avatar Nov 09 '16 12:11 hannahmbanana

Yes, I would love to.

On Wednesday, November 9, 2016, Hannah Troisi [email protected] wrote:

@rajeevwhiz https://github.com/rajeevwhiz - would you be interested in cleaning up the project and submitting it as a Pull Request? I think others would find your work very valuable since we only have 1 or 2 Swift examples. Let me know if you aren't interested and I can work getting the project ready to submit.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/facebook/AsyncDisplayKit/issues/2552#issuecomment-259399765, or mute the thread https://github.com/notifications/unsubscribe-auth/AT6RtXTOX8IOnMMhnUKw65S7szUEf3nyks5q8bcngaJpZM4KqMlb .

rajeevwhiz avatar Nov 09 '16 15:11 rajeevwhiz

@rajeevwhiz - that would be awesome!

A few requests:

  • name the project CustomCollectionView-Swift
  • usually we recommend that you take a example project (e.g. the Swift example) and copy in your files to preserve the project settings & project name ("Sample")
  • include legal header comments at the top of each file
  • also, make sure you use 2 spaces (instead of tabs) :)

hannahmbanana avatar Nov 09 '16 15:11 hannahmbanana

@hannahmbanana I am getting HTTP error 403 when I try to push the code to new branch "CustomCollectionView-Swift"

rajeevwhiz avatar Nov 09 '16 20:11 rajeevwhiz

@rajeevwhiz Hey, did you fork the ASDK project and created a PR from your fork. You cannot push to a branch to the facebook/AsyncDisplayKit project directly.

maicki avatar Nov 10 '16 15:11 maicki

@maicki my apologies. I just submitted the PR from the fork. Let me know if everything looks okay.

rajeevwhiz avatar Nov 10 '16 16:11 rajeevwhiz

@rajeevwhiz Thanks!

PR: #2591

maicki avatar Nov 10 '16 16:11 maicki

I'm going to close this issue, but if anyone else would like to convert one of our existing [example projects] to Swift, we'd happily take your PR.

hannahmbanana avatar Nov 15 '16 04:11 hannahmbanana