CocoaPods / guides.cocoapods.org

The guides for CocoaPods
https://guides.cocoapods.org/
46 stars 94 forks source link

The Podfile: Update information about ~> operator #190

Closed axchow closed 4 years ago

axchow commented 4 years ago

Updated some incorrect information about the optimistic operator when only including the major version (e.g. ~> 1). Will make a follow up PR to the syntax page to include an example like this, too.

I've verified this in a quick sample project using SSKeychain on CocoaPods 1.9.1.

pod 'SSKeychain', '~> 0'

installs SSKeychain 0.2.1, not 1.4.1 as the documentation would suggest.

amorde commented 4 years ago

Thanks!