From 7bea12fec4fed19a2929f659f00062fcdc71380e Mon Sep 17 00:00:00 2001 From: Aditya Anand Date: Sat, 9 Nov 2024 13:07:16 +0530 Subject: [PATCH 1/2] Updated function of the weatherButton --- Apps/OneBusAway/Assets.xcassets/.DS_Store | Bin 0 -> 8196 bytes .../AppIcon 1.appiconset/Contents.json | 35 ++++++++++++++++++ .../AppIcon.appiconset/.DS_Store | Bin 0 -> 6148 bytes 3 files changed, 35 insertions(+) create mode 100644 Apps/OneBusAway/Assets.xcassets/.DS_Store create mode 100644 Apps/OneBusAway/Assets.xcassets/AppIcon 1.appiconset/Contents.json create mode 100644 Apps/OneBusAway/Assets.xcassets/AppIcon.appiconset/.DS_Store diff --git a/Apps/OneBusAway/Assets.xcassets/.DS_Store b/Apps/OneBusAway/Assets.xcassets/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..3d538576f42374f198129a68b0a04a3a079abf5f GIT binary patch literal 8196 zcmeHMPfrs;6n_uVwj#RJim1_S(u)T~L}P3`Sc=A=CJ>7XqSkFY)YWBX-Cd|iNP51fT}H)0n318z%pPNunhc*4A7n}OZpf4zV5ZH zWxz79Eg6vc!KEr?(a4sTDs@n!jsPTk$*cR93IuzUJ+VQtu5EsTv0yJrexYipVG zf&9ty*DH^LMJ}ExW&lmvf`0wH-aaQy^4}G2%jJj%f;R{w<7GQ=U2u&@3Agcg)>VwZ z>8w?O5SYdG6|4{o1mbQ~0qxr#?9YW>%#$yZiR^@7?DNWcTN?2eN~Mxr0N81`i)O ze6-^1uX?pdjY!Uy2@!~>6fCh>zb1Iuf68VP_9T%?#mRQ~U1#-sKTI<#A^GHf7*wpw z5o3J55&8A0g@u?Uvm5le+uoCz_2~QJS|oyCTEu?h3qE%zrddCku*FHfAZYMqn(ylO0II6?P`*Wd;`gcW!JFX0uufp_p8 zKEqc`;Q;3GB%Z@@yn@&82HwL8hWHqlv8f~UwAbCS&0}GUp1Yb49cyma`u!&5#Lf8- zzL%SiV@Iw{LHjogX64+Ah`mRArHVEiDy< o8g(2esgC0$*Z*Nix=XGSQ#7)rC0VHaor?gw|10usvuzpp4jg^C2LJ#7 literal 0 HcmV?d00001 diff --git a/Apps/OneBusAway/Assets.xcassets/AppIcon 1.appiconset/Contents.json b/Apps/OneBusAway/Assets.xcassets/AppIcon 1.appiconset/Contents.json new file mode 100644 index 000000000..230588010 --- /dev/null +++ b/Apps/OneBusAway/Assets.xcassets/AppIcon 1.appiconset/Contents.json @@ -0,0 +1,35 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "tinted" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Apps/OneBusAway/Assets.xcassets/AppIcon.appiconset/.DS_Store b/Apps/OneBusAway/Assets.xcassets/AppIcon.appiconset/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..c21d749e12406a3a813550f7f03989cf459679c8 GIT binary patch literal 6148 zcmeHK%}N6?5T2>U){0W_;zigOu(Vohy=`kfc=iRPDn%()sNVPD$#?J-d_GV5%_Q3W zNp2z{Gmw0{$$UG>m+a1lhY5-a-{H>6cQmns3n=W1x$gzrhvS=4eHT=j;TYr_jfTx4?YY00_=RK>EN5xr!MV-6ZEH1$$wq_!@h47 z-(hqddnMlun$j)J;v?br5~G!4bR(n3hW|8u}8s0Hz)@hiHM>kATWxl_~J63VZ@_ Ck_0IL literal 0 HcmV?d00001 From 62bfd18fd106f920bd9d278cfd4df0f964d31eac Mon Sep 17 00:00:00 2001 From: Aditya Anand Date: Sun, 10 Nov 2024 16:42:00 +0530 Subject: [PATCH 2/2] Added the option to access Tutorial in the More page --- .DS_Store | Bin 0 -> 10244 bytes .../contents.xcworkspacedata | 7 +++++++ Apps/.DS_Store | Bin 0 -> 6148 bytes Apps/OneBusAway/.DS_Store | Bin 0 -> 8196 bytes OBAKit/Settings/MoreViewController.swift | 11 +++++++++++ OBAKit/Strings/en.lproj/Localizable.strings | 3 +++ OBAKitCore/.DS_Store | Bin 0 -> 8196 bytes .../Extensions/FoundationExtensions.swift | 9 +++++++++ OBAKitCore/Models/.DS_Store | Bin 0 -> 6148 bytes 9 files changed, 30 insertions(+) create mode 100644 .DS_Store create mode 100644 .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata create mode 100644 Apps/.DS_Store create mode 100644 Apps/OneBusAway/.DS_Store create mode 100644 OBAKitCore/.DS_Store create mode 100644 OBAKitCore/Models/.DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..33914a8967fdd7fcb1d25b67cdf18b0cf7cb5143 GIT binary patch literal 10244 zcmeHN&u<$=6n^7|+OCsko4BDWMY7~e55aYlfUr2=IEkvLw25LjP3RAIZEwty&5pIZ zjuWCt7DxCCxNzf)xN+cbK;puM1OGy=oZy?CwY$5HBY{dw(M+`SW@p~FGxP0xGyBFN zB39|PZWHB*D1}Q%Z4%iTNwkY=Bqf5H8;}fmTDN$!Vetm;wGnMqp%_pMCgsXLk^da)J6jDN25Mr<(a$pjU_Hv-#mr}xs`90$~LC-9RP*@Onu$-?>tSqI<6$6TaQ3gcp zK0(XW!Jiw8-jb2^Lu5jDaP1|sMfY~yj^7x@?w|K9@yLQX>V$rh?vOzTv_~dcWW-qc9vWd*CZpO^0ESbO_MCPiUQ1XpQbu zmDXa~VtnCVF46{7@Sg5sOkPa)kMnf@C+{jUf3tZQ*dP04V1K`BR{{%6r7vYBr!G%x zS7v6jGgoKk=CX5dUz?k~{?3iMHrvpf`)xyEOW;* zj=ZY*1)64JfGwl-^hH(exC5Q+iwggtcO1j8AGIB`wXwJ78s1K*y!)wsR2x2h+HE@A zvNpMEdM3AbANvFGjDvN1kE3%jn2nBTa<>h~g%pF0V0NBZdc&|b>$f7o=`<&cj|(-yX}Wm=_skOd%gjCdcO$~ z3TFam#XVNoTm&&m5Aoav-lVj&E|5)8j`k#MErNsTsiYWC3@8Q^18)uk7vxZL8OXKq zzyH5E6H+5p3@8TvHUn&8wYpjXY!H*jpCHcKbGV-25=rRwrSu`l{Ns2?|2Q5u;yB(v zUqD?EWj~=@76r(@lqey+`X2*=gEX9AsQ5p0usGl&7JH0|b)!*%h(96`=or+w(b_9G NJYG`qzxX%3zW^NRcAx+N literal 0 HcmV?d00001 diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 000000000..919434a62 --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Apps/.DS_Store b/Apps/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5c74243291e0aed3efbdb4eb3d595f2a8d8be329 GIT binary patch literal 6148 zcmeHKL2J}N6n?Y2HXEz32ZdgQ0k4a$TNR3zG;I$eBAB8Fl{GPo4aQ8_WDR9m$l3lF zul^GMizofw%v8GB3Z6vlJb3fXym@bu`QBtELqsB+r}u~kMAU~ec6<~U2=}wDNyl0| zpwMIFbV4OnbV$=RZ)f-y8Q|Pqqdkg|wV2N54|#l?t9MDR68P`}*@fQup#?Qw6i+Ba zrc-1+q&bx>|1T~7Eroo?^ShUfX-ruQZ~Qgu|t)w~Sj*(+`xDwQW^^*DKvP3y_v#-1vwI4hl{sJ9Lj`U(K-!K?*!{#E1{X)&(>f&O;IA_96FzK>?*IS* literal 0 HcmV?d00001 diff --git a/Apps/OneBusAway/.DS_Store b/Apps/OneBusAway/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..22033d3a6b7be11917bc6e542462f57a4f356b99 GIT binary patch literal 8196 zcmeHML66cv6n?{^&?QDpG~r^>#4AB$Hzs5+EQ<$ECX3O78f>Am)zT6Q;)alL*8kvN z@a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?e6BT>wKjxo1` zu}kWrU*1~2HrjS(lW{a7Upr%OFbS*GZz8jm-QLONtXv`Y#_7wM6Sl+Yq|pvuaqd(~ zuk$P2?z|YdvsUTWk@Um%z;^=$7<65jynZ?GyK>f$Q@=Y=SVtFFR^Dor%JcdDUUk>L zU#l*5?fF3s>HUM+VqxWP-@W(XS!?KxeEAXFKt%M3rlQVY#ym%f@xOBd-;+Lb%9tEI z0WTrVzz}YclFTcgh_iE@p2BYr=^^GRRQ?zMU7`L8j$4i6iogY!u|BLZzrXQ9_K!HS z0Ivwpw+kTI>nrpDE5=KoLc$c>k-XgHD-BN1>L6rC*fc)hjhDh5m YWlTNNORez+VlDy{4JI-S{8a{i0wQrU0ssI2 literal 0 HcmV?d00001 diff --git a/OBAKitCore/Extensions/FoundationExtensions.swift b/OBAKitCore/Extensions/FoundationExtensions.swift index 9ca811c08..b17e3262f 100644 --- a/OBAKitCore/Extensions/FoundationExtensions.swift +++ b/OBAKitCore/Extensions/FoundationExtensions.swift @@ -150,6 +150,15 @@ public extension Bundle { return URL(string: str) } + /// A helper method for accessing the bundle's Tutorial URL + var TutorialURL: URL? { + guard + let dict = OBAKitConfig, + let str = dict["TutorialURL"] as? String + else { return nil } + + return URL(string: str) + } var appDevelopersEmailAddress: String? { guard let dict = OBAKitConfig else { return nil } diff --git a/OBAKitCore/Models/.DS_Store b/OBAKitCore/Models/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..b8c02b713510d12a9e4f2d4037aed5d3a2418f4c GIT binary patch literal 6148 zcmeHKL2uJA6n^eHnsy-d0Ad%UNL;7Um0cz-U1=paAkZ?#0Z>WStV9cOm829@RmvIu z1Al=lzl8t73BG50Qkrf;To6KjlKnaM`<(dmvmFzW=+DM`L~SB+kQnPNWS1DXb6T^S zso4Sw)yFA)q(h1+q;$>OR#*kB0{@xHu)1XK2k7P3`{<-9Lv$v9J7Pd7B1 zPIJ`WUM%+aIy>(DZfCjUE)KdV?;muR%cgVd?!5;`qx1M(B0pgaFo7Ld*$smiz?!V- z@ZL+4SSAy+G4DDZLHUW9tt;oc#{T8Gu7fv3lpL?>s$$|xDJC3xj#%Ki9bn#a@+Qouxv!+U@=tAJI&Do|E{_Xih=v1hQ*sJ0Gd z>Iwj?qgolt{8PXj*I>_Jp%E=Gp{YPk73PW|G#&M>@#`5ZG-^5tbNLYF&BEMJgnB#r zca=Mdo<^Hn1*`(A3T)`dHlP2)tMC7-B>Q9)unPQF3W)l^8}ub=?xMa p`xP1$1(`XHRe_J