Skip to content

Instantly share code, notes, and snippets.

View pilgwon's full-sized avatar
work declarative

pilgwon pilgwon

work declarative
View GitHub Profile
@pilgwon
pilgwon / before.swift
Created May 31, 2021 13:48
NavigationLink TroubleShooting
import SwiftUI
enum SideMenu: String, CaseIterable {
case first
case second
case third
case fourth
case fifth
var id: String { "\(self)" }
@pilgwon
pilgwon / after.swift
Created May 31, 2021 14:31
NavigationLink TroubleShooting
import SwiftUI
enum SideMenu: String, CaseIterable {
case first
case second
case third
case fourth
case fifth
var id: String { "\(self)" }
@pilgwon
pilgwon / material.ts
Created September 3, 2023 14:27
오르조 학습자료 (간략)
type MaterialType = "examPaper" | "textbook";
type MaterialSubType = "previous" | "orzoOriginal" | "private";
interface Material {
type: MaterialType; // 컨텐츠 대분류
subType: MaterialSubType; // 컨텐츠 중분류
title: string; // 학습자료 제목
thumbnailURL: string; // 썸네일 이미지 URL
description: string | null; // 학습자료 한 줄 설명
authority: Authority; // 권한 (무료, 프리미엄)