Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made a cool calendar? Post its image here. #2 #216

Closed
patchthecode opened this issue Dec 1, 2016 · 29 comments
Closed

Made a cool calendar? Post its image here. #2 #216

patchthecode opened this issue Dec 1, 2016 · 29 comments
Assignees

Comments

@patchthecode
Copy link
Owner

patchthecode commented Dec 1, 2016

This post is now locked. To add your calendar screenshot, please click this link instead

Want to see the previous Screen Shots #1? Click here now

@patchthecode patchthecode self-assigned this Dec 1, 2016
@patchthecode patchthecode changed the title Made a cool calendar? Post its image here. [Open] #2 Made a cool calendar? Post its image here. #2 Dec 1, 2016
@dimitris-c
Copy link

dimitris-c commented Jan 25, 2017

Made an availability calendar using multiple instances of JTAppleCalendar embedded on custom UICollectionViewCells.
I haven't tried to dynamically calculate the height for each month based on its rows. I think it's a bit tricky... for now some months will have a larger space at the bottom of each cell.

screen shot 2016-04-07 at 9 49 29 am

@patchthecode
Copy link
Owner Author

@dimmdesign awesome theme there. Btw, would one instance of the calendar work in vertical mode? I think the calendar should look the same right?

@dimitris-c
Copy link

@patchthecode - It should work in either direction, even with a custom layout. And I guess you could also make each calendar work independently as well.

@tungfam
Copy link

tungfam commented Feb 1, 2017

Had a goal to create a calendar with vertical continuous scrolling and selecting range of dates "from" and "to". Many thanks to @patchthecode for creating such a perfect library!
So here is what I've made:
screen shot 2016-04-07 at 9 49 29 am

PS: @patchthecode when I found this calendar I checked the screenshots and was not able to find any which represented the vertical scrolling calendars (which is more iOS style I think rather than horizontal). So I was really about to start looking for a new lib, cuz this one had no examples of vertical scrolling so I thought it's not possible to be done by this lib, but fortunately I found an issue with the question and was able to achieve my goal :) Why am I writing this long story: I think it would be great if you add the vertical scrolling calendars to your main example (the gif on cocapod and main github page) since I think this will increase conversion of your library usage. Hope you got my point ! :)

Thanks!

@kmentrobin
Copy link

kmentrobin commented Mar 1, 2017

Here is my version of JTAppleCalendar to have functions like AirBnb to block nights after nearest not available date sorry for my english in code :)

If you want inspiration: https://github.com/kmentrobin/JTAppleCalendarAirBnb

snimek obrazovky 2017-03-01 v 12 18 42

snimek obrazovky 2017-03-01 v 12 18 12

snimek obrazovky 2017-03-01 v 12 18 27

snimek obrazovky 2017-03-01 v 12 17 01

snimek obrazovky 2017-03-01 v 12 19 42

snimek obrazovky 2017-03-01 v 12 17 52

@boborbt
Copy link

boborbt commented Mar 8, 2017

snimek obrazovky 2017-03-01 v 12 18 42

@MrNiceMrGood
Copy link

Really great lib, ez to use and implement. Also, author is such nice and great guy, always willing to help and improve.
screen shot 2017-03-28 at 19 40 40

@bhavinmakadia
Copy link

bhavinmakadia commented Apr 3, 2017

snimek obrazovky 2017-03-01 v 12 18 27

@rjjohnpatrickcruz
Copy link

rjjohnpatrickcruz commented Apr 11, 2017

screen shot 2017-03-28 at 19 40 40

@patchthecode
Copy link
Owner Author

Looking good :) +1 man

@TimeToCodeIos
Copy link

TimeToCodeIos commented May 9, 2017

screen shot 2017-03-28 at 19 40 40

@patchthecode
Copy link
Owner Author

@TimeToCodeIos is this one for iPad? Nice clean design +1

@TimeToCodeIos
Copy link

TimeToCodeIos commented May 11, 2017

@patchthecode Thank you :) No,It is for iphone only

@capptan
Copy link

capptan commented May 18, 2017

snimek obrazovky 2017-03-01 v 12 18 27

Very simple and clean, will be using this calendar to schedule medical appointments, altho I need help with something, I need to only display the available dates returned from my webservice... anyone has ideas?

