File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed
GitTime/Sources/ViewControllers/Trend Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 1469
1469
buildSettings = {
1470
1470
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1471
1471
CODE_SIGN_STYLE = Automatic;
1472
- CURRENT_PROJECT_VERSION = 1 ;
1472
+ CURRENT_PROJECT_VERSION = 2 ;
1473
1473
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1474
1474
DEVELOPMENT_TEAM = R46Q3HW9V3;
1475
1475
INFOPLIST_FILE = "GitTime/Supporting Files/Info.plist";
1478
1478
"$(inherited)",
1479
1479
"@executable_path/Frameworks",
1480
1480
);
1481
- MARKETING_VERSION = 1.2.0 ;
1481
+ MARKETING_VERSION = 1.2.1 ;
1482
1482
PRODUCT_BUNDLE_IDENTIFIER = io.github.87kangsw.GitTime;
1483
1483
PRODUCT_NAME = "$(TARGET_NAME)";
1484
1484
SWIFT_VERSION = 5.0;
1492
1492
buildSettings = {
1493
1493
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1494
1494
CODE_SIGN_STYLE = Automatic;
1495
- CURRENT_PROJECT_VERSION = 1 ;
1495
+ CURRENT_PROJECT_VERSION = 2 ;
1496
1496
DEVELOPMENT_TEAM = R46Q3HW9V3;
1497
1497
INFOPLIST_FILE = "GitTime/Supporting Files/Info.plist";
1498
1498
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
1499
1499
LD_RUNPATH_SEARCH_PATHS = (
1500
1500
"$(inherited)",
1501
1501
"@executable_path/Frameworks",
1502
1502
);
1503
- MARKETING_VERSION = 1.2.0 ;
1503
+ MARKETING_VERSION = 1.2.1 ;
1504
1504
PRODUCT_BUNDLE_IDENTIFIER = io.github.87kangsw.GitTime;
1505
1505
PRODUCT_NAME = "$(TARGET_NAME)";
1506
1506
SWIFT_VERSION = 5.0;
Original file line number Diff line number Diff line change @@ -213,22 +213,31 @@ final class TrendViewReactor: Reactor {
213
213
214
214
let name = item. xpath ( " .//div[@class='d-sm-flex flex-auto']/div[@class='col-sm-8 d-md-flex']/div[@class='col-md-6'][1]/h1 " )
215
215
let username = item. xpath ( " .//div[@class='d-sm-flex flex-auto']/div[@class='col-sm-8 d-md-flex']/div[@class='col-md-6'][1]/p " )
216
- let url = " https://github.com/ "
216
+ let url = " https://github.com "
217
217
let avatar = item. xpath ( " .//div[@class='mx-3']/a[@class='d-inline-block']/img[@class='rounded-1']/@src " )
218
218
219
- let repoName = item. xpath ( " //h1[@class='h4 lh-condensed'] " )
219
+ let repoName = item. xpath ( " . //h1[@class='h4 lh-condensed']" )
220
220
let repoURL = item. xpath ( " .//h1[@class='h4 lh-condensed']/a/@href " )
221
221
let repoDescription = item. xpath ( " .//div[@class='f6 text-gray mt-1'] " )
222
+ let relativeURL = item. xpath ( " .//div[@class='d-sm-flex flex-auto']/div[@class='col-sm-8 d-md-flex']/div[@class='col-md-6'][1]/h1/a/@href " )
222
223
223
224
if let name = name. first? . text? . striped {
224
225
trendDeveloper. name = name
225
226
}
226
227
228
+ if let relativeURL = relativeURL. first? . text? . striped {
229
+ trendDeveloper. url = " \( url) \( relativeURL) "
230
+ log. debug ( trendDeveloper. url)
231
+ }
232
+
227
233
if let userName = username. first? . text? . striped {
228
234
trendDeveloper. userName = userName
229
- trendDeveloper. url = " \( url) \( userName) "
235
+ // trendDeveloper.url = "\(url)\(userName)"
230
236
}
231
237
238
+
239
+
240
+
232
241
if let profileURL = avatar. first? . text? . striped {
233
242
trendDeveloper. profileURL = profileURL
234
243
}
You can’t perform that action at this time.
0 commit comments