Coder Social home page Coder Social logo

appunite / jtapplecalendar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from patchthecode/jtapplecalendar

0.0 11.0 1.0 1.67 MB

The Unofficial Swift Apple Calendar Library. View. Control. for iOS & tvOS

License: MIT License

Swift 99.43% Ruby 0.36% Objective-C 0.21%

jtapplecalendar's Introduction

jtapplecalendarnewlogo

Tutorial CI Status Version Carthage Compatible Platform License

Q: How will my calendar dateCells look with this library?

A: However you want it to look.

Tutorials now @ patchthecode.github.io

More Images

Features


  • Range selection - select dates in a range. The design is entirely up to you.
  • Boundary dates - limit the calendar date range
  • Week/month mode - show 1 row of weekdays. Or 2, 3 or 6
  • Custom cells - make your day-cells look however you want, with any functionality you want
  • Custom calendar view - make your calendar look however you want, with what ever functionality you want
  • First Day of week - pick anyday to be first day of the week
  • Horizontal or vertical mode
  • Ability to add month headers in varying sizes/styles of your liking
  • Ability to scroll to any month by simply using the date
  • Ability to design your calendar however you want. You want it, you build it
  • Complete Documentation

Installation


1. Installing via CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

CocoaPods 1.1.0+ is required to build JTApplecalendar.

To integrate JTAppleCalendar into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'JTAppleCalendar', '~> 6.0'
end

Then, run the following command:

$ pod install

Completed!

New to Cocoapods? Did the steps above fail? Then read on.

If you're new to CocoaPods, simply search how to integrate Cocoapods into your project. Trust me that 5-7 minutes of research will bring you much benefit. CocoaPods one of the top dependency manager for integrating 3rd party frameworks into your project. But in a nut-shell, here is how I did my installation with a sample project called test

  1. Install Cocoapods.
  2. Create a new xcode project. Save the name as: test
  3. Go to your console in the directory location where your project is located.
  4. Type and run the command: pod init
  5. This will create a file called: Podfile in that same location.
  6. Edit that Podfile so that it looks like the following:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'test' do
  use_frameworks!
  pod 'JTAppleCalendar', '~> 6.0'
end

Save, and head back to terminal and run: pod install. If all Went well, installation should be complete. Close the XCodeproject, and instead reopen it using the workspace file which generated when installation was completed. Done.

2. Installing via Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate JTAppleCalendar into your Xcode project using Carthage, specify it in your Cartfile:

github "patchthecode/JTAppleCalendar" ~> 6.0

Run carthage update to build the framework and drag the built JTApplecalendar.framework into your Xcode project.

3. Installing manually

Simply drag the source files into your project.

Author

JayT, [email protected] <-- Sending me emails will not get you a swift response. I check it once every 2 weeks or so. Create a new issue here on github if you need help.

License

JTAppleCalendar is available under the MIT license. See the LICENSE file for more info.

jtapplecalendar's People

Contributors

patchthecode avatar charlymr avatar baptistesansierra avatar kyleconway avatar hatunike avatar bmoliveira avatar cl3m avatar przemyslawcholewa avatar emcphersonburke avatar logicality77 avatar jinjorge avatar wisely-public avatar encero avatar sibcat avatar dean151 avatar tizaks avatar yyaremenko avatar

Watchers

Paweł Smoczyk avatar CreativeLabs.pl avatar Emil avatar Karol Wojtaszek avatar James Cloos avatar  avatar Piotr Bernad avatar Hubert Drag avatar Mateusz Zagórski avatar  avatar  avatar

Forkers

uncpy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.