jerrykrinock / CategoriesObjC

General-purpose categories of Cocoa classes.
Other
274 stars 41 forks source link

License? #2

Open SilentChris opened 11 years ago

SilentChris commented 11 years ago

I came here after seeing a reference to the NSString Geometrics category on StackOverflow (http://stackoverflow.com/questions/5518147/accurately-calculating-text-height-in-cocoa-for-mac-not-ios).

It seems like it could be helpful in doing some dynamic resizing after displaying messages. However, I don't see a license file anywhere in the project. Would it be possible to add one? (Preferably one that allows commercial/non-OSS use - like Apache/BSD/MIT? :)

jerrykrinock commented 11 years ago

On 2012 Dec 28, at 10:13, Chris Rivers notifications@github.com wrote:

It seems like it could be helpful in doing some dynamic resizing after displaying messages. However, I don't see a license file anywhere in the project. Would it be possible to add one? (Preferably one that allows commercial/non-OSS use - like Apache/BSD/MIT? :)

Hello Chris,

Sorry I didn't get back to you earlier today. I get confused by all of the different licenses. Just send me the text or file of a license that you like and I'll stick it in there and commit.

Jerry

SilentChris commented 11 years ago

Haha - not a problem - I don't really totally understand the little differences between all the licenses, I just know which licenses are "good" (Apache/MIT/BSD) and which are "not good" (GPL/LGPL) when making commercial software.

The Apache license seems pretty simple and permissive if you're looking for people to be able to use/modify/improve your code freely (replacing the brackets with your info):

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

The full text of the license is at http://www.apache.org/licenses/LICENSE-2.0.html

jerrykrinock commented 11 years ago

Thank you for the license text, Chris.

I added a License.txt to the repo…

https://github.com/jerrykrinock/CategoriesObjC/blob/master/License.txt

Jerry