Skip to content

Commit

Permalink
Update project structure and add version doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye committed Feb 26, 2024
1 parent aac5148 commit 242df46
Show file tree
Hide file tree
Showing 238 changed files with 205 additions and 389 deletions.
File renamed without changes.
5 changes: 5 additions & 0 deletions Docs/Version.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Version

RELEASE_2021 - iOS 15.5 - macOS 12.7.1

RELEASE_2023 - iOS 17.0 - macOS 14.0
5 changes: 2 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if warningsAsErrorsCondition {
let openSwiftUITarget = Target.target(
name: "OpenSwiftUI",
dependencies: [
"OpenSwiftUIShims",
"COpenSwiftUI",
.target(name: "CoreServices", condition: .when(platforms: [.iOS])),
.product(name: "OpenGraphShims", package: "OpenGraph"),
],
Expand Down Expand Up @@ -86,9 +86,8 @@ let package = Package(
.apt(["libgtk-4-dev clang"]),
]
),
// C Shims for OpenSwiftUI
.target(
name: "OpenSwiftUIShims"
name: "COpenSwiftUI"
),
.binaryTarget(name: "CoreServices", path: "PrivateFrameworks/CoreServices.xcframework"),
openSwiftUITarget,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// LockedPointer.c
//
//
// Created by Kyle on 2023/10/19.
//

#include "LockedPointer.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// ProtocolDescriptor.c
//
//
// Created by Kyle on 2023/10/3.
//

#include "ProtocolDescriptor.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// TLS.c
//
//
// Created by Kyle on 2023/11/5.
//

#include "TLS.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// dyld_Private.c
//
//
// Created by Kyle on 2023/10/3.
//

#include "dyld_Private.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// LockedPointer.h
//
//
// Created by Kyle on 2023/10/18.
//

#ifndef LockedPointer_h
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// OpenSwiftUIBase.h
//
//
// Created by Kyle on 2024/2/16.
//

#ifndef OpenSwiftUIBase_h
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// OpenSwiftUI_SPI.h
//
//
// Created by Kyle on 2024/1/9.
//

#ifndef OpenSwiftUI_SPI_h
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// ProtocolDescriptor_h
//
//
// Created by Kyle on 2023/10/3.
//

#ifndef ProtocolDescriptor_h
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// TLS.h
//
//
// Created by Kyle on 2023/11/5.
//

#ifndef TLS_h
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// dyld_Private.h
//
//
// Created by Kyle on 2023/9/24.
//

#ifndef dyld_Private_h
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// AccessibilityButtonShapeModifier.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/10/9.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: WIP
// ID: 0D3243EDC3DD4D641848661DCC354D4B

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// AccessibilityConfigurationModifier.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/10/9.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

protocol AccessibilityConfigurationModifier {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// AccessibilityBoundedNumber.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/12/2.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

import Foundation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// AccessibilityNumber.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/12/2.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

import Foundation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// AccessibilityNumber.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/12/3.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

import Foundation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// AccessibilityPlatformSafe.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/12/2.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

import Foundation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// AccessibilitySliderValue.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/12/16.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

struct AccessibilitySliderValue: AccessibilityValueByProxy {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// AccessibilityValue.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/12/2.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

import Foundation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// AccessibilityValueByProxy.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/12/16.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

protocol AccessibilityValueByProxy: AccessibilityValue {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// AnyAccessibilityValue.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/12/2.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: WIP
// ID: 333660CD735494DA92CEC2878E6C8CC5

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// AnyAccessibilityValueType.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/12/2.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

enum AnyAccessibilityValueType: UInt, Codable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// App.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/9/22.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

/// A type that represents the structure and behavior of an app.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// AppDelegate.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/9/22.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: WIP
// ID: 4475FD12FD59DEBA453321BD91F6EA04

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// AppGraph.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/9/22.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: WIP
// ID: A363922CEBDF47986D9772B903C8737A

Expand All @@ -25,14 +24,9 @@ final class AppGraph: GraphHost {
static var profile: LaunchProfileOptions { .init(rawValue: 1 << 1) }
}

private lazy var launchProfileOptions: LaunchProfileOptions = {
let env = getenv("OPENSWIFTUI_PROFILE_LAUNCH")
if let env {
return .init(rawValue: atoi(env))
} else {
return []
}
}()
private lazy var launchProfileOptions = LaunchProfileOptions(
rawValue: EnvironmentHelper.value(for: "OPENSWIFTUI_PROFILE_LAUNCH")
)

var didCollectLaunchProfile: Bool = false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// FallbackDelegateBox.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/9/22.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: WIP

import Foundation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// FinishLaunchTestAction.swift
// OpenSwiftUI
//
// Created by Kyle on 2024/2/25.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

#if os(iOS)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// LegacyApp.swift
// OpenSwiftUI
//
// Created by Kyle on 2024/1/9.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete
// ID: F8F4CFB3FB453F4ECC15C05B76BCD1E4

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// OpenSwiftUIApplication.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/9/22.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: WIP
// ID: ACC2C5639A7D76F611E170E831FCA491

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// BodyAccessor.swift
// OpenSwiftUI
//
// Created by Kyle on 2024/2/21.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

protocol BodyAccessor<Container, Body> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// BodyAccessorRule.swift
// OpenSwiftUI
//
// Created by Kyle on 2024/2/21.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

internal import OpenGraphShims
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// CodableProxy.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/10/8.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

protocol CodableProxy: Codable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// BloomFilter.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/10/17.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

struct BloomFilter: Equatable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// Box.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/10/17.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

final class Box<A> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// HashabelWeakBox.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/10/17.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

struct HashableWeakBox<A: AnyObject>: Hashable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// Indirect.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/10/17.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

struct Indirect<A> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// MutableBox.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/10/17.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

@propertyWrapper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// WeakBox.swift
// OpenSwiftUI
//
// Created by Kyle on 2023/10/17.
// Lastest Version: iOS 15.5
// Audited for RELEASE_2021
// Status: Complete

struct WeakBox<A: AnyObject> {
Expand Down
Loading

0 comments on commit 242df46

Please sign in to comment.