@patchthecode
Copy link
Owner Author

@capptan Looking good man. Open a new issue and I can help you with that design to show only available dates

@amitj1296
Copy link

amitj1296 commented Jun 5, 2017

@capptan I also need same calendar with available time slot on particular dates.If someone can help me in this.
snimek obrazovky 2017-03-01 v 12 18 27

@ChanchalW
Copy link

ChanchalW commented Jun 6, 2017

snimek obrazovky 2017-03-01 v 12 18 27

Added in one another project. I used it in 5 projects. And swift 3 update is nice and many things are much simpler now.

@patchthecode
Copy link
Owner Author

patchthecode commented Jun 14, 2017

@ChanchalW i like the way you did the miniature notifications +1

@RushanB
Copy link

RushanB commented Jun 30, 2017

snimek obrazovky 2017-03-01 v 12 18 27

Academic Calendar to help students manage their courses and athletics!

@patchthecode
Copy link
Owner Author

@RushanB looking good. Glad it could help with this sort of work.

@almatri
Copy link

almatri commented Jul 6, 2017

snimek obrazovky 2017-03-01 v 12 18 27

Thanks for this amazing library

@patchthecode
Copy link
Owner Author

patchthecode commented Jul 6, 2017

@almatri youre welcome man. +1. Your design looks very clean. :)

@hemangshah
Copy link
Contributor

@almatri, how did you created that gradient navigation bar? Btw, your design looks cool.

@almatri
Copy link

almatri commented Jul 10, 2017

@hemangshah

First: I created a function for CAGradientLayer to create gradient colored layer for specific bounds

extension CAGradientLayer {
class func gradientLayerForBounds(bounds: CGRect, colors: [CGColor], locations: [NSNumber], startPoint: CGPoint, endPoint: CGPoint) -> CAGradientLayer {
    let layer = CAGradientLayer()
    layer.frame = bounds
    layer.colors = colors
    layer.locations = locations
    layer.startPoint = startPoint
    layer.endPoint = endPoint
    return layer
}
}

Second: I created a function that create a gradient colored image. Notice that the parameters have default values and for the colors I used "UIColor_Hex_Swift".

 func imageLayerForGradientBackground(frame: CGRect, colors: [CGColor] = [UIColor("#6058c2").cgColor, UIColor("#387ec9").cgColor], locations: [NSNumber] = [0.3, 0.7], startPoint: CGPoint = CGPoint(x: 0, y: 0.5), endPoint: CGPoint = CGPoint(x: 1, y: 0.5)) -> UIImage {
    
    var updatedFrame = frame
    // take into account the status bar
    updatedFrame.size.height += 20
    let layer = CAGradientLayer.gradientLayerForBounds(bounds: updatedFrame, colors: colors, locations: locations, startPoint: startPoint, endPoint: endPoint)
    UIGraphicsBeginImageContext(layer.bounds.size)
    layer.render(in: UIGraphicsGetCurrentContext()!)
    let image = UIGraphicsGetImageFromCurrentImageContext()
    UIGraphicsEndImageContext()
    
    return image!
}

Then just set a background image using the function "imageLayerForGradientBackground"

self.navigationBar.setBackgroundImage(imageLayerForGradientBackground(frame: self.navigationBar.bounds), for: UIBarMetrics.default)

@dmholmes
Copy link

events

Events calendar used in our patient and employee app. Thanks!

@hemangshah
Copy link
Contributor

@almatri, thank you so much!

Repository owner deleted a comment from ulzii-dev Jul 24, 2017
Repository owner deleted a comment from RushanB Jul 24, 2017
Repository owner deleted a comment from ulzii-dev Jul 24, 2017
Repository owner deleted a comment from RushanB Jul 24, 2017
Repository owner deleted a comment from cahart Jul 27, 2017
Repository owner deleted a comment from dmholmes Jul 27, 2017
@ameyavichare
Copy link

simulator screen shot 01-aug-2017 2 46 14 pm

@patchthecode
Copy link
Owner Author

patchthecode commented Aug 2, 2017

@ameyavichare interesting concept with that time scroller at the bottom. +1

Repository owner locked and limited conversation to collaborators Aug 3, 2017
@patchthecode
Copy link
Owner Author

Click here for more images

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests