Skip to content

Commit a83f31f

Browse files
committed
new screenshots
1 parent ab7b8b5 commit a83f31f

7 files changed

Lines changed: 200 additions & 3 deletions

File tree

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0930"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "8E5BB3CD2072F4A000FA853F"
18+
BuildableName = "JZCalendarWeekViewExample.app"
19+
BlueprintName = "JZCalendarWeekViewExample"
20+
ReferencedContainer = "container:JZCalendarWeekViewExample.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
<MacroExpansion>
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "8E5BB3CD2072F4A000FA853F"
36+
BuildableName = "JZCalendarWeekViewExample.app"
37+
BlueprintName = "JZCalendarWeekViewExample"
38+
ReferencedContainer = "container:JZCalendarWeekViewExample.xcodeproj">
39+
</BuildableReference>
40+
</MacroExpansion>
41+
<AdditionalOptions>
42+
</AdditionalOptions>
43+
</TestAction>
44+
<LaunchAction
45+
buildConfiguration = "Debug"
46+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
47+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
48+
launchStyle = "0"
49+
useCustomWorkingDirectory = "NO"
50+
ignoresPersistentStateOnLaunch = "NO"
51+
debugDocumentVersioning = "YES"
52+
debugServiceExtension = "internal"
53+
allowLocationSimulation = "YES">
54+
<BuildableProductRunnable
55+
runnableDebuggingMode = "0">
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "8E5BB3CD2072F4A000FA853F"
59+
BuildableName = "JZCalendarWeekViewExample.app"
60+
BlueprintName = "JZCalendarWeekViewExample"
61+
ReferencedContainer = "container:JZCalendarWeekViewExample.xcodeproj">
62+
</BuildableReference>
63+
</BuildableProductRunnable>
64+
<EnvironmentVariables>
65+
<EnvironmentVariable
66+
key = "OS_ACTIVITY_MODE"
67+
value = "disable"
68+
isEnabled = "YES">
69+
</EnvironmentVariable>
70+
</EnvironmentVariables>
71+
<AdditionalOptions>
72+
</AdditionalOptions>
73+
</LaunchAction>
74+
<ProfileAction
75+
buildConfiguration = "Release"
76+
shouldUseLaunchSchemeArgsEnv = "YES"
77+
savedToolIdentifier = ""
78+
useCustomWorkingDirectory = "NO"
79+
debugDocumentVersioning = "YES">
80+
<BuildableProductRunnable
81+
runnableDebuggingMode = "0">
82+
<BuildableReference
83+
BuildableIdentifier = "primary"
84+
BlueprintIdentifier = "8E5BB3CD2072F4A000FA853F"
85+
BuildableName = "JZCalendarWeekViewExample.app"
86+
BlueprintName = "JZCalendarWeekViewExample"
87+
ReferencedContainer = "container:JZCalendarWeekViewExample.xcodeproj">
88+
</BuildableReference>
89+
</BuildableProductRunnable>
90+
</ProfileAction>
91+
<AnalyzeAction
92+
buildConfiguration = "Debug">
93+
</AnalyzeAction>
94+
<ArchiveAction
95+
buildConfiguration = "Release"
96+
revealArchiveInOrganizer = "YES">
97+
</ArchiveAction>
98+
</Scheme>
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0930"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "8E1BA949206B4329007BE13C"
18+
BuildableName = "JZCalendarWeekView.framework"
19+
BlueprintName = "JZCalendarWeekView"
20+
ReferencedContainer = "container:JZCalendarWeekView.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
<TestableReference
32+
skipped = "NO">
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "8E023C74206C6E4B00C523BE"
36+
BuildableName = "JZCalendarWeekViewTests.xctest"
37+
BlueprintName = "JZCalendarWeekViewTests"
38+
ReferencedContainer = "container:JZCalendarWeekView.xcodeproj">
39+
</BuildableReference>
40+
</TestableReference>
41+
</Testables>
42+
<MacroExpansion>
43+
<BuildableReference
44+
BuildableIdentifier = "primary"
45+
BlueprintIdentifier = "8E1BA949206B4329007BE13C"
46+
BuildableName = "JZCalendarWeekView.framework"
47+
BlueprintName = "JZCalendarWeekView"
48+
ReferencedContainer = "container:JZCalendarWeekView.xcodeproj">
49+
</BuildableReference>
50+
</MacroExpansion>
51+
<AdditionalOptions>
52+
</AdditionalOptions>
53+
</TestAction>
54+
<LaunchAction
55+
buildConfiguration = "Debug"
56+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
57+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
58+
launchStyle = "0"
59+
useCustomWorkingDirectory = "NO"
60+
ignoresPersistentStateOnLaunch = "NO"
61+
debugDocumentVersioning = "YES"
62+
debugServiceExtension = "internal"
63+
allowLocationSimulation = "YES">
64+
<MacroExpansion>
65+
<BuildableReference
66+
BuildableIdentifier = "primary"
67+
BlueprintIdentifier = "8E1BA949206B4329007BE13C"
68+
BuildableName = "JZCalendarWeekView.framework"
69+
BlueprintName = "JZCalendarWeekView"
70+
ReferencedContainer = "container:JZCalendarWeekView.xcodeproj">
71+
</BuildableReference>
72+
</MacroExpansion>
73+
<AdditionalOptions>
74+
</AdditionalOptions>
75+
</LaunchAction>
76+
<ProfileAction
77+
buildConfiguration = "Release"
78+
shouldUseLaunchSchemeArgsEnv = "YES"
79+
savedToolIdentifier = ""
80+
useCustomWorkingDirectory = "NO"
81+
debugDocumentVersioning = "YES">
82+
<MacroExpansion>
83+
<BuildableReference
84+
BuildableIdentifier = "primary"
85+
BlueprintIdentifier = "8E1BA949206B4329007BE13C"
86+
BuildableName = "JZCalendarWeekView.framework"
87+
BlueprintName = "JZCalendarWeekView"
88+
ReferencedContainer = "container:JZCalendarWeekView.xcodeproj">
89+
</BuildableReference>
90+
</MacroExpansion>
91+
</ProfileAction>
92+
<AnalyzeAction
93+
buildConfiguration = "Debug">
94+
</AnalyzeAction>
95+
<ArchiveAction
96+
buildConfiguration = "Release"
97+
revealArchiveInOrganizer = "YES">
98+
</ArchiveAction>
99+
</Scheme>

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ Inspired from WRCalendarView (https://github.com/wayfinders/WRCalendarView)
1616
- [x] Two Scroll types: One-Day scroll (scroll a section) or Page scroll
1717
- [x] Two Types of Long Press Gestures: Add a new event & Move an existing event
1818
- [x] Events display on calendar view (supports events with conflict time and events crossing few days)
19-
- [x] Support all device-orientations (including iPhone X Landscape) and iPad (Slide Over and Split View)
19+
- [x] Support all device orientations (including iPhone X Landscape) and iPad (Slide Over and Split View)
2020
- [x] Current time line displays in today section only
2121

22-
<img src="https://raw.githubusercontent.com/zjfjack/JZCalendarWeekView/master/Screenshots/numOfDays.gif" width="285"/> <img src="https://raw.githubusercontent.com/zjfjack/JZCalendarWeekView/master/Screenshots/scrollType-page.gif" width="285"/> <img src="https://raw.githubusercontent.com/zjfjack/JZCalendarWeekView/master/Screenshots/scrollType-section.gif" width="285"/>
22+
<img src="https://raw.githubusercontent.com/zjfjack/JZCalendarWeekView/master/Screenshots/numOfDays.gif" width="285"/> <img src="https://raw.githubusercontent.com/zjfjack/JZCalendarWeekView/master/Screenshots/longPress.gif" width="285"/> <img src="https://raw.githubusercontent.com/zjfjack/JZCalendarWeekView/master/Screenshots/scrollType.gif" width="285"/>
2323

2424
## Usage
2525

@@ -35,7 +35,7 @@ calendarWeekView.setupCalendar(numOfDays: 7,
3535
scrollType: .pageScroll,
3636
firstDayOfWeek: .Monday)
3737
```
38-
2. Override `viewWillTransition` and simple call `viewTransitionHandler` in `JZWeekViewHelper` to support all device-orientations
38+
2. Override `viewWillTransition` and call `viewTransitionHandler` in `JZWeekViewHelper` to support all device orientations
3939
```swift
4040
override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
4141
JZWeekViewHelper.viewTransitionHandler(to: size, weekView: calendarWeekView)

Screenshots/longPress.gif

1.52 MB
Loading

Screenshots/scrollType-page.gif

-699 KB
Binary file not shown.

Screenshots/scrollType-section.gif

-1.85 MB
Binary file not shown.

Screenshots/scrollType.gif

2.66 MB
Loading

0 commit comments

Comments
 (0)