diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index e2add3a..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/Package.resolved b/Package.resolved new file mode 100644 index 0000000..c005bd5 --- /dev/null +++ b/Package.resolved @@ -0,0 +1,24 @@ +{ + "originHash" : "67518c026c09ad3c880e279e62b5f611ff78b99d9fcc9d59617d594e2867bf43", + "pins" : [ + { + "identity" : "swift-docc-plugin", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-docc-plugin", + "state" : { + "revision" : "26ac5758409154cc448d7ab82389c520fa8a8247", + "version" : "1.3.0" + } + }, + { + "identity" : "swift-docc-symbolkit", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-docc-symbolkit", + "state" : { + "revision" : "b45d1f2ed151d057b54504d653e0da5552844e34", + "version" : "1.0.0" + } + } + ], + "version" : 3 +} diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..670f7d6 --- /dev/null +++ b/Package.swift @@ -0,0 +1,17 @@ +// swift-tools-version: 6.0 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "AriNote", + products: [ + .library(name: "AriNote", targets: ["AriNote"]), + .executable(name: "Scripts", targets: ["Scripts"]), + ], + dependencies: [.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.3.0")], + targets: [ + .target(name: "AriNote"), + .executableTarget(name: "Scripts"), + ] +) diff --git a/Sources/AriNote/TIL.docc/Architecture.md b/Sources/AriNote/TIL.docc/Architecture.md new file mode 100644 index 0000000..9a4bb8a --- /dev/null +++ b/Sources/AriNote/TIL.docc/Architecture.md @@ -0,0 +1,14 @@ +# Architecture + +공부 많이해서 상황에 따라 적절한 아키텍처를 선택해보자. + +@Metadata { + @TitleHeading("Overview") +} + + +## Topics +- +- +- +- \ No newline at end of file diff --git "a/Architecture/220301_MVVM,_\355\224\204\353\241\234\354\240\235\355\212\270_\354\204\244\352\263\204.md" "b/Sources/AriNote/TIL.docc/Architecture/220301_MVVM,_\355\224\204\353\241\234\354\240\235\355\212\270_\354\204\244\352\263\204.md" similarity index 100% rename from "Architecture/220301_MVVM,_\355\224\204\353\241\234\354\240\235\355\212\270_\354\204\244\352\263\204.md" rename to "Sources/AriNote/TIL.docc/Architecture/220301_MVVM,_\355\224\204\353\241\234\354\240\235\355\212\270_\354\204\244\352\263\204.md" diff --git a/Architecture/220303_Clean_Architecture_MVVM,_async,_await.md b/Sources/AriNote/TIL.docc/Architecture/220303_Clean_Architecture_MVVM,_async,_await.md similarity index 100% rename from Architecture/220303_Clean_Architecture_MVVM,_async,_await.md rename to Sources/AriNote/TIL.docc/Architecture/220303_Clean_Architecture_MVVM,_async,_await.md diff --git a/Architecture/220322_Flyweight,_Facade.md b/Sources/AriNote/TIL.docc/Architecture/220322_Flyweight,_Facade.md similarity index 100% rename from Architecture/220322_Flyweight,_Facade.md rename to Sources/AriNote/TIL.docc/Architecture/220322_Flyweight,_Facade.md diff --git "a/Architecture/220324_\353\224\224\354\236\220\354\235\270\355\214\250\355\204\264_\355\231\234\353\217\231\355\225\231\354\212\265.md" "b/Sources/AriNote/TIL.docc/Architecture/220324_\353\224\224\354\236\220\354\235\270\355\214\250\355\204\264_\355\231\234\353\217\231\355\225\231\354\212\265.md" similarity index 100% rename from "Architecture/220324_\353\224\224\354\236\220\354\235\270\355\214\250\355\204\264_\355\231\234\353\217\231\355\225\231\354\212\265.md" rename to "Sources/AriNote/TIL.docc/Architecture/220324_\353\224\224\354\236\220\354\235\270\355\214\250\355\204\264_\355\231\234\353\217\231\355\225\231\354\212\265.md" diff --git a/Sources/AriNote/TIL.docc/CS.md b/Sources/AriNote/TIL.docc/CS.md new file mode 100644 index 0000000..217651a --- /dev/null +++ b/Sources/AriNote/TIL.docc/CS.md @@ -0,0 +1,28 @@ +# CS + +Computer Science + +@Metadata { + @TitleHeading("Overview") +} + + +## Topics +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- \ No newline at end of file diff --git "a/CS/210802_\354\240\225\354\210\230\354\231\200_\354\213\244\354\210\230.md" "b/Sources/AriNote/TIL.docc/CS/210802_\354\240\225\354\210\230\354\231\200_\354\213\244\354\210\230.md" similarity index 94% rename from "CS/210802_\354\240\225\354\210\230\354\231\200_\354\213\244\354\210\230.md" rename to "Sources/AriNote/TIL.docc/CS/210802_\354\240\225\354\210\230\354\231\200_\354\213\244\354\210\230.md" index dda9a69..82ca2a4 100644 --- "a/CS/210802_\354\240\225\354\210\230\354\231\200_\354\213\244\354\210\230.md" +++ "b/Sources/AriNote/TIL.docc/CS/210802_\354\240\225\354\210\230\354\231\200_\354\213\244\354\210\230.md" @@ -11,17 +11,17 @@ - 정수를 표현하는 기본방식 -![ex_screenshot](/img/1.png) +![ex_screenshot](https://github.com/user-attachments/assets/24a41a55-c304-4af6-a26c-61a4a2572205) 정수형 데이터를 1byte 크기로 표현한다면 sign bit 1개를 포함하여 8bit로 표현해야한다. 부호를 표시하는 정수 표현 방법과 부호를 표현하지 않는 정수 표현 방법 2가지 형태로 표현될 수 있다. - 실수를 표현하는 기본 방식 -![ex_screenshot](/img/2.png) +![ex_screenshot](https://github.com/user-attachments/assets/97659440-be11-49ef-aa29-defa5f18091f) 고정 소수점 표기법: 고정되어 있는 실수 표현법으로 부호, 정수부 소수부를 표현하는 3부분으로 나뉘고 이 크기가 고정되어 있다. 이런 이유로 아주 큰 수나 아주 작은 수를 표현하기에는 적합하지 않다. (실수 표현 범위가 넓지 않아서) 그러나 부동 소수점 방식과 다르게 밑수 뿐만 아니라 지수 값도 미리 결정해 두고 사용하는 방식이기 때문에 정수형 자료형을 기반으로 소수점을 표현할 수 있다. 연산 장치에 따라서 부동 소수점을 지원하지 않는 경우에는 이러한 소수점을 표현해야 한다. 또한 정수형 자료형의 연산은 부동 소수점 자료형 연산보다 빠르게 할 수 있다는 장점이 있다. -![ex_screenshot](/img/3.png) +![ex_screenshot](https://github.com/user-attachments/assets/48d80064-2879-4a25-b49d-fabceb1e014c) 부동 소수점 표기법: IEEE 754 표현법을 따르며 크게 부호비트, 지수, 가수를 표현하는 부분으로 나뉘고 지수값에 소수점이 이동하면서 큰 값, 작은값을 표현할 수 있게 된다. 그러나 고정 소수점 방식 보다 연산 속도가 느리기 때문에 전용 연산 장치를 두는 경우가 많다. 고정 소수점과 달리 정수 부분과 소수 부분의 자릿수가 일정하지 않으나 유효 숫자의 자릿수는 정해져 있다. diff --git "a/CS/210804_\353\217\231\354\240\201\355\224\204\353\241\234\352\267\270\353\236\230\353\260\215.md" "b/Sources/AriNote/TIL.docc/CS/210804_\353\217\231\354\240\201\355\224\204\353\241\234\352\267\270\353\236\230\353\260\215.md" similarity index 100% rename from "CS/210804_\353\217\231\354\240\201\355\224\204\353\241\234\352\267\270\353\236\230\353\260\215.md" rename to "Sources/AriNote/TIL.docc/CS/210804_\353\217\231\354\240\201\355\224\204\353\241\234\352\267\270\353\236\230\353\260\215.md" diff --git "a/CS/210812_\353\251\224\353\252\250\353\246\254_\352\265\254\354\241\260.md" "b/Sources/AriNote/TIL.docc/CS/210812_\353\251\224\353\252\250\353\246\254_\352\265\254\354\241\260.md" similarity index 100% rename from "CS/210812_\353\251\224\353\252\250\353\246\254_\352\265\254\354\241\260.md" rename to "Sources/AriNote/TIL.docc/CS/210812_\353\251\224\353\252\250\353\246\254_\352\265\254\354\241\260.md" diff --git a/CS/211018_let,_var,_tool_bar,_Design_Patterns,_Architectures,_MVC,_Dictionary,_Downcasting,_Function_Types_as_Parameter_Types.md b/Sources/AriNote/TIL.docc/CS/211018_let,_var,_tool_bar,_Design_Patterns,_Architectures,_MVC,_Dictionary,_Downcasting,_Function_Types_as_Parameter_Types.md similarity index 100% rename from CS/211018_let,_var,_tool_bar,_Design_Patterns,_Architectures,_MVC,_Dictionary,_Downcasting,_Function_Types_as_Parameter_Types.md rename to Sources/AriNote/TIL.docc/CS/211018_let,_var,_tool_bar,_Design_Patterns,_Architectures,_MVC,_Dictionary,_Downcasting,_Function_Types_as_Parameter_Types.md diff --git "a/CS/211207_NSDataAsset,_\354\230\244\353\213\265\353\205\270\355\212\270,_Contents.JSON,_Framework,_Library,_API.md" "b/Sources/AriNote/TIL.docc/CS/211207_NSDataAsset,_\354\230\244\353\213\265\353\205\270\355\212\270,_Contents.JSON,_Framework,_Library,_API.md" similarity index 100% rename from "CS/211207_NSDataAsset,_\354\230\244\353\213\265\353\205\270\355\212\270,_Contents.JSON,_Framework,_Library,_API.md" rename to "Sources/AriNote/TIL.docc/CS/211207_NSDataAsset,_\354\230\244\353\213\265\353\205\270\355\212\270,_Contents.JSON,_Framework,_Library,_API.md" diff --git "a/CS/211215_\354\232\264\354\230\201\354\262\264\354\240\234\354\231\200_\353\215\260\354\235\264\355\204\260\353\262\240\354\235\264\354\212\244.md" "b/Sources/AriNote/TIL.docc/CS/211215_\354\232\264\354\230\201\354\262\264\354\240\234\354\231\200_\353\215\260\354\235\264\355\204\260\353\262\240\354\235\264\354\212\244.md" similarity index 100% rename from "CS/211215_\354\232\264\354\230\201\354\262\264\354\240\234\354\231\200_\353\215\260\354\235\264\355\204\260\353\262\240\354\235\264\354\212\244.md" rename to "Sources/AriNote/TIL.docc/CS/211215_\354\232\264\354\230\201\354\262\264\354\240\234\354\231\200_\353\215\260\354\235\264\355\204\260\353\262\240\354\235\264\354\212\244.md" diff --git a/CS/211216_sync,_async,_Parallel,_Concurrency,_GCD.md b/Sources/AriNote/TIL.docc/CS/211216_sync,_async,_Parallel,_Concurrency,_GCD.md similarity index 100% rename from CS/211216_sync,_async,_Parallel,_Concurrency,_GCD.md rename to Sources/AriNote/TIL.docc/CS/211216_sync,_async,_Parallel,_Concurrency,_GCD.md diff --git a/CS/211217_GCD.md b/Sources/AriNote/TIL.docc/CS/211217_GCD.md similarity index 100% rename from CS/211217_GCD.md rename to Sources/AriNote/TIL.docc/CS/211217_GCD.md diff --git a/CS/211223_POP,_delegate.md b/Sources/AriNote/TIL.docc/CS/211223_POP,_delegate.md similarity index 100% rename from CS/211223_POP,_delegate.md rename to Sources/AriNote/TIL.docc/CS/211223_POP,_delegate.md diff --git a/CS/211228_Race_Condition,_DispatchSemaphore,_HTTP.md b/Sources/AriNote/TIL.docc/CS/211228_Race_Condition,_DispatchSemaphore,_HTTP.md similarity index 100% rename from CS/211228_Race_Condition,_DispatchSemaphore,_HTTP.md rename to Sources/AriNote/TIL.docc/CS/211228_Race_Condition,_DispatchSemaphore,_HTTP.md diff --git a/CS/211229_TCP_IP.md b/Sources/AriNote/TIL.docc/CS/211229_TCP_IP.md similarity index 100% rename from CS/211229_TCP_IP.md rename to Sources/AriNote/TIL.docc/CS/211229_TCP_IP.md diff --git a/CS/211230_HTTP,_UDID,_UUID.md b/Sources/AriNote/TIL.docc/CS/211230_HTTP,_UDID,_UUID.md similarity index 100% rename from CS/211230_HTTP,_UDID,_UUID.md rename to Sources/AriNote/TIL.docc/CS/211230_HTTP,_UDID,_UUID.md diff --git "a/CS/220104_multipart,_form-data,_aync_method_test,_\354\235\230\354\241\264\354\204\261_\354\243\274\354\236\205,_Test_Doubles.md" "b/Sources/AriNote/TIL.docc/CS/220104_multipart,_form-data,_aync_method_test,_\354\235\230\354\241\264\354\204\261_\354\243\274\354\236\205,_Test_Doubles.md" similarity index 100% rename from "CS/220104_multipart,_form-data,_aync_method_test,_\354\235\230\354\241\264\354\204\261_\354\243\274\354\236\205,_Test_Doubles.md" rename to "Sources/AriNote/TIL.docc/CS/220104_multipart,_form-data,_aync_method_test,_\354\235\230\354\241\264\354\204\261_\354\243\274\354\236\205,_Test_Doubles.md" diff --git a/CS/220110_NSCache.md b/Sources/AriNote/TIL.docc/CS/220110_NSCache.md similarity index 100% rename from CS/220110_NSCache.md rename to Sources/AriNote/TIL.docc/CS/220110_NSCache.md diff --git a/CS/220113_Cache,_pagination.md b/Sources/AriNote/TIL.docc/CS/220113_Cache,_pagination.md similarity index 100% rename from CS/220113_Cache,_pagination.md rename to Sources/AriNote/TIL.docc/CS/220113_Cache,_pagination.md diff --git a/CS/220225_Greedy,_wholeNumberValue,_enumerated,_reduce.md b/Sources/AriNote/TIL.docc/CS/220225_Greedy,_wholeNumberValue,_enumerated,_reduce.md similarity index 100% rename from CS/220225_Greedy,_wholeNumberValue,_enumerated,_reduce.md rename to Sources/AriNote/TIL.docc/CS/220225_Greedy,_wholeNumberValue,_enumerated,_reduce.md diff --git "a/CS/220310_OAuth,_Social_Login,_TLS,_\353\214\200\354\271\255\355\202\244,_\353\271\204\353\214\200\354\271\255\355\202\244,_\354\225\224\355\230\270\355\231\224,_\353\263\265\355\230\270\355\231\224.md" "b/Sources/AriNote/TIL.docc/CS/220310_OAuth,_Social_Login,_TLS,_\353\214\200\354\271\255\355\202\244,_\353\271\204\353\214\200\354\271\255\355\202\244,_\354\225\224\355\230\270\355\231\224,_\353\263\265\355\230\270\355\231\224.md" similarity index 100% rename from "CS/220310_OAuth,_Social_Login,_TLS,_\353\214\200\354\271\255\355\202\244,_\353\271\204\353\214\200\354\271\255\355\202\244,_\354\225\224\355\230\270\355\231\224,_\353\263\265\355\230\270\355\231\224.md" rename to "Sources/AriNote/TIL.docc/CS/220310_OAuth,_Social_Login,_TLS,_\353\214\200\354\271\255\355\202\244,_\353\271\204\353\214\200\354\271\255\355\202\244,_\354\225\224\355\230\270\355\231\224,_\353\263\265\355\230\270\355\231\224.md" diff --git a/CS/220523_API,_REST_API,_Array,_Set,_Tuple,_Library,_map.md b/Sources/AriNote/TIL.docc/CS/220523_API,_REST_API,_Array,_Set,_Tuple,_Library,_map.md similarity index 100% rename from CS/220523_API,_REST_API,_Array,_Set,_Tuple,_Library,_map.md rename to Sources/AriNote/TIL.docc/CS/220523_API,_REST_API,_Array,_Set,_Tuple,_Library,_map.md diff --git a/Sources/AriNote/TIL.docc/Git.md b/Sources/AriNote/TIL.docc/Git.md new file mode 100644 index 0000000..3ed3e86 --- /dev/null +++ b/Sources/AriNote/TIL.docc/Git.md @@ -0,0 +1,12 @@ +# Git + +Git 관련 지식 + +@Metadata { + @TitleHeading("Overview") +} + +## Topics +- +- +- \ No newline at end of file diff --git "a/Git/211004_\354\202\254\354\240\204\352\263\274\354\240\234:\354\247\235\355\224\204\353\241\234\352\267\270\353\236\230\353\260\215:Git\352\270\260\354\264\210.md" "b/Sources/AriNote/TIL.docc/Git/211004_\354\202\254\354\240\204\352\263\274\354\240\234,_\354\247\235\355\224\204\353\241\234\352\267\270\353\236\230\353\260\215,_Git\352\270\260\354\264\210.md" similarity index 100% rename from "Git/211004_\354\202\254\354\240\204\352\263\274\354\240\234:\354\247\235\355\224\204\353\241\234\352\267\270\353\236\230\353\260\215:Git\352\270\260\354\264\210.md" rename to "Sources/AriNote/TIL.docc/Git/211004_\354\202\254\354\240\204\352\263\274\354\240\234,_\354\247\235\355\224\204\353\241\234\352\267\270\353\236\230\353\260\215,_Git\352\270\260\354\264\210.md" diff --git "a/Git/211005_Git,\354\262\253_\355\214\200\355\224\204\353\241\234\354\240\235\355\212\270_\354\213\234\354\236\221.md" "b/Sources/AriNote/TIL.docc/Git/211005_Git,\354\262\253_\355\214\200\355\224\204\353\241\234\354\240\235\355\212\270_\354\213\234\354\236\221.md" similarity index 100% rename from "Git/211005_Git,\354\262\253_\355\214\200\355\224\204\353\241\234\354\240\235\355\212\270_\354\213\234\354\236\221.md" rename to "Sources/AriNote/TIL.docc/Git/211005_Git,\354\262\253_\355\214\200\355\224\204\353\241\234\354\240\235\355\212\270_\354\213\234\354\236\221.md" diff --git "a/Git/220613_Github_Actions,_CI,_CD,_\354\236\220\353\217\231\355\231\224.md" "b/Sources/AriNote/TIL.docc/Git/220613_Github_Actions,_CI,_CD,_\354\236\220\353\217\231\355\231\224.md" similarity index 100% rename from "Git/220613_Github_Actions,_CI,_CD,_\354\236\220\353\217\231\355\231\224.md" rename to "Sources/AriNote/TIL.docc/Git/220613_Github_Actions,_CI,_CD,_\354\236\220\353\217\231\355\231\224.md" diff --git a/Sources/AriNote/TIL.docc/Rx.md b/Sources/AriNote/TIL.docc/Rx.md new file mode 100644 index 0000000..df59a86 --- /dev/null +++ b/Sources/AriNote/TIL.docc/Rx.md @@ -0,0 +1,15 @@ +# RxSwift + +RxSwift를 활용한 비동기 프로그래밍 + +@Metadata { + @TitleHeading("Overview") +} + + +## Topics +- +- +- +- +- \ No newline at end of file diff --git a/Rx/220217_Dropbox,_RxSwift,_SPM,_DispatchGroup.md b/Sources/AriNote/TIL.docc/Rx/220217_Dropbox,_RxSwift,_SPM,_DispatchGroup.md similarity index 100% rename from Rx/220217_Dropbox,_RxSwift,_SPM,_DispatchGroup.md rename to Sources/AriNote/TIL.docc/Rx/220217_Dropbox,_RxSwift,_SPM,_DispatchGroup.md diff --git a/Rx/220218_RxSwift,_RxCocoa,_RxRelay,_MVVM.md b/Sources/AriNote/TIL.docc/Rx/220218_RxSwift,_RxCocoa,_RxRelay,_MVVM.md similarity index 100% rename from Rx/220218_RxSwift,_RxCocoa,_RxRelay,_MVVM.md rename to Sources/AriNote/TIL.docc/Rx/220218_RxSwift,_RxCocoa,_RxRelay,_MVVM.md diff --git a/Rx/220304_RxSwift,_Observable,_Subject.md b/Sources/AriNote/TIL.docc/Rx/220304_RxSwift,_Observable,_Subject.md similarity index 100% rename from Rx/220304_RxSwift,_Observable,_Subject.md rename to Sources/AriNote/TIL.docc/Rx/220304_RxSwift,_Observable,_Subject.md diff --git a/Rx/220314_MVVM,_Rx,_changed,_coordinator,_observable.md b/Sources/AriNote/TIL.docc/Rx/220314_MVVM,_Rx,_changed,_coordinator,_observable.md similarity index 100% rename from Rx/220314_MVVM,_Rx,_changed,_coordinator,_observable.md rename to Sources/AriNote/TIL.docc/Rx/220314_MVVM,_Rx,_changed,_coordinator,_observable.md diff --git a/Rx/220813_RxSwift,_Almofire,_URLProtocol,_Unit_Test.md b/Sources/AriNote/TIL.docc/Rx/220813_RxSwift,_Almofire,_URLProtocol,_Unit_Test.md similarity index 100% rename from Rx/220813_RxSwift,_Almofire,_URLProtocol,_Unit_Test.md rename to Sources/AriNote/TIL.docc/Rx/220813_RxSwift,_Almofire,_URLProtocol,_Unit_Test.md diff --git a/Sources/AriNote/TIL.docc/Swift.md b/Sources/AriNote/TIL.docc/Swift.md new file mode 100644 index 0000000..e39727b --- /dev/null +++ b/Sources/AriNote/TIL.docc/Swift.md @@ -0,0 +1,37 @@ +# Swift + +언어 공부 + +@Metadata { + @TitleHeading("Overview") +} + + +## Topics +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- \ No newline at end of file diff --git "a/Swift/210803_for-in_\354\231\270_forEach.md" "b/Sources/AriNote/TIL.docc/Swift/210803_for-in_\354\231\270_forEach.md" similarity index 100% rename from "Swift/210803_for-in_\354\231\270_forEach.md" rename to "Sources/AriNote/TIL.docc/Swift/210803_for-in_\354\231\270_forEach.md" diff --git a/Swift/210805_API_Design_Guidelines.md b/Sources/AriNote/TIL.docc/Swift/210805_API_Design_Guidelines.md similarity index 100% rename from Swift/210805_API_Design_Guidelines.md rename to Sources/AriNote/TIL.docc/Swift/210805_API_Design_Guidelines.md diff --git a/Swift/210809_enum.md b/Sources/AriNote/TIL.docc/Swift/210809_enum.md similarity index 100% rename from Swift/210809_enum.md rename to Sources/AriNote/TIL.docc/Swift/210809_enum.md diff --git "a/Swift/210811_Swift\353\212\224_\354\231\234_let\354\235\204_\354\204\240\355\230\270\355\225\240\352\271\214?.md" "b/Sources/AriNote/TIL.docc/Swift/210811_Swift\353\212\224_\354\231\234_let\354\235\204_\354\204\240\355\230\270\355\225\240\352\271\214.md" similarity index 97% rename from "Swift/210811_Swift\353\212\224_\354\231\234_let\354\235\204_\354\204\240\355\230\270\355\225\240\352\271\214?.md" rename to "Sources/AriNote/TIL.docc/Swift/210811_Swift\353\212\224_\354\231\234_let\354\235\204_\354\204\240\355\230\270\355\225\240\352\271\214.md" index 2bc9a81..de307e3 100644 --- "a/Swift/210811_Swift\353\212\224_\354\231\234_let\354\235\204_\354\204\240\355\230\270\355\225\240\352\271\214?.md" +++ "b/Sources/AriNote/TIL.docc/Swift/210811_Swift\353\212\224_\354\231\234_let\354\235\204_\354\204\240\355\230\270\355\225\240\352\271\214.md" @@ -48,7 +48,7 @@ **Swift에서 값 타입과 참조 타입** - ![ex_screenshot](/img/30.png) + ![30](https://github.com/user-attachments/assets/8d263d03-7a2b-4d33-b69d-eb7ba4be2cb4) ## 오늘의 글쓰기 diff --git "a/Swift/210816_\354\240\221\352\267\274\354\240\234\354\226\264.md" "b/Sources/AriNote/TIL.docc/Swift/210816_\354\240\221\352\267\274\354\240\234\354\226\264.md" similarity index 96% rename from "Swift/210816_\354\240\221\352\267\274\354\240\234\354\226\264.md" rename to "Sources/AriNote/TIL.docc/Swift/210816_\354\240\221\352\267\274\354\240\234\354\226\264.md" index 525a7bb..8ab7930 100644 --- "a/Swift/210816_\354\240\221\352\267\274\354\240\234\354\226\264.md" +++ "b/Sources/AriNote/TIL.docc/Swift/210816_\354\240\221\352\267\274\354\240\234\354\226\264.md" @@ -23,9 +23,9 @@ - 각 타입에 특정 접근수준을 지정할 수 있고, 타입 내부의 프로퍼티, 메서드, 이니셜라이저에도 접근수준을 지정할 수 있다. - 접근수준을 명시할 수 있는 키워드는 open, public, internal, fileprivate, private 가 있다. -![ex_screenshot](/img/31.jpeg) +![31](https://github.com/user-attachments/assets/d513957a-2c10-40ae-a561-dc78ab370c06) -![ex_screenshot](/img/32.png) +![32](https://github.com/user-attachments/assets/b203185f-ec2f-4ff2-9b14-ebdca5650b17) 🔍 **Swift의 접근제어는 모듈과 소스파일 기반으로 설계되었다.** diff --git "a/Swift/210817_\355\224\204\353\241\234\355\206\240\354\275\234.md" "b/Sources/AriNote/TIL.docc/Swift/210817_\355\224\204\353\241\234\355\206\240\354\275\234.md" similarity index 100% rename from "Swift/210817_\355\224\204\353\241\234\355\206\240\354\275\234.md" rename to "Sources/AriNote/TIL.docc/Swift/210817_\355\224\204\353\241\234\355\206\240\354\275\234.md" diff --git "a/Swift/210820_\354\235\264\353\213\210\354\205\234\353\235\274\354\235\264\354\240\200,_\352\266\201\352\270\210\355\226\210\353\215\230_\355\202\244\354\233\214\353\223\234.md" "b/Sources/AriNote/TIL.docc/Swift/210820_\354\235\264\353\213\210\354\205\234\353\235\274\354\235\264\354\240\200,_\352\266\201\352\270\210\355\226\210\353\215\230_\355\202\244\354\233\214\353\223\234.md" similarity index 98% rename from "Swift/210820_\354\235\264\353\213\210\354\205\234\353\235\274\354\235\264\354\240\200,_\352\266\201\352\270\210\355\226\210\353\215\230_\355\202\244\354\233\214\353\223\234.md" rename to "Sources/AriNote/TIL.docc/Swift/210820_\354\235\264\353\213\210\354\205\234\353\235\274\354\235\264\354\240\200,_\352\266\201\352\270\210\355\226\210\353\215\230_\355\202\244\354\233\214\353\223\234.md" index 74e038b..f0e4c59 100644 --- "a/Swift/210820_\354\235\264\353\213\210\354\205\234\353\235\274\354\235\264\354\240\200,_\352\266\201\352\270\210\355\226\210\353\215\230_\355\202\244\354\233\214\353\223\234.md" +++ "b/Sources/AriNote/TIL.docc/Swift/210820_\354\235\264\353\213\210\354\205\234\353\235\274\354\235\264\354\240\200,_\352\266\201\352\270\210\355\226\210\353\215\230_\355\202\244\354\233\214\353\223\234.md" @@ -9,7 +9,7 @@ 오늘은 이니셜라이저 복습과 공부하면서 알게되었고 개념을 정확히 모르고있는 키워드들을 구글링하면서 정리해보았다. 이니셜라이저는 구조체의 경우 단순하고 간단하지만 클래스로 넘어가게되면 상속 때문에 좀 헷갈리는 부분이 많다. 오늘 복습하게 되면서 개념이 어느정도 정리가 되긴 하였지만, 아직 좀더 반복학습이 필요할 것 같다. 특히 2단계 초기화 부분이 약간 이해하는데 어려움을 겪었다. 직접 코드 작성을 해보고 어떤 순서로 초기화가 되는지를 설명할 수 있을 때까지 공부를 좀 더 해봐야할 것 같다. 또 과제를 진행하면서 구조체와 클래스는 어떤 상황에 사용해야 적합할지를 생각하다가 공식문서에서 '직렬화'할때 사용을 권장한다고 되어있어서 직렬화가 무엇인지를 공부해보았다. 쉽게 말해서 시스템 외부로 데이터를 전송하기 위해 복원할 수 있는 형태의 데이터로 전환하는 과정이라고 말할 수 있겠다. 인코딩과 같은 형태이다. JSON도 들어만 보고 어떤 형태인지만 봤지, 정확히 어떤 것인지 무엇을 말하는 건지 어떤 상황에 쓰는 것인지 뜻을 몰라서 검색했다. 앞서 말한 것과 같이 나는 오늘 복습과 궁금증을 해결하는 시간을 가졌다. 학습을 하는 것도 중요하지만 복습도 정말 중요하다! -![ex_screenshot](/img/33.png) +![33](https://github.com/user-attachments/assets/c0957009-b8a1-4ac6-8190-b49dabaae84b) 그리고 뜬금없지만 iOS 개발자 로드맵 보다가 내가 이 짧은 기간에 여기까지의 지식을 채웠다는게 대단하다고 느껴졌다. 뭐 물론 완벽한 상태는 아니지만... 🤣 얼릉 고수가 되고싶어! diff --git a/Swift/210827_FileManger.md b/Sources/AriNote/TIL.docc/Swift/210827_FileManger.md similarity index 92% rename from Swift/210827_FileManger.md rename to Sources/AriNote/TIL.docc/Swift/210827_FileManger.md index d60d811..15f0075 100644 --- a/Swift/210827_FileManger.md +++ b/Sources/AriNote/TIL.docc/Swift/210827_FileManger.md @@ -9,7 +9,7 @@ 진짜 '파일 읽고 쓰기' 부분이 너무 헷갈리고 어려웠다. 헷갈린 부분을 해결하였더니 파일매니저라는 타입이 '꽤 직관적이구나'를 깨닫게 되었다. 캠프에서 주어진 예제 또한 합쳐진 예제가 아니라 각 동작에 대한 설명을 위한 예제인 것이였다. URL도 계속 헷갈렸는데.. 이게 FileManeger에선 '파일의 경로'를 뜻하는 거였다.. 난 그것도 모르고 위키백과를 뒤져가며 URL이 어떤 형태로 이루어져 있는지도 학습했다. 파일 경로인줄도 모르고 http 뒤질뻔.. -![ex_screenshot](/img/34.png) +![34](https://github.com/user-attachments/assets/e203c102-68bf-40bb-9f8a-c96809e29a3a) 이번 4주차에 있는 '파일 읽고 쓰기' 부분은 말 그대로 FileManager를 통해 파일을 읽고 쓰는 기초적인 방법을 배워보는 그런 시간이였다. 나만 그런게 아니라 다들 처음 배울때는 많이 헷갈려하는 것 같았다. (블로그를 염탐해보니...) 그 중에서 엄청 설명이 상세하고 자세히 되어있는 블로그를 보고 축복받은 느낌이 들었다. 나도 훗날 나같은 사람을 위해서 FileManager에 대한 상세한 포스팅을 작성하게 되었다. @@ -17,7 +17,7 @@ 코드가 잘실행이 되는지 안되는지 Xcode 플레이그라운드에 붙여넣었다. 에러가 나는 부분을 찾아서 빈 부분을 채웠더니 해결이 되었다. 그리고 코드 한줄 한줄 어떤 동작을 하는지도 주석처리하여 설명을 덧붙여넣었더니 이해를 하는데 많은 도움이 되었다. 메소드가 어떤일을 하는지도 상세히 알게되었고, 앞으로 코드가 이해되지 않는다면 이렇게 하나씩 찾아봐야될 것 같다. -![ex_screenshot](/img/35.png) +![35](https://github.com/user-attachments/assets/4e062f3d-68cb-487a-9e98-c4f733539544) 휴... 정말 헷갈리고 궁금해서 미쳐돌아가는 줄 알았다. 잠들기 전부터 눈뜨는 그 순간까지 계속 물음표를 던지며 빨리 궁금증을 해결하고 싶어 오늘 오전 중에 오동나무에게 질문을 해가며 궁금증을 해소하였다. diff --git a/Swift/210831_Result.md b/Sources/AriNote/TIL.docc/Swift/210831_Result.md similarity index 98% rename from Swift/210831_Result.md rename to Sources/AriNote/TIL.docc/Swift/210831_Result.md index aabaee0..735739d 100644 --- a/Swift/210831_Result.md +++ b/Sources/AriNote/TIL.docc/Swift/210831_Result.md @@ -140,4 +140,4 @@ validate("lee_ari95@icloud.com") { result in 그리고 Git을 다룰줄 몰라서 엘리의 유튜브 git 기초영상을 봤다가 강의까지 질러버렸다.. 열심히 해야지...! -![ex_screenshot](/img/36.png) +![36](https://github.com/user-attachments/assets/bac3603f-2022-494c-b0dc-82659e8cc187) diff --git "a/Swift/211006_\354\262\253\355\214\200\355\224\204\353\241\234\354\240\235\355\212\270,lazy,\352\260\200\353\217\205\354\204\261,\354\204\261\353\212\245\352\263\240\353\240\244,\354\236\254\354\202\254\354\232\251\354\204\261,\352\263\240\354\260\250\355\225\250\354\210\230\354\231\200_\353\260\230\353\263\265\353\254\270\354\235\230_\354\204\261\353\212\245\354\260\250\354\235\264.md" "b/Sources/AriNote/TIL.docc/Swift/211006_\354\262\253\355\214\200\355\224\204\353\241\234\354\240\235\355\212\270,lazy,\352\260\200\353\217\205\354\204\261,\354\204\261\353\212\245\352\263\240\353\240\244,\354\236\254\354\202\254\354\232\251\354\204\261,\352\263\240\354\260\250\355\225\250\354\210\230\354\231\200_\353\260\230\353\263\265\353\254\270\354\235\230_\354\204\261\353\212\245\354\260\250\354\235\264.md" similarity index 100% rename from "Swift/211006_\354\262\253\355\214\200\355\224\204\353\241\234\354\240\235\355\212\270,lazy,\352\260\200\353\217\205\354\204\261,\354\204\261\353\212\245\352\263\240\353\240\244,\354\236\254\354\202\254\354\232\251\354\204\261,\352\263\240\354\260\250\355\225\250\354\210\230\354\231\200_\353\260\230\353\263\265\353\254\270\354\235\230_\354\204\261\353\212\245\354\260\250\354\235\264.md" rename to "Sources/AriNote/TIL.docc/Swift/211006_\354\262\253\355\214\200\355\224\204\353\241\234\354\240\235\355\212\270,lazy,\352\260\200\353\217\205\354\204\261,\354\204\261\353\212\245\352\263\240\353\240\244,\354\236\254\354\202\254\354\232\251\354\204\261,\352\263\240\354\260\250\355\225\250\354\210\230\354\231\200_\353\260\230\353\263\265\353\254\270\354\235\230_\354\204\261\353\212\245\354\260\250\354\235\264.md" diff --git "a/Swift/211007_\353\225\205\353\224\260\353\250\271\352\270\260,\354\213\261\352\270\200\355\206\244,KVO,compactMap,\355\224\204\353\241\234\354\240\235\355\212\270.md" "b/Sources/AriNote/TIL.docc/Swift/211007_\353\225\205\353\224\260\353\250\271\352\270\260,\354\213\261\352\270\200\355\206\244,KVO,compactMap,\355\224\204\353\241\234\354\240\235\355\212\270.md" similarity index 100% rename from "Swift/211007_\353\225\205\353\224\260\353\250\271\352\270\260,\354\213\261\352\270\200\355\206\244,KVO,compactMap,\355\224\204\353\241\234\354\240\235\355\212\270.md" rename to "Sources/AriNote/TIL.docc/Swift/211007_\353\225\205\353\224\260\353\250\271\352\270\260,\354\213\261\352\270\200\355\206\244,KVO,compactMap,\355\224\204\353\241\234\354\240\235\355\212\270.md" diff --git "a/Swift/211008_Destructuring,_commit,_branch,_Changes_requested,_refactoring,_\354\240\204\354\227\255\353\263\200\354\210\230\353\245\274_\354\236\230\354\225\210\354\223\260\353\212\224_\354\235\264\354\234\240,_naming,_reduce.md" "b/Sources/AriNote/TIL.docc/Swift/211008_Destructuring,_commit,_branch,_Changes_requested,_refactoring,_\354\240\204\354\227\255\353\263\200\354\210\230\353\245\274_\354\236\230\354\225\210\354\223\260\353\212\224_\354\235\264\354\234\240,_naming,_reduce.md" similarity index 100% rename from "Swift/211008_Destructuring,_commit,_branch,_Changes_requested,_refactoring,_\354\240\204\354\227\255\353\263\200\354\210\230\353\245\274_\354\236\230\354\225\210\354\223\260\353\212\224_\354\235\264\354\234\240,_naming,_reduce.md" rename to "Sources/AriNote/TIL.docc/Swift/211008_Destructuring,_commit,_branch,_Changes_requested,_refactoring,_\354\240\204\354\227\255\353\263\200\354\210\230\353\245\274_\354\236\230\354\225\210\354\223\260\353\212\224_\354\235\264\354\234\240,_naming,_reduce.md" diff --git a/Swift/211009_Optional,_Dictionary,_compactMap.md b/Sources/AriNote/TIL.docc/Swift/211009_Optional,_Dictionary,_compactMap.md similarity index 100% rename from Swift/211009_Optional,_Dictionary,_compactMap.md rename to Sources/AriNote/TIL.docc/Swift/211009_Optional,_Dictionary,_compactMap.md diff --git "a/Swift/211011_condition,_condition-list,_flow_chart,_\354\235\274\353\260\230\355\231\224\354\266\224\354\203\201\355\231\224\354\235\200\353\213\211\355\231\224\354\272\241\354\212\220\355\231\224,_Ground_rules,_Daily_Scrum,_\353\251\224\354\206\214\353\223\234\353\252\205.md" "b/Sources/AriNote/TIL.docc/Swift/211011_condition,_condition-list,_flow_chart,_\354\235\274\353\260\230\355\231\224\354\266\224\354\203\201\355\231\224\354\235\200\353\213\211\355\231\224\354\272\241\354\212\220\355\231\224,_Ground_rules,_Daily_Scrum,_\353\251\224\354\206\214\353\223\234\353\252\205.md" similarity index 100% rename from "Swift/211011_condition,_condition-list,_flow_chart,_\354\235\274\353\260\230\355\231\224\354\266\224\354\203\201\355\231\224\354\235\200\353\213\211\355\231\224\354\272\241\354\212\220\355\231\224,_Ground_rules,_Daily_Scrum,_\353\251\224\354\206\214\353\223\234\353\252\205.md" rename to "Sources/AriNote/TIL.docc/Swift/211011_condition,_condition-list,_flow_chart,_\354\235\274\353\260\230\355\231\224\354\266\224\354\203\201\355\231\224\354\235\200\353\213\211\355\231\224\354\272\241\354\212\220\355\231\224,_Ground_rules,_Daily_Scrum,_\353\251\224\354\206\214\353\223\234\353\252\205.md" diff --git "a/Swift/211012_\355\224\204\353\241\234\354\240\235\355\212\270,_Properties,_KeyPath,_KVC,_iOS,_HIG.md" "b/Sources/AriNote/TIL.docc/Swift/211012_\355\224\204\353\241\234\354\240\235\355\212\270,_Properties,_KeyPath,_KVC,_iOS,_HIG.md" similarity index 100% rename from "Swift/211012_\355\224\204\353\241\234\354\240\235\355\212\270,_Properties,_KeyPath,_KVC,_iOS,_HIG.md" rename to "Sources/AriNote/TIL.docc/Swift/211012_\355\224\204\353\241\234\354\240\235\355\212\270,_Properties,_KeyPath,_KVC,_iOS,_HIG.md" diff --git "a/Swift/211013_Naming,_if-else,_switch,_\353\260\230\353\263\265\353\254\270\352\263\274_\354\236\254\352\267\200\355\225\250\354\210\230,_reset,_reflog.md" "b/Sources/AriNote/TIL.docc/Swift/211013_Naming,_if-else,_switch,_\353\260\230\353\263\265\353\254\270\352\263\274_\354\236\254\352\267\200\355\225\250\354\210\230,_reset,_reflog.md" similarity index 100% rename from "Swift/211013_Naming,_if-else,_switch,_\353\260\230\353\263\265\353\254\270\352\263\274_\354\236\254\352\267\200\355\225\250\354\210\230,_reset,_reflog.md" rename to "Sources/AriNote/TIL.docc/Swift/211013_Naming,_if-else,_switch,_\353\260\230\353\263\265\353\254\270\352\263\274_\354\236\254\352\267\200\355\225\250\354\210\230,_reset,_reflog.md" diff --git a/Swift/211019_Nested_Type,_operator,_Dictionary,_Sequence,_LocalizedError,_Error_Handling.md b/Sources/AriNote/TIL.docc/Swift/211019_Nested_Type,_operator,_Dictionary,_Sequence,_LocalizedError,_Error_Handling.md similarity index 100% rename from Swift/211019_Nested_Type,_operator,_Dictionary,_Sequence,_LocalizedError,_Error_Handling.md rename to Sources/AriNote/TIL.docc/Swift/211019_Nested_Type,_operator,_Dictionary,_Sequence,_LocalizedError,_Error_Handling.md diff --git a/Swift/211020_KVC,_Notification,_NotificationCenter.md b/Sources/AriNote/TIL.docc/Swift/211020_KVC,_Notification,_NotificationCenter.md similarity index 100% rename from Swift/211020_KVC,_Notification,_NotificationCenter.md rename to Sources/AriNote/TIL.docc/Swift/211020_KVC,_Notification,_NotificationCenter.md diff --git a/Swift/211108_Delegate,_weak,_ARC,_Element,_Queue,_Stack,_LinkeList.md b/Sources/AriNote/TIL.docc/Swift/211108_Delegate,_weak,_ARC,_Element,_Queue,_Stack,_LinkeList.md similarity index 100% rename from Swift/211108_Delegate,_weak,_ARC,_Element,_Queue,_Stack,_LinkeList.md rename to Sources/AriNote/TIL.docc/Swift/211108_Delegate,_weak,_ARC,_Element,_Queue,_Stack,_LinkeList.md diff --git a/Swift/211109_removeAll,_attribute,_commit,_Numeric,_FloatingPoint,_NaN,_where,_SourceTree.md b/Sources/AriNote/TIL.docc/Swift/211109_removeAll,_attribute,_commit,_Numeric,_FloatingPoint,_NaN,_where,_SourceTree.md similarity index 100% rename from Swift/211109_removeAll,_attribute,_commit,_Numeric,_FloatingPoint,_NaN,_where,_SourceTree.md rename to Sources/AriNote/TIL.docc/Swift/211109_removeAll,_attribute,_commit,_Numeric,_FloatingPoint,_NaN,_where,_SourceTree.md diff --git a/Swift/211111_Capture_List,_SOLID,_protocol,_split,_UML.md b/Sources/AriNote/TIL.docc/Swift/211111_Capture_List,_SOLID,_protocol,_split,_UML.md similarity index 100% rename from Swift/211111_Capture_List,_SOLID,_protocol,_split,_UML.md rename to Sources/AriNote/TIL.docc/Swift/211111_Capture_List,_SOLID,_protocol,_split,_UML.md diff --git a/Swift/211112_Delegation,_NumberFormatter,_Finding_and_Refactoring_Code,_SnapKit.md b/Sources/AriNote/TIL.docc/Swift/211112_Delegation,_NumberFormatter,_Finding_and_Refactoring_Code,_SnapKit.md similarity index 100% rename from Swift/211112_Delegation,_NumberFormatter,_Finding_and_Refactoring_Code,_SnapKit.md rename to Sources/AriNote/TIL.docc/Swift/211112_Delegation,_NumberFormatter,_Finding_and_Refactoring_Code,_SnapKit.md diff --git a/Swift/211121_OSLog.md b/Sources/AriNote/TIL.docc/Swift/211121_OSLog.md similarity index 100% rename from Swift/211121_OSLog.md rename to Sources/AriNote/TIL.docc/Swift/211121_OSLog.md diff --git a/Swift/211224_escapingClosure,_autoClosure,_weak,_wildcard,_naming.md b/Sources/AriNote/TIL.docc/Swift/211224_escapingClosure,_autoClosure,_weak,_wildcard,_naming.md similarity index 100% rename from Swift/211224_escapingClosure,_autoClosure,_weak,_wildcard,_naming.md rename to Sources/AriNote/TIL.docc/Swift/211224_escapingClosure,_autoClosure,_weak,_wildcard,_naming.md diff --git a/Swift/211231_inout,_async,_await,_Thread_Sanitizer.md b/Sources/AriNote/TIL.docc/Swift/211231_inout,_async,_await,_Thread_Sanitizer.md similarity index 100% rename from Swift/211231_inout,_async,_await,_Thread_Sanitizer.md rename to Sources/AriNote/TIL.docc/Swift/211231_inout,_async,_await,_Thread_Sanitizer.md diff --git a/Swift/220105_URLProtocolMock,_WWDC2018,_URLSession,_NetworkTest.md b/Sources/AriNote/TIL.docc/Swift/220105_URLProtocolMock,_WWDC2018,_URLSession,_NetworkTest.md similarity index 100% rename from Swift/220105_URLProtocolMock,_WWDC2018,_URLSession,_NetworkTest.md rename to Sources/AriNote/TIL.docc/Swift/220105_URLProtocolMock,_WWDC2018,_URLSession,_NetworkTest.md diff --git a/Swift/220923_URLSession,_CachePolicy.md b/Sources/AriNote/TIL.docc/Swift/220923_URLSession,_CachePolicy.md similarity index 100% rename from Swift/220923_URLSession,_CachePolicy.md rename to Sources/AriNote/TIL.docc/Swift/220923_URLSession,_CachePolicy.md diff --git a/Sources/AriNote/TIL.docc/SwiftUI.md b/Sources/AriNote/TIL.docc/SwiftUI.md new file mode 100644 index 0000000..995c423 --- /dev/null +++ b/Sources/AriNote/TIL.docc/SwiftUI.md @@ -0,0 +1,17 @@ +# SwiftUI + +언능 UIKit만큼 SwiftUI를 더 잘 알고 싶다! + +@Metadata { + @TitleHeading("Overview") +} + +## Overview + +d + +## Topics +- +- +- +- \ No newline at end of file diff --git "a/SwiftUI/220221_Localization,_\355\200\264\354\246\210_\354\230\244\353\213\265\353\205\270\355\212\270,_SwiftUI_Tutorial.md" "b/Sources/AriNote/TIL.docc/SwiftUI/220221_Localization,_\355\200\264\354\246\210_\354\230\244\353\213\265\353\205\270\355\212\270,_SwiftUI_Tutorial.md" similarity index 100% rename from "SwiftUI/220221_Localization,_\355\200\264\354\246\210_\354\230\244\353\213\265\353\205\270\355\212\270,_SwiftUI_Tutorial.md" rename to "Sources/AriNote/TIL.docc/SwiftUI/220221_Localization,_\355\200\264\354\246\210_\354\230\244\353\213\265\353\205\270\355\212\270,_SwiftUI_Tutorial.md" diff --git a/SwiftUI/220224_SwiftUI,_Property_Wrapper,_Divider,_List,_GeometryReader.md b/Sources/AriNote/TIL.docc/SwiftUI/220224_SwiftUI,_Property_Wrapper,_Divider,_List,_GeometryReader.md similarity index 100% rename from SwiftUI/220224_SwiftUI,_Property_Wrapper,_Divider,_List,_GeometryReader.md rename to Sources/AriNote/TIL.docc/SwiftUI/220224_SwiftUI,_Property_Wrapper,_Divider,_List,_GeometryReader.md diff --git a/SwiftUI/220315_Memory_Leak,_RxSwift,_withUnretained,_Widget.md b/Sources/AriNote/TIL.docc/SwiftUI/220315_Memory_Leak,_RxSwift,_withUnretained,_Widget.md similarity index 100% rename from SwiftUI/220315_Memory_Leak,_RxSwift,_withUnretained,_Widget.md rename to Sources/AriNote/TIL.docc/SwiftUI/220315_Memory_Leak,_RxSwift,_withUnretained,_Widget.md diff --git a/SwiftUI/220317_Widget,_Timeline,_Decorator_Pattern.md b/Sources/AriNote/TIL.docc/SwiftUI/220317_Widget,_Timeline,_Decorator_Pattern.md similarity index 100% rename from SwiftUI/220317_Widget,_Timeline,_Decorator_Pattern.md rename to Sources/AriNote/TIL.docc/SwiftUI/220317_Widget,_Timeline,_Decorator_Pattern.md diff --git a/Sources/AriNote/TIL.docc/TIL.md b/Sources/AriNote/TIL.docc/TIL.md new file mode 100644 index 0000000..12a5243 --- /dev/null +++ b/Sources/AriNote/TIL.docc/TIL.md @@ -0,0 +1,70 @@ +# ``AriNote`` + +@Metadata { + @TitleHeading("Welcome to") + @DisplayName("Ari's Notes") +} +@Options(scope: global) { + @AutomaticSeeAlso(disabled) + @AutomaticTitleHeading(enabled) + @AutomaticArticleSubheading(enabled) + @TopicsVisualStyle(list) +} +@Options(scope: local) { + @TopicsVisualStyle(list) +} + +`Today I Learned` + +공부한 것을 기록합니다. + +- 내가 설명하지 못하는 것은 내가 아는 것이 아니다. +- 사람은 망각의 동물이므로 내가 오늘 배운 내용을 금세 잊어버린다. +- 내가 쓴 글은 제목만 보더라도 내용이 금세 기억나는 마법을 경험할 수 있다. + +> - 정확하지 않은 내용이 있을 수도 있습니다. +> - 공부하면서 메모한 내용들이라 완벽하지 않습니다. +> - 공부한 흔적을 생생하게 남기는 목적으로 기록하고 있습니다. + +## History + +- `2021-08`: 야곰 아카데미 코드 스타터 캠프 기록 +- `2021-10 ~ 2022-03`: 야곰 아카데미 커리어 스타터 캠프 기록 + + +## Template + +``` +# 날짜 키워드 + +1월 1일 (월) + +# 학습내용 + +- 내용 + +# 고민한 점 / 해결방법 + +- 내용 + +# 느낀점 + +- 내용 + +--- + +# 참고 링크 + +- 링크 +``` + +## Topics + +- +- +- +- +- +- +- +- diff --git a/Sources/AriNote/TIL.docc/UIKit.md b/Sources/AriNote/TIL.docc/UIKit.md new file mode 100644 index 0000000..25c091f --- /dev/null +++ b/Sources/AriNote/TIL.docc/UIKit.md @@ -0,0 +1,74 @@ +# UIKit + +한몸이 되보자... + +@Metadata { + @TitleHeading("Overview") +} + + +## Topics +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- \ No newline at end of file diff --git "a/UIKit/210806_\354\231\225\354\264\210\353\263\264\353\245\274_\354\234\204\355\225\234_IOS_\354\225\261\352\260\234\353\260\234.md" "b/Sources/AriNote/TIL.docc/UIKit/210806_\354\231\225\354\264\210\353\263\264\353\245\274_\354\234\204\355\225\234_IOS_\354\225\261\352\260\234\353\260\234.md" similarity index 95% rename from "UIKit/210806_\354\231\225\354\264\210\353\263\264\353\245\274_\354\234\204\355\225\234_IOS_\354\225\261\352\260\234\353\260\234.md" rename to "Sources/AriNote/TIL.docc/UIKit/210806_\354\231\225\354\264\210\353\263\264\353\245\274_\354\234\204\355\225\234_IOS_\354\225\261\352\260\234\353\260\234.md" index d010959..45a01b1 100644 --- "a/UIKit/210806_\354\231\225\354\264\210\353\263\264\353\245\274_\354\234\204\355\225\234_IOS_\354\225\261\352\260\234\353\260\234.md" +++ "b/Sources/AriNote/TIL.docc/UIKit/210806_\354\231\225\354\264\210\353\263\264\353\245\274_\354\234\204\355\225\234_IOS_\354\225\261\352\260\234\353\260\234.md" @@ -5,13 +5,13 @@ 작성자: 이아리 태그: Simulator, Xcode, iOS, macOS, 야곰닷넷 -![ex_screenshot](/img/4.png) +![4](https://github.com/user-attachments/assets/4b8dea78-167c-4b0b-b470-01af4f9646ed) ## 학습내용 오늘은 평소 공부하고 있는 Swift 문법 말고도 추가로 어떤걸 공부하면 좋을지 혼자 고민하다가 질문방에 들어가 고민을 털어놓았고 오동나무님의 추천으로 야곰닷넷에 '왕초보를 위한 iOS 앱개발' 라는 강의를 들어보기로 결정하였다. Swift 문법에 대해 탐구하다가 처음으로 iOS에 접근하게 되었는데 단순히 따라하는 것만으로도 재밌고 흥미로웠다. 그러나 아직 Xcode UI가 익숙치 않아 어떤 기능을 하는지, 단축키는 뭐가있는지 더 알아봐야할 것 같다. 그렇게 순조롭게 강의를 따라하던 와중에 나에게 큰 시련이 닥쳐왔다.... -![ex_screenshot](/img/5.png) +![5](https://github.com/user-attachments/assets/ec1686c0-aa85-4976-98ba-485f7f7d8d67) ## 문제점 @@ -21,7 +21,7 @@ 시뮬레이터 문제를 해결하려고 구글링 해보았으나 나와 같은 에러가 뜨는 사람은 없는 것 같았다. 나의 예상으로는 macOS와 Xcode의 호환문제인 것 같았다. 베타버전이 아닌 정식버전으로 해결해보려고 했으나 또다른 문제가 발생해서 Xcode 베타버전으로 해결할 수 있는 방법이 없을까 하고 찾아보다가 새로운 베타버전이 나왔다는 사실을 알게되어 바로 새 버전으로 다운로드 해서 문제를 해결했다. 릴리즈를 확인해보니 literal 관련한 오류가 해결되었다는 내용도 확인되었다. 앞으로 개발을 하려면 OS 업데이트에 과감한 도전을 하기 보다는 좀 더 개발 환경의 안전성을 위해 신경 써야할 것 같다.... -![ex_screenshot](/img/6.png) +![6](https://github.com/user-attachments/assets/b8afc4b3-0b22-4a5f-b0e6-9fd19da524b7) ## 배운 내용 정리 diff --git "a/UIKit/210807_\354\231\225\354\264\210\353\263\264\353\245\274_\354\234\204\355\225\234_IOS_\354\225\261\352\260\234\353\260\234.md" "b/Sources/AriNote/TIL.docc/UIKit/210807_\354\231\225\354\264\210\353\263\264\353\245\274_\354\234\204\355\225\234_IOS_\354\225\261\352\260\234\353\260\234.md" similarity index 64% rename from "UIKit/210807_\354\231\225\354\264\210\353\263\264\353\245\274_\354\234\204\355\225\234_IOS_\354\225\261\352\260\234\353\260\234.md" rename to "Sources/AriNote/TIL.docc/UIKit/210807_\354\231\225\354\264\210\353\263\264\353\245\274_\354\234\204\355\225\234_IOS_\354\225\261\352\260\234\353\260\234.md" index 2ff9da7..9ba3942 100644 --- "a/UIKit/210807_\354\231\225\354\264\210\353\263\264\353\245\274_\354\234\204\355\225\234_IOS_\354\225\261\352\260\234\353\260\234.md" +++ "b/Sources/AriNote/TIL.docc/UIKit/210807_\354\231\225\354\264\210\353\263\264\353\245\274_\354\234\204\355\225\234_IOS_\354\225\261\352\260\234\353\260\234.md" @@ -1,9 +1,9 @@ # 210807 왕초보를 위한 IOS 앱개발 # TIL (Today I Learned) -날짜: 2021년 8월 7일 -작성자: 이아리 -태그: Alerts, Bulid, Simulator, Swift, Xcode, iOS, 야곰닷넷 +날짜: 2021년 8월 7일 +작성자: 이아리 +태그: Alerts, Bulid, Simulator, Swift, Xcode, iOS, 야곰닷넷 ## 학습내용 @@ -48,51 +48,51 @@ ## 비교연산자 - ![ex_screenshot](/img/7.png) + ![ex_screenshot](https://github.com/user-attachments/assets/bb5992a1-e249-4869-b179-94776c1fc9de) ## 문자열 보간법 문자를 다른값과 합성을 한다. 혹은 문자에 포함된 변수의 실제 값을 치환하여 넣는 것 - ![ex_screenshot](/img/9.png) + ![ex_screenshot](https://github.com/user-attachments/assets/e113d97f-ba19-4e9c-9244-f2210525b319) ## return문 return문을 넣으면 함수를 바로 끝낼 수 있다. (아래 return문 다음 아래에 있는 if문은 실행되지 않음) - ![ex_screenshot](/img/10.png) + ![ex_screenshot](https://github.com/user-attachments/assets/9645d991-f132-4b45-9952-5f7879b5c379) ## 조건문 if문에는 else if로 또다른 조건을 추가할 수 있다. - ![ex_screenshot](/img/11.png) + ![ex_screenshot](https://github.com/user-attachments/assets/fabb549f-6e46-411a-90a4-dfde603dcd3c) ## 초기화 변수(var)는 새로 초기화하여 변경이 가능하다! - ![ex_screenshot](/img/12.png) + ![ex_screenshot](https://github.com/user-attachments/assets/74e2abc4-6ea0-437a-8801-b1d6f5c71761) ## 알림창 Alert 만들기 - ![ex_screenshot](/img/13.png) + ![ex_screenshot](https://github.com/user-attachments/assets/1d51a696-6325-4462-a8aa-3b05fdd3ac27) ## 또 다른 ViewController 생성하는 방법. - ![ex_screenshot](/img/14.png) + ![ex_screenshot](https://github.com/user-attachments/assets/c5c0ef35-cac9-4ac1-948a-713c8635a0c2) - ![ex_screenshot](/img/15.png) + ![ex_screenshot](https://github.com/user-attachments/assets/aedb68d7-62ff-453c-826b-ff7e8138de84) File > File… > Cocoa Touch Class 로 진입 - ![ex_screenshot](/img/16.png) + ![ex_screenshot](https://github.com/user-attachments/assets/910901b4-1cfc-496d-80ee-76e818167c14) Subclass of를 UIViewController로 변경해주고 Class 이름을 임의로 수정해준다. - ![ex_screenshot](/img/17.png) + ![ex_screenshot](https://github.com/user-attachments/assets/f8d53929-5f10-47d2-8570-314fc748c550) - ![ex_screenshot](/img/18.png) + ![ex_screenshot](https://github.com/user-attachments/assets/e662a18f-1cb1-4eb8-ada4-a3b5953c0719) 라이브러리에서 View Controller를 추가한다. @@ -104,29 +104,29 @@ 이제까지 배웠던 내용 다시 복습하는 느낌으로 새로운 info화면 구성해주기. - ![ex_screenshot](/img/19.png) + ![ex_screenshot](https://github.com/user-attachments/assets/731c471f-ee5d-4fc2-a602-c03696c8fd48) ## info 버튼 연결하기 (Storyboard Segue이용하여 화면 전환) - ![ex_screenshot](/img/20.png) + ![ex_screenshot](https://github.com/user-attachments/assets/7f6c2b8f-9020-4033-892d-dca8ba680604) Ctrl 누른 상태에서 Button을 전환할 화면으로 끌어당겨서 놓아주기. - ![ex_screenshot](/img/21.png) + ![ex_screenshot](https://github.com/user-attachments/assets/25915ffe-a5ea-484f-949a-146758a1d009) Present Modally 클릭 - ![ex_screenshot](/img/22.png) + ![ex_screenshot](https://github.com/user-attachments/assets/2daf053b-0430-4184-9d2e-31e5735fce27) Transition을 변경해보자. (전환 효과) ## 닫기버튼 구현하기 위해 함수 만들기. dismiss() - ![ex_screenshot](/img/23.png) + ![ex_screenshot](https://github.com/user-attachments/assets/0b69ca5d-142f-4c33-88fb-d91a88bb08be) ## 닫기를 구현한 함수, 버튼 액션 연결해주기 - ![ex_screenshot](/img/24.png) + ![ex_screenshot](https://github.com/user-attachments/assets/7c149d8d-b71a-49dd-8770-05319e048f73) ## Xcode의 환경설정 단축키 @@ -134,25 +134,25 @@ ## 내 기기에서 앱 실행하기전에 Xcode 설정에서 나의 Apple ID 추가하기 - ![ex_screenshot](/img/25.png) + ![ex_screenshot](https://github.com/user-attachments/assets/19986415-ad1b-4121-bb45-8947b564c965) Xcode 환경설정에 들어가서 Accounts 탭 클릭 나의 Apple ID를 등록해준다. - ![ex_screenshot](/img/26.png) + ![ex_screenshot](https://github.com/user-attachments/assets/fa175fa5-2d5e-4022-b50b-063323d4b7bd) UpDownGame 프로젝트 설정 > Signing & Capabilities으로 진입 후 Team을 등록한 Apple ID로 설정해준다. ## 내 기기에서 직접 실행해보기 - ![ex_screenshot](/img/27.png) + ![ex_screenshot](https://github.com/user-attachments/assets/5b68c291-3a93-4b91-8249-da9ab2d8c216) Window > Devices and Simulators - ![ex_screenshot](/img/28.png) + ![ex_screenshot](https://github.com/user-attachments/assets/5da31efc-65f6-4c42-9d22-615fb43c618b) - ![ex_screenshot](/img/29.png) + ![ex_screenshot](https://github.com/user-attachments/assets/7e8224f7-74f8-413e-8e48-9d729f6a71cd) 기기와 컴퓨터 케이블로 연결하면 아무것도 없던 Devices에서 내 폰이 뜬다. @@ -162,4 +162,4 @@ 정상적으로 실행되는지 확인해본다. - ![ex_screenshot](/img/8.jpeg) + ![ex_screenshot](https://github.com/user-attachments/assets/ee804904-9740-42f2-b8c5-26ebcdad87f1) diff --git "a/UIKit/211014_HIG,_\354\236\254\352\267\200\355\225\250\354\210\230,_\353\260\230\353\263\265\353\254\270,_Thread,_Serial_Queue,_Xcode_debugging.md" "b/Sources/AriNote/TIL.docc/UIKit/211014_HIG,_\354\236\254\352\267\200\355\225\250\354\210\230,_\353\260\230\353\263\265\353\254\270,_Thread,_Serial_Queue,_Xcode_debugging.md" similarity index 100% rename from "UIKit/211014_HIG,_\354\236\254\352\267\200\355\225\250\354\210\230,_\353\260\230\353\263\265\353\254\270,_Thread,_Serial_Queue,_Xcode_debugging.md" rename to "Sources/AriNote/TIL.docc/UIKit/211014_HIG,_\354\236\254\352\267\200\355\225\250\354\210\230,_\353\260\230\353\263\265\353\254\270,_Thread,_Serial_Queue,_Xcode_debugging.md" diff --git a/UIKit/211021_initalizer,_HIG,_Notification,_Alert,_Segue,_Storyboard.md b/Sources/AriNote/TIL.docc/UIKit/211021_initalizer,_HIG,_Notification,_Alert,_Segue,_Storyboard.md similarity index 100% rename from UIKit/211021_initalizer,_HIG,_Notification,_Alert,_Segue,_Storyboard.md rename to Sources/AriNote/TIL.docc/UIKit/211021_initalizer,_HIG,_Notification,_Alert,_Segue,_Storyboard.md diff --git a/UIKit/211022_ViewController,_Navigation_Controller,_Life_cycle.md b/Sources/AriNote/TIL.docc/UIKit/211022_ViewController,_Navigation_Controller,_Life_cycle.md similarity index 100% rename from UIKit/211022_ViewController,_Navigation_Controller,_Life_cycle.md rename to Sources/AriNote/TIL.docc/UIKit/211022_ViewController,_Navigation_Controller,_Life_cycle.md diff --git "a/UIKit/211023_Initialization,_MVC,_Notification_\353\263\265\354\212\265.md" "b/Sources/AriNote/TIL.docc/UIKit/211023_Initialization,_MVC,_Notification_\353\263\265\354\212\265.md" similarity index 100% rename from "UIKit/211023_Initialization,_MVC,_Notification_\353\263\265\354\212\265.md" rename to "Sources/AriNote/TIL.docc/UIKit/211023_Initialization,_MVC,_Notification_\353\263\265\354\212\265.md" diff --git a/UIKit/211025_UINavigationBar,_LocalizedError,_self,_Self,_protocol,_extension,_TypeCasting,_Optional,_dismiss.md b/Sources/AriNote/TIL.docc/UIKit/211025_UINavigationBar,_LocalizedError,_self,_Self,_protocol,_extension,_TypeCasting,_Optional,_dismiss.md similarity index 100% rename from UIKit/211025_UINavigationBar,_LocalizedError,_self,_Self,_protocol,_extension,_TypeCasting,_Optional,_dismiss.md rename to Sources/AriNote/TIL.docc/UIKit/211025_UINavigationBar,_LocalizedError,_self,_Self,_protocol,_extension,_TypeCasting,_Optional,_dismiss.md diff --git a/UIKit/211026_Device_Orientation,_NavigationViewController,_madal,_Gesture,_Naming.md b/Sources/AriNote/TIL.docc/UIKit/211026_Device_Orientation,_NavigationViewController,_madal,_Gesture,_Naming.md similarity index 100% rename from UIKit/211026_Device_Orientation,_NavigationViewController,_madal,_Gesture,_Naming.md rename to Sources/AriNote/TIL.docc/UIKit/211026_Device_Orientation,_NavigationViewController,_madal,_Gesture,_Naming.md diff --git a/UIKit/211028_UIStepper,_auto_layout,_prepare,_extension,_CustomStringConvertible,_NSBundle,_UIButton.md b/Sources/AriNote/TIL.docc/UIKit/211028_UIStepper,_auto_layout,_prepare,_extension,_CustomStringConvertible,_NSBundle,_UIButton.md similarity index 100% rename from UIKit/211028_UIStepper,_auto_layout,_prepare,_extension,_CustomStringConvertible,_NSBundle,_UIButton.md rename to Sources/AriNote/TIL.docc/UIKit/211028_UIStepper,_auto_layout,_prepare,_extension,_CustomStringConvertible,_NSBundle,_UIButton.md diff --git a/UIKit/211029_ViewController,_Life_Cycle,_NotificationCenter,_deinit,_Bundle,_preview.md b/Sources/AriNote/TIL.docc/UIKit/211029_ViewController,_Life_Cycle,_NotificationCenter,_deinit,_Bundle,_preview.md similarity index 100% rename from UIKit/211029_ViewController,_Life_Cycle,_NotificationCenter,_deinit,_Bundle,_preview.md rename to Sources/AriNote/TIL.docc/UIKit/211029_ViewController,_Life_Cycle,_NotificationCenter,_deinit,_Bundle,_preview.md diff --git a/UIKit/211030_Auto_Layout.md b/Sources/AriNote/TIL.docc/UIKit/211030_Auto_Layout.md similarity index 100% rename from UIKit/211030_Auto_Layout.md rename to Sources/AriNote/TIL.docc/UIKit/211030_Auto_Layout.md diff --git a/UIKit/211101_KVO,_Property_Observer,_prepare,_loadViewIfNeeded,_NSObject,_UML,_Auto_Layout.md b/Sources/AriNote/TIL.docc/UIKit/211101_KVO,_Property_Observer,_prepare,_loadViewIfNeeded,_NSObject,_UML,_Auto_Layout.md similarity index 100% rename from UIKit/211101_KVO,_Property_Observer,_prepare,_loadViewIfNeeded,_NSObject,_UML,_Auto_Layout.md rename to Sources/AriNote/TIL.docc/UIKit/211101_KVO,_Property_Observer,_prepare,_loadViewIfNeeded,_NSObject,_UML,_Auto_Layout.md diff --git a/UIKit/211102_loadViewIfNeeded,_adjustsFontForContentSizeCategory,_adjustsFontSizeToFitWidth,_UIButton,_NavigationViewController,_removearrangedsubview.md b/Sources/AriNote/TIL.docc/UIKit/211102_loadViewIfNeeded,_adjustsFontForContentSizeCategory,_adjustsFontSizeToFitWidth,_UIButton,_NavigationViewController,_removearrangedsubview.md similarity index 100% rename from UIKit/211102_loadViewIfNeeded,_adjustsFontForContentSizeCategory,_adjustsFontSizeToFitWidth,_UIButton,_NavigationViewController,_removearrangedsubview.md rename to Sources/AriNote/TIL.docc/UIKit/211102_loadViewIfNeeded,_adjustsFontForContentSizeCategory,_adjustsFontSizeToFitWidth,_UIButton,_NavigationViewController,_removearrangedsubview.md diff --git a/UIKit/211103_TDD,_Unit_Test,_TableView.md b/Sources/AriNote/TIL.docc/UIKit/211103_TDD,_Unit_Test,_TableView.md similarity index 100% rename from UIKit/211103_TDD,_Unit_Test,_TableView.md rename to Sources/AriNote/TIL.docc/UIKit/211103_TDD,_Unit_Test,_TableView.md diff --git a/UIKit/211104_TDD,_Unit_Test,_@discardableResult,_Cell_Style,_dropLast(),_removeLast(),_popLast().md b/Sources/AriNote/TIL.docc/UIKit/211104_TDD,_Unit_Test,_@discardableResult,_Cell_Style,_dropLast(),_removeLast(),_popLast().md similarity index 100% rename from UIKit/211104_TDD,_Unit_Test,_@discardableResult,_Cell_Style,_dropLast(),_removeLast(),_popLast().md rename to Sources/AriNote/TIL.docc/UIKit/211104_TDD,_Unit_Test,_@discardableResult,_Cell_Style,_dropLast(),_removeLast(),_popLast().md diff --git "a/UIKit/211105_Outlet_Collection,_extension,_\355\227\230\353\202\234\355\225\234_\355\230\221\354\227\205_\352\263\274\354\240\225,_\354\235\264\354\234\240\354\231\200_\352\267\274\352\261\260.md" "b/Sources/AriNote/TIL.docc/UIKit/211105_Outlet_Collection,_extension,_\355\227\230\353\202\234\355\225\234_\355\230\221\354\227\205_\352\263\274\354\240\225,_\354\235\264\354\234\240\354\231\200_\352\267\274\352\261\260.md" similarity index 100% rename from "UIKit/211105_Outlet_Collection,_extension,_\355\227\230\353\202\234\355\225\234_\355\230\221\354\227\205_\352\263\274\354\240\225,_\354\235\264\354\234\240\354\231\200_\352\267\274\352\261\260.md" rename to "Sources/AriNote/TIL.docc/UIKit/211105_Outlet_Collection,_extension,_\355\227\230\353\202\234\355\225\234_\355\230\221\354\227\205_\352\263\274\354\240\225,_\354\235\264\354\234\240\354\231\200_\352\267\274\352\261\260.md" diff --git a/UIKit/211116_Scroll_View,_Stack_View,_setContentOffset,_layoutIfNeeded,_setNeedsLayout.md b/Sources/AriNote/TIL.docc/UIKit/211116_Scroll_View,_Stack_View,_setContentOffset,_layoutIfNeeded,_setNeedsLayout.md similarity index 100% rename from UIKit/211116_Scroll_View,_Stack_View,_setContentOffset,_layoutIfNeeded,_setNeedsLayout.md rename to Sources/AriNote/TIL.docc/UIKit/211116_Scroll_View,_Stack_View,_setContentOffset,_layoutIfNeeded,_setNeedsLayout.md diff --git a/UIKit/211118_Functional_Programming,_Higher-order_function,_Main_Run_Loop,_Update_Cycle,_UIView,_attribute.md b/Sources/AriNote/TIL.docc/UIKit/211118_Functional_Programming,_Higher-order_function,_Main_Run_Loop,_Update_Cycle,_UIView,_attribute.md similarity index 100% rename from UIKit/211118_Functional_Programming,_Higher-order_function,_Main_Run_Loop,_Update_Cycle,_UIView,_attribute.md rename to Sources/AriNote/TIL.docc/UIKit/211118_Functional_Programming,_Higher-order_function,_Main_Run_Loop,_Update_Cycle,_UIView,_attribute.md diff --git a/UIKit/211119_viewDidLoad,_LocalizedError,_ScrollView_bar_hide,_addSubView,_IBInspectable,_cornerRadius,_viewWillLayoutSubviews,_private_extension.md b/Sources/AriNote/TIL.docc/UIKit/211119_viewDidLoad,_LocalizedError,_ScrollView_bar_hide,_addSubView,_IBInspectable,_cornerRadius,_viewWillLayoutSubviews,_private_extension.md similarity index 100% rename from UIKit/211119_viewDidLoad,_LocalizedError,_ScrollView_bar_hide,_addSubView,_IBInspectable,_cornerRadius,_viewWillLayoutSubviews,_private_extension.md rename to Sources/AriNote/TIL.docc/UIKit/211119_viewDidLoad,_LocalizedError,_ScrollView_bar_hide,_addSubView,_IBInspectable,_cornerRadius,_viewWillLayoutSubviews,_private_extension.md diff --git a/UIKit/211122_ARC,_OSLog,_debugPrint,_assert,_initializer,_scrollRectToVisible,_CGRect.md b/Sources/AriNote/TIL.docc/UIKit/211122_ARC,_OSLog,_debugPrint,_assert,_initializer,_scrollRectToVisible,_CGRect.md similarity index 100% rename from UIKit/211122_ARC,_OSLog,_debugPrint,_assert,_initializer,_scrollRectToVisible,_CGRect.md rename to Sources/AriNote/TIL.docc/UIKit/211122_ARC,_OSLog,_debugPrint,_assert,_initializer,_scrollRectToVisible,_CGRect.md diff --git a/UIKit/211123_App_Life_Cycle,_init(frame:),_init(coder:),_frame,_bounds,_IBOutlet_didSet,_updateViewConstraints.md b/Sources/AriNote/TIL.docc/UIKit/211123_App_Life_Cycle,_init(frame:),_init(coder:),_frame,_bounds,_IBOutlet_didSet,_updateViewConstraints.md similarity index 100% rename from UIKit/211123_App_Life_Cycle,_init(frame:),_init(coder:),_frame,_bounds,_IBOutlet_didSet,_updateViewConstraints.md rename to Sources/AriNote/TIL.docc/UIKit/211123_App_Life_Cycle,_init(frame:),_init(coder:),_frame,_bounds,_IBOutlet_didSet,_updateViewConstraints.md diff --git "a/UIKit/211125_Auto_Layout,_View_Life_Cycle,_StaticString,_fork\355\225\264\354\230\250_repository_\354\236\224\353\224\224\354\240\201\354\232\251\353\262\225.md" "b/Sources/AriNote/TIL.docc/UIKit/211125_Auto_Layout,_View_Life_Cycle,_StaticString,_fork\355\225\264\354\230\250_repository_\354\236\224\353\224\224\354\240\201\354\232\251\353\262\225.md" similarity index 100% rename from "UIKit/211125_Auto_Layout,_View_Life_Cycle,_StaticString,_fork\355\225\264\354\230\250_repository_\354\236\224\353\224\224\354\240\201\354\232\251\353\262\225.md" rename to "Sources/AriNote/TIL.docc/UIKit/211125_Auto_Layout,_View_Life_Cycle,_StaticString,_fork\355\225\264\354\230\250_repository_\354\236\224\353\224\224\354\240\201\354\232\251\353\262\225.md" diff --git a/UIKit/211126_App_Life_Cycle,_CFGetRetainCount,_README.md b/Sources/AriNote/TIL.docc/UIKit/211126_App_Life_Cycle,_CFGetRetainCount,_README.md similarity index 100% rename from UIKit/211126_App_Life_Cycle,_CFGetRetainCount,_README.md rename to Sources/AriNote/TIL.docc/UIKit/211126_App_Life_Cycle,_CFGetRetainCount,_README.md diff --git "a/UIKit/211203_TableView,_\353\267\260\354\235\230\354\236\254\354\202\254\354\232\251.md" "b/Sources/AriNote/TIL.docc/UIKit/211203_TableView,_\353\267\260\354\235\230\354\236\254\354\202\254\354\232\251.md" similarity index 100% rename from "UIKit/211203_TableView,_\353\267\260\354\235\230\354\236\254\354\202\254\354\232\251.md" rename to "Sources/AriNote/TIL.docc/UIKit/211203_TableView,_\353\267\260\354\235\230\354\236\254\354\202\254\354\232\251.md" diff --git "a/UIKit/211206_TableView_\355\231\234\353\217\231\355\225\231\354\212\265,_JSON,_API.md" "b/Sources/AriNote/TIL.docc/UIKit/211206_TableView_\355\231\234\353\217\231\355\225\231\354\212\265,_JSON,_API.md" similarity index 100% rename from "UIKit/211206_TableView_\355\231\234\353\217\231\355\225\231\354\212\265,_JSON,_API.md" rename to "Sources/AriNote/TIL.docc/UIKit/211206_TableView_\355\231\234\353\217\231\355\225\231\354\212\265,_JSON,_API.md" diff --git a/UIKit/211208_Navigation_Bar,_UIImageView,_NSMutableAttributedString,_addAttribute.md b/Sources/AriNote/TIL.docc/UIKit/211208_Navigation_Bar,_UIImageView,_NSMutableAttributedString,_addAttribute.md similarity index 100% rename from UIKit/211208_Navigation_Bar,_UIImageView,_NSMutableAttributedString,_addAttribute.md rename to Sources/AriNote/TIL.docc/UIKit/211208_Navigation_Bar,_UIImageView,_NSMutableAttributedString,_addAttribute.md diff --git "a/UIKit/211209_\353\267\260\354\235\230\354\236\254\354\202\254\354\232\251,_TableView,_xib,_celldidSelect,_Select\354\213\234_\355\232\214\354\203\211\353\260\260\352\262\275\354\240\234\352\261\260,_indexPathForSelectedRow.md" "b/Sources/AriNote/TIL.docc/UIKit/211209_\353\267\260\354\235\230\354\236\254\354\202\254\354\232\251,_TableView,_xib,_celldidSelect,_Select\354\213\234_\355\232\214\354\203\211\353\260\260\352\262\275\354\240\234\352\261\260,_indexPathForSelectedRow.md" similarity index 100% rename from "UIKit/211209_\353\267\260\354\235\230\354\236\254\354\202\254\354\232\251,_TableView,_xib,_celldidSelect,_Select\354\213\234_\355\232\214\354\203\211\353\260\260\352\262\275\354\240\234\352\261\260,_indexPathForSelectedRow.md" rename to "Sources/AriNote/TIL.docc/UIKit/211209_\353\267\260\354\235\230\354\236\254\354\202\254\354\232\251,_TableView,_xib,_celldidSelect,_Select\354\213\234_\355\232\214\354\203\211\353\260\260\352\262\275\354\240\234\352\261\260,_indexPathForSelectedRow.md" diff --git a/UIKit/211210_loadviewifneeded,_Storyboard_Reference.md b/Sources/AriNote/TIL.docc/UIKit/211210_loadviewifneeded,_Storyboard_Reference.md similarity index 100% rename from UIKit/211210_loadviewifneeded,_Storyboard_Reference.md rename to Sources/AriNote/TIL.docc/UIKit/211210_loadviewifneeded,_Storyboard_Reference.md diff --git a/UIKit/211214_static,_Factory_Pattern,_visibleViewController.md b/Sources/AriNote/TIL.docc/UIKit/211214_static,_Factory_Pattern,_visibleViewController.md similarity index 100% rename from UIKit/211214_static,_Factory_Pattern,_visibleViewController.md rename to Sources/AriNote/TIL.docc/UIKit/211214_static,_Factory_Pattern,_visibleViewController.md diff --git a/UIKit/211221_CollectionView,_Unit_Test.md b/Sources/AriNote/TIL.docc/UIKit/211221_CollectionView,_Unit_Test.md similarity index 100% rename from UIKit/211221_CollectionView,_Unit_Test.md rename to Sources/AriNote/TIL.docc/UIKit/211221_CollectionView,_Unit_Test.md diff --git a/UIKit/211222_UICollectionViewFlowLayout,_POP.md b/Sources/AriNote/TIL.docc/UIKit/211222_UICollectionViewFlowLayout,_POP.md similarity index 100% rename from UIKit/211222_UICollectionViewFlowLayout,_POP.md rename to Sources/AriNote/TIL.docc/UIKit/211222_UICollectionViewFlowLayout,_POP.md diff --git a/UIKit/211226_associated_type,_Responder_Chain,_Touch_Event,_Run_Loop.md b/Sources/AriNote/TIL.docc/UIKit/211226_associated_type,_Responder_Chain,_Touch_Event,_Run_Loop.md similarity index 100% rename from UIKit/211226_associated_type,_Responder_Chain,_Touch_Event,_Run_Loop.md rename to Sources/AriNote/TIL.docc/UIKit/211226_associated_type,_Responder_Chain,_Touch_Event,_Run_Loop.md diff --git a/UIKit/211227_Responder_Chain,_Touch_Event,_DispatchSemaphore.md b/Sources/AriNote/TIL.docc/UIKit/211227_Responder_Chain,_Touch_Event,_DispatchSemaphore.md similarity index 100% rename from UIKit/211227_Responder_Chain,_Touch_Event,_DispatchSemaphore.md rename to Sources/AriNote/TIL.docc/UIKit/211227_Responder_Chain,_Touch_Event,_DispatchSemaphore.md diff --git a/UIKit/220103_UICollectionView,_HTTP,_URLSession.md b/Sources/AriNote/TIL.docc/UIKit/220103_UICollectionView,_HTTP,_URLSession.md similarity index 100% rename from UIKit/220103_UICollectionView,_HTTP,_URLSession.md rename to Sources/AriNote/TIL.docc/UIKit/220103_UICollectionView,_HTTP,_URLSession.md diff --git "a/UIKit/220106_UISegmentedControl,_\354\230\244\355\224\210\353\247\210\354\274\223PR1\355\224\274\353\223\234\353\260\261.md" "b/Sources/AriNote/TIL.docc/UIKit/220106_UISegmentedControl,_\354\230\244\355\224\210\353\247\210\354\274\223PR1\355\224\274\353\223\234\353\260\261.md" similarity index 100% rename from "UIKit/220106_UISegmentedControl,_\354\230\244\355\224\210\353\247\210\354\274\223PR1\355\224\274\353\223\234\353\260\261.md" rename to "Sources/AriNote/TIL.docc/UIKit/220106_UISegmentedControl,_\354\230\244\355\224\210\353\247\210\354\274\223PR1\355\224\274\353\223\234\353\260\261.md" diff --git a/UIKit/220107_TableView,_CollectionViewListCell,_ContentOffset,_ContentInset.md b/Sources/AriNote/TIL.docc/UIKit/220107_TableView,_CollectionViewListCell,_ContentOffset,_ContentInset.md similarity index 100% rename from UIKit/220107_TableView,_CollectionViewListCell,_ContentOffset,_ContentInset.md rename to Sources/AriNote/TIL.docc/UIKit/220107_TableView,_CollectionViewListCell,_ContentOffset,_ContentInset.md diff --git a/UIKit/220110_FileManager,_iOS_File_System,_Multipart_form-data.md b/Sources/AriNote/TIL.docc/UIKit/220110_FileManager,_iOS_File_System,_Multipart_form-data.md similarity index 100% rename from UIKit/220110_FileManager,_iOS_File_System,_Multipart_form-data.md rename to Sources/AriNote/TIL.docc/UIKit/220110_FileManager,_iOS_File_System,_Multipart_form-data.md diff --git a/UIKit/220114_Implementing_Modern_Collection_Views_Custom.md b/Sources/AriNote/TIL.docc/UIKit/220114_Implementing_Modern_Collection_Views_Custom.md similarity index 100% rename from UIKit/220114_Implementing_Modern_Collection_Views_Custom.md rename to Sources/AriNote/TIL.docc/UIKit/220114_Implementing_Modern_Collection_Views_Custom.md diff --git "a/UIKit/220117_\354\212\244\354\234\204\355\224\204\355\212\270\354\235\230_\354\204\261\353\212\245_\354\235\264\355\225\264,_UIImagePickerController.md" "b/Sources/AriNote/TIL.docc/UIKit/220117_\354\212\244\354\234\204\355\224\204\355\212\270\354\235\230_\354\204\261\353\212\245_\354\235\264\355\225\264,_UIImagePickerController.md" similarity index 100% rename from "UIKit/220117_\354\212\244\354\234\204\355\224\204\355\212\270\354\235\230_\354\204\261\353\212\245_\354\235\264\355\225\264,_UIImagePickerController.md" rename to "Sources/AriNote/TIL.docc/UIKit/220117_\354\212\244\354\234\204\355\224\204\355\212\270\354\235\230_\354\204\261\353\212\245_\354\235\264\355\225\264,_UIImagePickerController.md" diff --git a/UIKit/220118_UITextField,_Keyboard,_UITextView,_ScrollView,_touchesBegan,_Recognizer,_UIImage.md b/Sources/AriNote/TIL.docc/UIKit/220118_UITextField,_Keyboard,_UITextView,_ScrollView,_touchesBegan,_Recognizer,_UIImage.md similarity index 100% rename from UIKit/220118_UITextField,_Keyboard,_UITextView,_ScrollView,_touchesBegan,_Recognizer,_UIImage.md rename to Sources/AriNote/TIL.docc/UIKit/220118_UITextField,_Keyboard,_UITextView,_ScrollView,_touchesBegan,_Recognizer,_UIImage.md diff --git a/UIKit/220120_UIAlertController,_KeyChain.md b/Sources/AriNote/TIL.docc/UIKit/220120_UIAlertController,_KeyChain.md similarity index 100% rename from UIKit/220120_UIAlertController,_KeyChain.md rename to Sources/AriNote/TIL.docc/UIKit/220120_UIAlertController,_KeyChain.md diff --git "a/UIKit/220121_selectedBackgroundView,_UIRefreshControl,_\355\224\274\353\223\234\353\260\261,_paging.md" "b/Sources/AriNote/TIL.docc/UIKit/220121_selectedBackgroundView,_UIRefreshControl,_\355\224\274\353\223\234\353\260\261,_paging.md" similarity index 100% rename from "UIKit/220121_selectedBackgroundView,_UIRefreshControl,_\355\224\274\353\223\234\353\260\261,_paging.md" rename to "Sources/AriNote/TIL.docc/UIKit/220121_selectedBackgroundView,_UIRefreshControl,_\355\224\274\353\223\234\353\260\261,_paging.md" diff --git "a/UIKit/220124_CoreData,_Dynamic_Type,_UIFontMetrics,_setCustomSpacing,_viewForZooming,_\353\215\260\354\235\264\355\204\260\353\262\240\354\235\264\354\212\244,_SQL.md" "b/Sources/AriNote/TIL.docc/UIKit/220124_CoreData,_Dynamic_Type,_UIFontMetrics,_setCustomSpacing,_viewForZooming,_\353\215\260\354\235\264\355\204\260\353\262\240\354\235\264\354\212\244,_SQL.md" similarity index 100% rename from "UIKit/220124_CoreData,_Dynamic_Type,_UIFontMetrics,_setCustomSpacing,_viewForZooming,_\353\215\260\354\235\264\355\204\260\353\262\240\354\235\264\354\212\244,_SQL.md" rename to "Sources/AriNote/TIL.docc/UIKit/220124_CoreData,_Dynamic_Type,_UIFontMetrics,_setCustomSpacing,_viewForZooming,_\353\215\260\354\235\264\355\204\260\353\262\240\354\235\264\354\212\244,_SQL.md" diff --git a/UIKit/220125_UITapGestureRecognizer,_UICollectionView.md b/Sources/AriNote/TIL.docc/UIKit/220125_UITapGestureRecognizer,_UICollectionView.md similarity index 100% rename from UIKit/220125_UITapGestureRecognizer,_UICollectionView.md rename to Sources/AriNote/TIL.docc/UIKit/220125_UITapGestureRecognizer,_UICollectionView.md diff --git a/UIKit/220127_UITextField,_Animation,_MVVM,_Observable,_UINavigationBarAppearance,_Appearance.md b/Sources/AriNote/TIL.docc/UIKit/220127_UITextField,_Animation,_MVVM,_Observable,_UINavigationBarAppearance,_Appearance.md similarity index 100% rename from UIKit/220127_UITextField,_Animation,_MVVM,_Observable,_UINavigationBarAppearance,_Appearance.md rename to Sources/AriNote/TIL.docc/UIKit/220127_UITextField,_Animation,_MVVM,_Observable,_UINavigationBarAppearance,_Appearance.md diff --git a/UIKit/220128_CoreData,_NSPredicate,_Relationship.md b/Sources/AriNote/TIL.docc/UIKit/220128_CoreData,_NSPredicate,_Relationship.md similarity index 100% rename from UIKit/220128_CoreData,_NSPredicate,_Relationship.md rename to Sources/AriNote/TIL.docc/UIKit/220128_CoreData,_NSPredicate,_Relationship.md diff --git "a/UIKit/220207_View_Drawing_Cycle,_UISplitViewController\354\235\264\353\241\240.md" "b/Sources/AriNote/TIL.docc/UIKit/220207_View_Drawing_Cycle,_UISplitViewController\354\235\264\353\241\240.md" similarity index 100% rename from "UIKit/220207_View_Drawing_Cycle,_UISplitViewController\354\235\264\353\241\240.md" rename to "Sources/AriNote/TIL.docc/UIKit/220207_View_Drawing_Cycle,_UISplitViewController\354\235\264\353\241\240.md" diff --git a/UIKit/220208_reloadRows,_cancelsTouchesInView,_translatesAutoresizingMaskIntoConstraints,_Array_Safe_Access,_barButtonSystemItem,_UISplitViewControllerDelegate.md b/Sources/AriNote/TIL.docc/UIKit/220208_reloadRows,_cancelsTouchesInView,_translatesAutoresizingMaskIntoConstraints,_Array_Safe_Access,_barButtonSystemItem,_UISplitViewControllerDelegate.md similarity index 100% rename from UIKit/220208_reloadRows,_cancelsTouchesInView,_translatesAutoresizingMaskIntoConstraints,_Array_Safe_Access,_barButtonSystemItem,_UISplitViewControllerDelegate.md rename to Sources/AriNote/TIL.docc/UIKit/220208_reloadRows,_cancelsTouchesInView,_translatesAutoresizingMaskIntoConstraints,_Array_Safe_Access,_barButtonSystemItem,_UISplitViewControllerDelegate.md diff --git a/UIKit/220210_Core_Graphics,_codegen,_returnsObjectsAsFaults,_NSFetchRequestResult,_Array_item_to_new_position.md b/Sources/AriNote/TIL.docc/UIKit/220210_Core_Graphics,_codegen,_returnsObjectsAsFaults,_NSFetchRequestResult,_Array_item_to_new_position.md similarity index 100% rename from UIKit/220210_Core_Graphics,_codegen,_returnsObjectsAsFaults,_NSFetchRequestResult,_Array_item_to_new_position.md rename to Sources/AriNote/TIL.docc/UIKit/220210_Core_Graphics,_codegen,_returnsObjectsAsFaults,_NSFetchRequestResult,_Array_item_to_new_position.md diff --git a/UIKit/220211_UIContextualAction,_UIAlertAction,_UIActivityViewController,_setSelected,_selectedBackgroundView,_actionSheet,_popoverPresentationController,_viewWillTransition.md b/Sources/AriNote/TIL.docc/UIKit/220211_UIContextualAction,_UIAlertAction,_UIActivityViewController,_setSelected,_selectedBackgroundView,_actionSheet,_popoverPresentationController,_viewWillTransition.md similarity index 100% rename from UIKit/220211_UIContextualAction,_UIAlertAction,_UIActivityViewController,_setSelected,_selectedBackgroundView,_actionSheet,_popoverPresentationController,_viewWillTransition.md rename to Sources/AriNote/TIL.docc/UIKit/220211_UIContextualAction,_UIAlertAction,_UIActivityViewController,_setSelected,_selectedBackgroundView,_actionSheet,_popoverPresentationController,_viewWillTransition.md diff --git a/UIKit/220214_Core_Animation,_CABasicAnimation,_append,_escaping,_UITableView-Crash,_UITextViewDelegate,_typingAttributes.md b/Sources/AriNote/TIL.docc/UIKit/220214_Core_Animation,_CABasicAnimation,_append,_escaping,_UITableView-Crash,_UITextViewDelegate,_typingAttributes.md similarity index 100% rename from UIKit/220214_Core_Animation,_CABasicAnimation,_append,_escaping,_UITableView-Crash,_UITextViewDelegate,_typingAttributes.md rename to Sources/AriNote/TIL.docc/UIKit/220214_Core_Animation,_CABasicAnimation,_append,_escaping,_UITableView-Crash,_UITextViewDelegate,_typingAttributes.md diff --git a/UIKit/220215_Dropbox,_weak_self,_escaping,_Delayed_Deallocation,_performBatchUpdate,_setEditing.md b/Sources/AriNote/TIL.docc/UIKit/220215_Dropbox,_weak_self,_escaping,_Delayed_Deallocation,_performBatchUpdate,_setEditing.md similarity index 100% rename from UIKit/220215_Dropbox,_weak_self,_escaping,_Delayed_Deallocation,_performBatchUpdate,_setEditing.md rename to Sources/AriNote/TIL.docc/UIKit/220215_Dropbox,_weak_self,_escaping,_Delayed_Deallocation,_performBatchUpdate,_setEditing.md diff --git a/UIKit/220222_UISearchController.md b/Sources/AriNote/TIL.docc/UIKit/220222_UISearchController.md similarity index 100% rename from UIKit/220222_UISearchController.md rename to Sources/AriNote/TIL.docc/UIKit/220222_UISearchController.md diff --git a/UIKit/220228_UserNotifications,_AppDelegate.md b/Sources/AriNote/TIL.docc/UIKit/220228_UserNotifications,_AppDelegate.md similarity index 100% rename from UIKit/220228_UserNotifications,_AppDelegate.md rename to Sources/AriNote/TIL.docc/UIKit/220228_UserNotifications,_AppDelegate.md diff --git a/UIKit/220307_High_Performance_Auto_Layout,_RxSwift,_Single,_DTO.md b/Sources/AriNote/TIL.docc/UIKit/220307_High_Performance_Auto_Layout,_RxSwift,_Single,_DTO.md similarity index 100% rename from UIKit/220307_High_Performance_Auto_Layout,_RxSwift,_Single,_DTO.md rename to Sources/AriNote/TIL.docc/UIKit/220307_High_Performance_Auto_Layout,_RxSwift,_Single,_DTO.md diff --git a/UIKit/220318_UIStoryboard,_Spell_checking_in_Xcode,_Quick_help.md b/Sources/AriNote/TIL.docc/UIKit/220318_UIStoryboard,_Spell_checking_in_Xcode,_Quick_help.md similarity index 100% rename from UIKit/220318_UIStoryboard,_Spell_checking_in_Xcode,_Quick_help.md rename to Sources/AriNote/TIL.docc/UIKit/220318_UIStoryboard,_Spell_checking_in_Xcode,_Quick_help.md diff --git "a/UIKit/220520_URLSession,_NSCache,_\354\205\200_\354\236\254\354\202\254\354\232\251.md" "b/Sources/AriNote/TIL.docc/UIKit/220520_URLSession,_NSCache,_\354\205\200_\354\236\254\354\202\254\354\232\251.md" similarity index 100% rename from "UIKit/220520_URLSession,_NSCache,_\354\205\200_\354\236\254\354\202\254\354\232\251.md" rename to "Sources/AriNote/TIL.docc/UIKit/220520_URLSession,_NSCache,_\354\205\200_\354\236\254\354\202\254\354\232\251.md" diff --git a/UIKit/220711_ARC,_dismiss,_popViewController,_memory_leak.md b/Sources/AriNote/TIL.docc/UIKit/220711_ARC,_dismiss,_popViewController,_memory_leak.md similarity index 100% rename from UIKit/220711_ARC,_dismiss,_popViewController,_memory_leak.md rename to Sources/AriNote/TIL.docc/UIKit/220711_ARC,_dismiss,_popViewController,_memory_leak.md diff --git a/UIKit/230710_addSubview_ReferenceCount.md b/Sources/AriNote/TIL.docc/UIKit/230710_addSubview_ReferenceCount.md similarity index 100% rename from UIKit/230710_addSubview_ReferenceCount.md rename to Sources/AriNote/TIL.docc/UIKit/230710_addSubview_ReferenceCount.md diff --git a/UIKit/230904_keyboardLayoutGuide.md b/Sources/AriNote/TIL.docc/UIKit/230904_keyboardLayoutGuide.md similarity index 100% rename from UIKit/230904_keyboardLayoutGuide.md rename to Sources/AriNote/TIL.docc/UIKit/230904_keyboardLayoutGuide.md diff --git a/UIKit/230911_openNotificationSettingsURLString.md b/Sources/AriNote/TIL.docc/UIKit/230911_openNotificationSettingsURLString.md similarity index 100% rename from UIKit/230911_openNotificationSettingsURLString.md rename to Sources/AriNote/TIL.docc/UIKit/230911_openNotificationSettingsURLString.md diff --git a/UIKit/230915_UIImage_withTintColor_renderingMode.md b/Sources/AriNote/TIL.docc/UIKit/230915_UIImage_withTintColor_renderingMode.md similarity index 100% rename from UIKit/230915_UIImage_withTintColor_renderingMode.md rename to Sources/AriNote/TIL.docc/UIKit/230915_UIImage_withTintColor_renderingMode.md diff --git a/UIKit/231201_AVPlayer,_waitingToPlayAtSpecifiedRate,_waitingToPlayAtSpecifiedRate.md b/Sources/AriNote/TIL.docc/UIKit/231201_AVPlayer,_waitingToPlayAtSpecifiedRate,_waitingToPlayAtSpecifiedRate.md similarity index 100% rename from UIKit/231201_AVPlayer,_waitingToPlayAtSpecifiedRate,_waitingToPlayAtSpecifiedRate.md rename to Sources/AriNote/TIL.docc/UIKit/231201_AVPlayer,_waitingToPlayAtSpecifiedRate,_waitingToPlayAtSpecifiedRate.md diff --git a/UIKit/240227_PhotoKit,_PHPickerViewController,_PHPickerConfiguration,_PHAssetCollection.md b/Sources/AriNote/TIL.docc/UIKit/240227_PhotoKit,_PHPickerViewController,_PHPickerConfiguration,_PHAssetCollection.md similarity index 100% rename from UIKit/240227_PhotoKit,_PHPickerViewController,_PHPickerConfiguration,_PHAssetCollection.md rename to Sources/AriNote/TIL.docc/UIKit/240227_PhotoKit,_PHPickerViewController,_PHPickerConfiguration,_PHAssetCollection.md diff --git a/Sources/AriNote/TIL.docc/Xcode.md b/Sources/AriNote/TIL.docc/Xcode.md new file mode 100644 index 0000000..523fc28 --- /dev/null +++ b/Sources/AriNote/TIL.docc/Xcode.md @@ -0,0 +1,19 @@ +# Xcode + +언젠가.... 좋아질거지 Xcode...? + +@Metadata { + @TitleHeading("Overview") +} + +## Overview + +d + +## Topics +- +- +- +- +- +- \ No newline at end of file diff --git a/Xcode/211015_LLDB,_GCD,_Thread,_Serial_Queue,_Async.md b/Sources/AriNote/TIL.docc/Xcode/211015_LLDB,_GCD,_Thread,_Serial_Queue,_Async.md similarity index 100% rename from Xcode/211015_LLDB,_GCD,_Thread,_Serial_Queue,_Async.md rename to Sources/AriNote/TIL.docc/Xcode/211015_LLDB,_GCD,_Thread,_Serial_Queue,_Async.md diff --git a/Xcode/211115_LLDB,_Complie,_Build,_Link,_split,_components,_import,_get.md b/Sources/AriNote/TIL.docc/Xcode/211115_LLDB,_Complie,_Build,_Link,_split,_components,_import,_get.md similarity index 100% rename from Xcode/211115_LLDB,_Complie,_Build,_Link,_split,_components,_import,_get.md rename to Sources/AriNote/TIL.docc/Xcode/211115_LLDB,_Complie,_Build,_Link,_split,_components,_import,_get.md diff --git "a/Xcode/211213_Accessibility,_Dynamic_Type,_Voice_over,_fatalError,_\355\225\250\354\210\230\355\230\225_\355\224\204\353\241\234\352\267\270\353\236\230\353\260\215,_Vim.md" "b/Sources/AriNote/TIL.docc/Xcode/211213_Accessibility,_Dynamic_Type,_Voice_over,_fatalError,_\355\225\250\354\210\230\355\230\225_\355\224\204\353\241\234\352\267\270\353\236\230\353\260\215,_Vim.md" similarity index 100% rename from "Xcode/211213_Accessibility,_Dynamic_Type,_Voice_over,_fatalError,_\355\225\250\354\210\230\355\230\225_\355\224\204\353\241\234\352\267\270\353\236\230\353\260\215,_Vim.md" rename to "Sources/AriNote/TIL.docc/Xcode/211213_Accessibility,_Dynamic_Type,_Voice_over,_fatalError,_\355\225\250\354\210\230\355\230\225_\355\224\204\353\241\234\352\267\270\353\236\230\353\260\215,_Vim.md" diff --git "a/Xcode/211220_\354\235\230\354\241\264\354\204\261_\352\264\200\353\246\254\353\217\204\352\265\254,_\354\230\244\355\224\210\354\206\214\354\212\244.md" "b/Sources/AriNote/TIL.docc/Xcode/211220_\354\235\230\354\241\264\354\204\261_\352\264\200\353\246\254\353\217\204\352\265\254,_\354\230\244\355\224\210\354\206\214\354\212\244.md" similarity index 100% rename from "Xcode/211220_\354\235\230\354\241\264\354\204\261_\352\264\200\353\246\254\353\217\204\352\265\254,_\354\230\244\355\224\210\354\206\214\354\212\244.md" rename to "Sources/AriNote/TIL.docc/Xcode/211220_\354\235\230\354\241\264\354\204\261_\352\264\200\353\246\254\353\217\204\352\265\254,_\354\230\244\355\224\210\354\206\214\354\212\244.md" diff --git a/Xcode/220321_App_Distribution,_Hashable.md b/Sources/AriNote/TIL.docc/Xcode/220321_App_Distribution,_Hashable.md similarity index 100% rename from Xcode/220321_App_Distribution,_Hashable.md rename to Sources/AriNote/TIL.docc/Xcode/220321_App_Distribution,_Hashable.md diff --git a/Xcode/240104_UserDefaults,_Xcode_Find_and_Replace_Regular_Expression.md b/Sources/AriNote/TIL.docc/Xcode/240104_UserDefaults,_Xcode_Find_and_Replace_Regular_Expression.md similarity index 100% rename from Xcode/240104_UserDefaults,_Xcode_Find_and_Replace_Regular_Expression.md rename to Sources/AriNote/TIL.docc/Xcode/240104_UserDefaults,_Xcode_Find_and_Replace_Regular_Expression.md diff --git a/Sources/AriNote/TIL.swift b/Sources/AriNote/TIL.swift new file mode 100644 index 0000000..08b22b8 --- /dev/null +++ b/Sources/AriNote/TIL.swift @@ -0,0 +1,2 @@ +// The Swift Programming Language +// https://docs.swift.org/swift-book diff --git a/Sources/Scripts/main.swift b/Sources/Scripts/main.swift new file mode 100644 index 0000000..1af6a29 --- /dev/null +++ b/Sources/Scripts/main.swift @@ -0,0 +1,67 @@ +// The Swift Programming Language +// https://docs.swift.org/swift-book + +import Foundation + +@MainActor +struct MarkdownUpdater { + // MARK: - Constants + private let basePath = "Sources/AriNote/TIL.docc/" + private let fileManager = FileManager.default + + // MARK: - Helper Functions + private func getMarkdownFiles(in path: String) throws -> [String] { + let items = try fileManager.contentsOfDirectory(atPath: path) + return items.filter { $0.hasSuffix(".md") && $0 != "TIL.md" } + } + + private func getSortedFiles(in directoryPath: String) throws -> [String] { + let directoryContents = try fileManager.contentsOfDirectory(atPath: directoryPath) + return directoryContents + .filter { $0.range(of: "^\\d{6}", options: .regularExpression) != nil } + .sorted { String($0.prefix(6)) > String($1.prefix(6)) } + } + + private func updateTopicsSection(in content: inout String, with files: [String]) { + if let topicsRange = content.range(of: "## Topics") { + content = String(content[..