• Stars
    star
    702
  • Rank 64,499 (Top 2 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 8 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ“† An elegant calendar control for iOS.

NO LONGER MAINTAINED

Daysquare

An elegant calendar control for iOS.

Version License Platform Carthage compatible

Introduction

Get bored with native silly UIDatePicker? You may have a try on this control. Instead of showing you an awkward wheel, it just presents as a intuitive full-size calendar with a lot of preference properties that you can change.

Screencast

Overview

Set the date

Bold current month

Features

  • Highly customizable.
  • Navigating between arbitrary dates.
  • Automatically adjust view to fit variety sizes.

[Changelog - 6.14]

  • Add: user's calendar events displaying supports.

[Changelog - 6.15]

  • Add: single row mode supports, see singleRowMode property.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

Daysquare is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Daysquare', :git => 'https://github.com/unixzii/Daysquare.git'

Also, if you prefer to use Carthage, you can add the following line to your Cartfile:

github "unixzii/Daysquare"

Guide

Try the demo project, it's very easy to use. Daysquare follows the target-action pattern, just like the native UIDatePicker class.

PAY ATTENTION
After changing any appearance property, you have the responsibility to call reloadViewAnimated: method to update the view.

Enjoy it!!

License

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

More Repositories

1

SwiftUI-2048

A 2048 game writing with SwiftUI.
Swift
658
star
2

android-FancyBehaviorDemo

A simple demo of customized CoordinatorLayout behavior.
Java
184
star
3

swiftui-for-react-devs

A cheat sheet that helps React developers to quickly start with SwiftUI.
131
star
4

XcodePatch

A patch collection to save your Xcode.
Objective-C
99
star
5

CVPasscodeController

๐Ÿ”’ A native looks passcode input interface.
Swift
98
star
6

SwiftUI-Hooks

A PoC for implementing hooks in SwiftUI
Swift
80
star
7

MetalPlayer

A video player using Metal.
Swift
69
star
8

CyandevToys

๐ŸŽ‰ Sort of fusion code.
JavaScript
65
star
9

android-source-codes

โš™๏ธ Code analysis of common Android projects and components.
Java
59
star
10

ZhihuDaily-iOS

A minimal Zhihu daily app for iOS without any 3rd-party frameworks.
Objective-C
48
star
11

android-SpringAnimator

A framer.js DHO and RK4 spring animation port for Android.
Java
39
star
12

CVTouchHints

Add touch hints to your screencasts in a super easy way.
Objective-C
37
star
13

objc-encodingparser

A cross-platform library to parse Objective-C type encoding.
C
36
star
14

the-silence-campaign

They don't let us talk, they just want to silence us.
JavaScript
34
star
15

SAOLinkStart

A Metal application that mimics SAO "Link Start" scene.
Swift
29
star
16

Snapin

A simple tool to pin screenshots on your screen.
Objective-C
29
star
17

type.js

A tool for creating typewriter simulations.
JavaScript
28
star
18

Waver.js

A Siri like waver library.
JavaScript
23
star
19

StringExplorer

A handy tool to explore various string encoding.
Swift
21
star
20

MacReachability

Using Baidu to determine your network condition without really open it.
Swift
16
star
21

revue

A library for bridging React components to Vue.
TypeScript
13
star
22

Coverflow

A coverflow implementation of Qt Quick
Makefile
12
star
23

Framed

Embed your screenshots into device frames.
Objective-C
11
star
24

MachOInsight

A powerful cross-platform toolkit for inspecting Mach-O files.
C++
11
star
25

XituGold-iOS

a simple gold.xitu.io client for iOS
Swift
11
star
26

CVStackViewSeparator

A drop-in library for adding separators in UIStackView.
Objective-C
11
star
27

ctf-2024

TypeScript
11
star
28

DyldExtractor

A command-line tool to extract dylib files from the dyld shared cache file.
C++
10
star
29

SliderTuner

An easy tool to adjust slider precisely for macOS.
Objective-C
9
star
30

LogDigger

The missing log viewer.
Objective-C
9
star
31

FuckBaiduVIP

A music downloader for downloading those need VIP membership.
Objective-C
7
star
32

QtMaterialDesignComponents

A Qt Quick port of some components using Google Material Design.
QML
6
star
33

libdscoro

๐Ÿš„ The dead-simple stackful coroutine library.
Objective-C
6
star
34

UZDragSortController

Add drag sort behavior to your collection view in a super easy way.
Swift
5
star
35

node-applescript

Run AppleScript through Node.js
Objective-C++
4
star
36

clover-b360m-9700kf-rx590

ๅˆ†ไบซๆˆ‘็š„ Clover ้…็ฝฎ๏ผŒ็กฌไปถๅ…ณ้”ฎ่ฏ๏ผšๆŠ€ๅ˜‰ใ€b360mใ€9700ใ€rx590
4
star
37

fiberize

A library for creating cooperative programs
JavaScript
4
star
38

cyandev.io

My personal website.
TypeScript
4
star
39

Scroll.js

An extremely small but awesome javascript library for web developer.
JavaScript
4
star
40

NavigationController

An iOS-like NavigationController for Qt Quick
4
star
41

Mixture

A declarative, run-time dependency injection framework for Swift.
Swift
4
star
42

opencore-b360m-9700kf-rx590

My Hackintosh configuration with OpenCore and macOS Monterey (GIGABYTE, B360M, i7 9700KF, RX590)
3
star
43

SpringBoard

Launcher page for my web browser
JavaScript
2
star
44

unixzii.github.io

Personal blog
HTML
2
star
45

Gank.io-iOS

A simple Gank.io client for iOS
Swift
2
star
46

game-of-life

A Conway's Game of Life implementation with Rust and WebAssembly.
Rust
2
star
47

vscode-spotlight

A spotlight that help you focus on some lines
TypeScript
2
star
48

Coinstatus

A simple & elegant cryptocurrency status app for iOS / watchOS
Objective-C
2
star
49

my-nvim-config

Lua
1
star
50

Whisper

A message encryption app with ease and fun.
Swift
1
star
51

WinDelete

A simple Win32 program to force deleting files.
C++
1
star
52

iServe

A minimal static files server with GUI manager.
JavaScript
1
star
53

FunctionInterpreter

A simple functional-expression interpreter
C#
1
star
54

Octocat

A lightweight GitHub client for iOS.
Swift
1
star
55

Android-DevStack

Tricks & tips in Android developing
1
star
56

AndroidPanelSlider

A simple library to make panel collapsable.
Java
1
star
57

CardMaker

C++
1
star
58

algo.rs

LeetCode solutions in Rust!
Rust
1
star