oleksii-demedetskyi / Parus

Parus is simple chain style auto-layout helper for objective-c.
MIT License
106 stars 4 forks source link

Add static lib and framework distribution. #46

Open oleksii-demedetskyi opened 10 years ago

oleksii-demedetskyi commented 10 years ago

Hi @dodikk. Can we rely on your help here?

dodikk commented 10 years ago

Definitely yes, you can. Not sure how much I'll be able to contribute and when I'll be able to do that. Let's discuss this in private (textual or voice chat).

dodikk commented 10 years ago

A few things to do beforehand

  1. Make sure your public headers includes have triangle bracket style.
  2. Use as much forward declarations as possible in public headers.
dodikk commented 10 years ago

Some links :

  1. Framework Programming Guide (applies to iOS just fine) https://developer.apple.com/library/mac/documentation/macosx/conceptual/BPFrameworks/Frameworks.html
  2. Framework project template for Xcode 4 and Xcode 5 https://github.com/kstenerud/iOS-Universal-Framework
  3. A lightweight example of library with both source and framework distribution https://github.com/dodikk/ESLocale
Forsarion commented 10 years ago

@DAlOG I have some experience with framework distribution, so I will handle this.

Forsarion commented 10 years ago

@dodikk Thanks for useful links :)

dodikk commented 10 years ago

Do not commit artefacts to the repository. Use "github releases" instead.

Otherwise your repository will grow too large and hard to checkout. In this case you'll end up like ios-openssl