Skip to content

Instantly share code, notes, and snippets.

@jk
Last active December 20, 2015 16:49
Show Gist options
  • Select an option

  • Save jk/6164477 to your computer and use it in GitHub Desktop.

Select an option

Save jk/6164477 to your computer and use it in GitHub Desktop.
Pod::Spec.new do |s|
s.name = "Kal"
s.version = "1.0rc2"
s.summary = "A calendar component for the iPhone (the UI is designed to match MobileCal)."
s.description = <<-DESC
This project aims to provide an open-source implementation of the month view in Apple's mobile calendar app (MobileCal). When the user taps a day on the calendar, any associated data for that day will be displayed in a table view directly below the calendar. As a client of the Kal component, you have 2 responsibilities:
Tell Kal which days need to be marked with a dot because they have associated data.
Provide UITableViewCells which display the details (if any) for the currently selected day.
In order to use Kal in your application, you will need to provide an implementation of the KalDataSource protocol to satisfy these responsibilities. Please see KalDataSource.h and the included demo app for more details.
DESC
s.homepage = "http://www.thepolypeptides.com"
s.license = {
:type => 'MIT license',
:text => <<-LICENSE
Copyright (c) 2009 Keith Lazuka
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
LICENSE
}
s.author = { "Keith Lazuka" => "[email protected]" }
s.source = { :git => "https://github.com/klazuka/Kal.git", :commit => "2ebc23a24290f535073ce57ee2a630de8e2b804c" }
s.platform = :ios, '4.0'
s.source_files = 'src/*.{h,m}'
s.resources = "src/Kal.bundle/*.png"
s.framework = 'UIKit'
s.requires_arc = false
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment