5 ms·
Looks like they took the MIT-licensed PSTCollectionView without any attribution: https://twitter.com/steipete/status/629364240063799296 https://twitter.com/stei
by MartinMond 11y ago
Looks like they took the MIT-licensed PSTCollectionView without any attribution: https://twitter.com/steipete/status/629364240063799296 https://twitter.com/steipete/status/629364240063799296
Compare: https://github.com/Microsoft/WinObjC/blob/106d8b2738101872a186479a07508b16d34f5872/Frameworks/UIKit/UICollectionViewFlowLayout.mm#L348 https://github.com/Microsoft/WinObjC/blob/106d8b2738101872a1... and https://github.com/steipete/PSTCollectionView/blob/master/PSTCollectionView/PSTCollectionViewFlowLayout.m#L139 https://github.com/steipete/PSTCollectionView/blob/master/PS...
Edit: They added the license https://github.com/Microsoft/WinObjC/commit/611e9e5a4b8373602f2b162313b1be41ffe9ff0e https://github.com/Microsoft/WinObjC/commit/611e9e5a4b837360...
- jws 11y agoIs attribution required by that license? The copyright notice has to stay in the software, but I don't see an attribution clause. License: https://github.com/steipete/PSTCollectionView/blob/master/LICENSE https://github.com/steipete/PSTCollectionView/blob/master/LI... In the source file referenced, the PSTCollectionView strings are all ifdef'd out. Lawyers would be required to tell if text not used in the software is part of the software.
- MartinMond 11y agoIs the copyright notice still anywhere? It says Copyright Microsoft on the top of the file.
- _wmd 11y agoCopy and paste the first paragraph into Google. Looks like someone didn't understand the nuances of the MIT license, no biggy and easy to fix.
- bargl 11y agoIs it just me or is the code in question basically commented out so it will never execute? They could still attribute this guy, but they included it in a public repo so they should either delete or acknowledge this guy. Edit: It isn't commented out but it's in a compile if statement that shouldn't execute.
- afro88 11y agoWhy did they change a lot of the variable class types to id? Is that an optimisation I haven't heard of?
- klausa 11y ago`instancetype` is relatively new addition to Objective-C/Clang. I assume their version just doesn't support it yet, since the regression to `id`.
- afro88 11y ago`instancetype` was a few years ago. I'd be worried if they're only supporting ObjC without any modernisations like that and subscripts etc. But that's not what I'm talking about. Here they've literally replaced all type declarations with `id` (not just return types where you'd normally see `instancetype`). Seems odd.
- hboon 11y agoI haven't read the code. But maybe they did that during porting. It's easier to get code to compile and come back to fix it later. Maybe they haven't gotten around to it?
- pmelendez 11y ago>Edit: They added the license https://github.com/Microsoft/WinObjC/commit/611e9e5a4b837360.. https://github.com/Microsoft/WinObjC/commit/611e9e5a4b837360.... And also apologized: https://twitter.com/windowsdev/status/629379957018394624 https://twitter.com/windowsdev/status/629379957018394624