@@ -9,6 +9,7 @@ import Foundation
99
1010
1111struct FolderData : Codable {
12+ var favorite : String
1213 var list : [ BookmarkData ]
1314}
1415
@@ -18,14 +19,16 @@ struct BookmarkData: Codable {
1819}
1920
2021struct DefaultDataLoader {
22+ static var defaultURL = URL ( string: " https://github.com/42Box/iOS/blob/main/HowToUse.md#-how-to-use " ) !
2123 static let defaultData = [
22- Folder ( id: UUID ( ) , name: " 42 폴더 " , bookmarks: [
23- Bookmark ( id: UUID ( ) , name: " 42 Intra " , url: URL ( string: " https://profile.intra.42.fr/ " ) !) ,
24- Bookmark ( id: UUID ( ) , name: " 42Where " , url: URL ( string: " https://www.where42.kr/ " ) ! ) ,
25- Bookmark ( id: UUID ( ) , name: " 42Stat " , url: URL ( string: " https://stat.42seoul.kr/ " ) !) ,
26- Bookmark ( id: UUID ( ) , name: " 집현전 " , url: URL ( string: " https://42library.kr/ " ) !) ,
27- Bookmark ( id: UUID ( ) , name: " 42gg " , url: URL ( string: " https://gg.42seoul.kr/ " ) !) ,
28- Bookmark ( id: UUID ( ) , name: " 24HANE " , url: URL ( string: " https://24hoursarenotenough.42seoul.kr/ " ) !)
24+ Folder ( id: UUID ( ) , name: " 42Box " , bookmarks: [
25+ Bookmark ( id: UUID ( ) , name: " How to use 42Box " , url: URL ( string: " https://github.com/42Box/iOS/blob/main/HowToUse.md#-how-to-use " ) !) ,
26+ // Bookmark(id: UUID(), name: "42 Intra", url: URL(string: "https://profile.intra.42.fr/")!),
27+ // Bookmark(id: UUID(), name: "42Where", url: URL(string: "https://www.where42.kr/")! ),
28+ // Bookmark(id: UUID(), name: "42Stat", url: URL(string: "https://stat.42seoul.kr/")!),
29+ // Bookmark(id: UUID(), name: "집현전", url: URL(string: "https://42library.kr/")!),
30+ // Bookmark(id: UUID(), name: "42gg", url: URL(string: "https://gg.42seoul.kr/")!),
31+ // Bookmark(id: UUID(), name: "24HANE", url: URL(string: "https://24hoursarenotenough.42seoul.kr/")!)
2932 ] )
3033 ]
3134}
0 commit comments