Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .swiftpm/xcode/xcshareddata/xcschemes/ECWeekView.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,19 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ECWeekViewTests"
BuildableName = "ECWeekViewTests"
BlueprintName = "ECWeekViewTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand Down
437 changes: 93 additions & 344 deletions Example/ECWeekViewExample.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

This file was deleted.

36 changes: 0 additions & 36 deletions Example/ECWeekViewExample/AppDelegate.swift

This file was deleted.

25 changes: 0 additions & 25 deletions Example/ECWeekViewExample/Base.lproj/LaunchScreen.storyboard

This file was deleted.

54 changes: 0 additions & 54 deletions Example/ECWeekViewExample/Base.lproj/Main.storyboard

This file was deleted.

15 changes: 15 additions & 0 deletions Example/ECWeekViewExample/ECWeekViewExampleApp.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import ECWeekView
import SwiftUI

@main
struct ECWeekViewExampleApp: App {
var body: some Scene {
WindowGroup {
ECWeekView(visibleDays: 2, visibleHours: 8, startHour: 9) { event in
ECEventView(event: event)
} header: { date in
Text(date.formatted(date: .abbreviated, time: .omitted))
}
}
}
}
68 changes: 0 additions & 68 deletions Example/ECWeekViewExample/EventDetailLauncher.swift

This file was deleted.

26 changes: 6 additions & 20 deletions Example/ECWeekViewExample/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSCalendarsUsageDescription</key>
<string>ECWeekViewExample needs access to your calendar to view and manage calendar events</string>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
Expand All @@ -23,37 +25,21 @@
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<false/>
<key>UISceneConfigurations</key>
<dict>
<key>UIWindowSceneSessionRoleApplication</key>
<array>
<dict>
<key>UISceneConfigurationName</key>
<string>Default Configuration</string>
<key>UISceneDelegateClassName</key>
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
<key>UISceneStoryboardFile</key>
<string>Main</string>
</dict>
</array>
</dict>
<true/>
</dict>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UILaunchScreen</key>
<dict/>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeRight</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading