Skip to content

iOS 7 calendar-inspired simple mini week view to swipe through weeks and tap on days

License

Notifications You must be signed in to change notification settings

jalmaas/ASWeekSelectorView

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASWeekSelectorView

Badge w/ Version Badge w/ Platform

A mini week view to select a day. You can swipe through weeks and tap on a day to select them, somewhat similar to the iOS 7 calendar app.

It's using the methodology described in Apple's excellent WWDC 2011 session 104 "Advanced ScrollView Techniques".

Week selector

Setup

  1. Add to your Podfile:

     pod 'ASWeekSelectorView', '~> 0.3.0'
    
  2. Add an instance of ASWeekSelectorView to your view hierarchy, configure it, provide a delegate and implement the delegate method. (Note that you won't need to use ASSingleWeekView yourself - it's just a helper class.)

Example

See the included example project for a very basic implementation.

About

iOS 7 calendar-inspired simple mini week view to swipe through weeks and tap on days

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 97.4%
  • Ruby 2.6%