Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcf1dc69

Browse files
committed
增加应用推荐列表
1 parentfc64176 commitcf1dc69

File tree

7 files changed

+373
-3
lines changed

7 files changed

+373
-3
lines changed

‎iLeetcode/iLeetcode.xcodeproj/project.pbxproj

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@
7171
6D50FFEC2245303900E114EE /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6D50FFEB2245303900E114EE /* Assets.xcassets */; };
7272
6D50FFEF2245303900E114EE /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6D50FFED2245303900E114EE /* LaunchScreen.storyboard */; };
7373
6D50FFFA2245303900E114EE /* iLeetcodeTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D50FFF92245303900E114EE /* iLeetcodeTests.swift */; };
74+
6D79466222773A1E00887F2D /* ITAdvancelDetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D79466122773A1E00887F2D /* ITAdvancelDetailViewController.swift */; };
75+
6D79466422773A7700887F2D /* iHTCboyApp.json in Resources */ = {isa = PBXBuildFile; fileRef = 6D79466322773A7700887F2D /* iHTCboyApp.json */; };
76+
6D79466722773A9E00887F2D /* TableHeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D79466522773A9E00887F2D /* TableHeaderView.swift */; };
77+
6D79466822773A9E00887F2D /* TableHeaderView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 6D79466622773A9E00887F2D /* TableHeaderView.xib */; };
7478
6DC7CFD1226C01D900F2CC10 /* iLeetCoder.css in Resources */ = {isa = PBXBuildFile; fileRef = 6DC7CFCF226C01D800F2CC10 /* iLeetCoder.css */; };
7579
6DC7CFD2226C01D900F2CC10 /* iLeetCoder.html in Resources */ = {isa = PBXBuildFile; fileRef = 6DC7CFD0226C01D800F2CC10 /* iLeetCoder.html */; };
7680
6DC7CFD5226C1BB600F2CC10 /* IAppleServiceUtil.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6DC7CFD4226C1BB600F2CC10 /* IAppleServiceUtil.swift */; };
@@ -191,6 +195,10 @@
191195
6D50FFF52245303900E114EE /* iLeetcodeTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = iLeetcodeTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
192196
6D50FFF92245303900E114EE /* iLeetcodeTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = iLeetcodeTests.swift; sourceTree = "<group>"; };
193197
6D50FFFB2245303900E114EE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
198+
6D79466122773A1E00887F2D /* ITAdvancelDetailViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ITAdvancelDetailViewController.swift; sourceTree = "<group>"; };
199+
6D79466322773A7700887F2D /* iHTCboyApp.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = iHTCboyApp.json; sourceTree = "<group>"; };
200+
6D79466522773A9E00887F2D /* TableHeaderView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableHeaderView.swift; sourceTree = "<group>"; };
201+
6D79466622773A9E00887F2D /* TableHeaderView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = TableHeaderView.xib; sourceTree = "<group>"; };
194202
6DC7CFCF226C01D800F2CC10 /* iLeetCoder.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = iLeetCoder.css; sourceTree = "<group>"; };
195203
6DC7CFD0226C01D800F2CC10 /* iLeetCoder.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = iLeetCoder.html; sourceTree = "<group>"; };
196204
6DC7CFD3226C04E000F2CC10 /* iLeetcode.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = iLeetcode.entitlements; sourceTree = "<group>"; };
@@ -295,6 +303,7 @@
295303
6DC7CFE7226C90FE00F2CC10 /* IHTCSearchViewController.swift */,
296304
6DC7CFE5226C90FD00F2CC10 /* IHTCSearchViewController.xib */,
297305
6DC7CFE6226C90FD00F2CC10 /* IHTCSearchDetailVC.swift */,
306+
6D79466122773A1E00887F2D /* ITAdvancelDetailViewController.swift */,
298307
6D4ABD3A225088660022AAFC /* ITProgrammerVC.swift */,
299308
6D053EB0226DF78D006D55B6 /* IHTCLanguageSettingVC.swift */,
300309
6D4ABD39225088660022AAFC /* ITAboutAppVC.swift */,
@@ -316,6 +325,8 @@
316325
isa = PBXGroup;
317326
children = (
318327
6D4ABD56225088D00022AAFC /* ITPageView */,
328+
6D79466522773A9E00887F2D /* TableHeaderView.swift */,
329+
6D79466622773A9E00887F2D /* TableHeaderView.xib */,
319330
6D4ABD54225088D00022AAFC /* ITQuestionListViewCell.swift */,
320331
6D4ABD59225088D00022AAFC /* ITQuestionListViewCell.xib */,
321332
6D4ABD53225088D00022AAFC /* ITQuestionDetailViewCell.swift */,
@@ -371,6 +382,7 @@
371382
6D4ABD74225088FD0022AAFC /* Resource */ = {
372383
isa = PBXGroup;
373384
children = (
385+
6D79466322773A7700887F2D /* iHTCboyApp.json */,
374386
6D4ABD75225088FD0022AAFC /* Images */,
375387
6D4ABD89225088FD0022AAFC /* Documents */,
376388
6D4ABDE4225088FE0022AAFC /* Thirdparty */,
@@ -639,6 +651,7 @@
639651
6D4ABE8D22509BD40022AAFC /* App-LaunchScreen-Image.png in Resources */,
640652
6D4ABDF7225088FE0022AAFC /* italkerman_gray@2x.png in Resources */,
641653
6D4ABD5F225088D00022AAFC /* ITQuestionDetailViewCell.xib in Resources */,
654+
6D79466822773A9E00887F2D /* TableHeaderView.xib in Resources */,
642655
6D4ABDFC225088FE0022AAFC /* Tags_selected@2x.png in Resources */,
643656
6DC7CFE4226C255400F2CC10 /* iLeetCoder-qrcode.png in Resources */,
644657
6D4ABE922250E03A0022AAFC /* iLeetCoder-Question.json in Resources */,
@@ -648,6 +661,7 @@
648661
6D4ABDF6225088FE0022AAFC /* company_tabbar_selected@3x.png in Resources */,
649662
6D4ABE03225088FE0022AAFC /* iTalkerman_blue@2x.png in Resources */,
650663
6D4ABDF8225088FE0022AAFC /* language_tabbar_selected@3x.png in Resources */,
664+
6D79466422773A7700887F2D /* iHTCboyApp.json in Resources */,
651665
6D4ABD47225088660022AAFC /* ITAboutAppVC.xib in Resources */,
652666
6D4ABE04225088FE0022AAFC /* company_tabbar_normal@3x.png in Resources */,
653667
6D4ABDF4225088FE0022AAFC /* italkerman_gray@3x.png in Resources */,
@@ -751,6 +765,7 @@
751765
6D4ABD61225088D00022AAFC /* ITQuestionListViewCell.swift in Sources */,
752766
6D4ABD64225088D00022AAFC /* ITPageContentView.swift in Sources */,
753767
6DC7CFD5226C1BB600F2CC10 /* IAppleServiceUtil.swift in Sources */,
768+
6D79466722773A9E00887F2D /* TableHeaderView.swift in Sources */,
754769
6D4ABD68225088D00022AAFC /* ITQuestionModel.swift in Sources */,
755770
6D053EB3226DF7ED006D55B6 /* IHTCUserDefaults.swift in Sources */,
756771
6D4ABD4C225088660022AAFC /* ITBasePushTransitionVC.swift in Sources */,
@@ -762,6 +777,7 @@
762777
6D4ABD48225088660022AAFC /* ITBasePopTransitionVC.swift in Sources */,
763778
6D4ABE972250E08A0022AAFC /* ILeetCoderModel.swift in Sources */,
764779
6D4ABD4D225088660022AAFC /* ITLanguageViewController.swift in Sources */,
780+
6D79466222773A1E00887F2D /* ITAdvancelDetailViewController.swift in Sources */,
765781
6D4ABD44225088660022AAFC /* ITAboutAppVC.swift in Sources */,
766782
6DC7CFE1226C1E4500F2CC10 /* IHTCShareFooterView.swift in Sources */,
767783
6D4ABD63225088D00022AAFC /* ITPageTitleView.swift in Sources */,

‎iLeetcode/iLeetcode/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>2.3.0</string>
20+
<string>2.3.1</string>
2121
<key>CFBundleVersion</key>
22-
<string>2019.04.28</string>
22+
<string>2019.04.30</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
2525
<key>NSAppTransportSecurity</key>
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
[
2+
{
3+
"issue_title":"Apps",
4+
"issue_subtitle":"开发者应用",
5+
"issue_list": [
6+
{
7+
"title":"iLeetCoder",
8+
"url":"https://itunes.apple.com/cn/app/iLeetCoder/id1458259471?l=zh&ls=1&mt=8",
9+
"author":"一款精心的算法题目学习App,迅速找到工作"
10+
},
11+
{
12+
"title":"iTer",
13+
"url":"https://itunes.apple.com/us/app/italker-it/id1224934068?l=zh&ls=1&mt=8",
14+
"author":"10000+ IT企业题库,为升职面试准备"
15+
},
16+
{
17+
"title":"爱五笔",
18+
"url":"https://itunes.apple.com/cn/app/iWuBi/id1459028801?l=zh&ls=1&mt=8",
19+
"author":"五笔学习App,支持86版和98版/简体和繁体"
20+
},
21+
{
22+
"title":"iEnglish",
23+
"url":"https://itunes.apple.com/cn/app/iEnglish/id1236558125?l=zh&ls=1&mt=8",
24+
"author":"初学者必备词汇,3000入门单词和词汇分类学习"
25+
},
26+
{
27+
"title":"SecurityNote",
28+
"url":"https://itunes.apple.com/cn/app/mi-ji-yu-zhong-bu-tong-ji/id925021570?l=zh&mt=8",
29+
"author":"简单简洁简明简便的生活小密记"
30+
}
31+
]
32+
},
33+
{
34+
"issue_title":"开源项目",
35+
"issue_subtitle":"GitHub",
36+
"issue_list": [
37+
{
38+
"title":"OneMindMap",
39+
"url":"https://github.com/iHTCboy/OneMindMap/blob/master/README.md",
40+
"author":"一张思维导图的知识"
41+
},
42+
{
43+
"title":"iTalker",
44+
"url":"https://github.com/iHTCboy/iTalker",
45+
"author":"IT学习、求职面试必备,IT面试基础必备试题指南"
46+
},
47+
{
48+
"title":"English",
49+
"url":"https://github.com/iHTCboy/iEnglish",
50+
"author":"初学者必备词汇,3000入门单词和词汇分类学习"
51+
},
52+
{
53+
"title":"iWuBi",
54+
"url":"https://github.com/iHTCboy/iWuBi",
55+
"author":"五笔输入法知识的学习App,方便初学者学习和快速查询拆字等"
56+
},
57+
{
58+
"title":"iLeetcode-iOS",
59+
"url":"https://github.com/iHTCboy/iLeetcode-iOS",
60+
"author":"一款IT工程师们提供算法知识充电的应用"
61+
},
62+
{
63+
"title":"FullScreenBrowser",
64+
"url":"https://github.com/iHTCboy/FullScreenBrowser",
65+
"author":"一个超简单的全屏浏览器,真实无边"
66+
},
67+
{
68+
"title":"SecurityNote",
69+
"url":"https://github.com/iHTCboy/SecurityNote",
70+
"author":"超级简单和好用的笔记事本App"
71+
},
72+
{
73+
"title":"CampusOfGLUT",
74+
"url":"https://github.com/iHTCboy/CampusOfGLUT",
75+
"author":"桂林理工大学——校园通App"
76+
},
77+
{
78+
"title":"GLUTCloud",
79+
"url":"https://github.com/iHTCboy/GLUTCloud",
80+
"author":"桂林理工大学云图——桂工导航App"
81+
},
82+
{
83+
"title":"GLUTJW",
84+
"url":"https://github.com/iHTCboy/GLUTJWStuderForiPhone",
85+
"author":"桂林理工大学教务系统-学生版"
86+
}
87+
]
88+
}
89+
]
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
//
2+
// TableHeaderView.swift
3+
// iTalker
4+
//
5+
// Created by HTC on 2019/4/24.
6+
// Copyright © 2019 ihtc.cc @iHTCboy. All rights reserved.
7+
//
8+
9+
import UIKit
10+
11+
classTableHeaderView:UIView{
12+
13+
@IBOutletvarcontentView:UIView!
14+
@IBOutlet weakvartitleLbl:UILabel!
15+
@IBOutlet weakvarsubtitleLbl:UILabel!
16+
17+
overrideinit(frame:CGRect){
18+
super.init(frame: frame)
19+
setupUI()
20+
}
21+
22+
requiredinit?(coder aDecoder:NSCoder){
23+
super.init(coder: aDecoder)
24+
setupUI()
25+
}
26+
27+
privatefunc setupUI(){
28+
Bundle.main.loadNibNamed("TableHeaderView", owner:self, options:nil)
29+
addSubview(contentView)
30+
contentView.frame=self.frame
31+
contentView.autoresizingMask=[.flexibleWidth,.flexibleHeight]
32+
}
33+
34+
classfunc initView(title:String, subtitle:String, height:CGFloat)->TableHeaderView{
35+
lethview=TableHeaderView.init(frame:CGRect.init(x:0, y:0, width:UIScreen.main.bounds.width, height: height))
36+
hview.titleLbl.text= title
37+
hview.subtitleLbl.text= subtitle
38+
ifUIDevice.current.userInterfaceIdiom==.pad{
39+
hview.titleLbl.font=UIFont.systemFont(ofSize:17)
40+
hview.subtitleLbl.font=UIFont.systemFont(ofSize:14)
41+
}
42+
return hview
43+
}
44+
45+
}
46+
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<documenttype="com.apple.InterfaceBuilder3.CocoaTouch.XIB"version="3.0"toolsVersion="14490.70"targetRuntime="iOS.CocoaTouch"propertyAccessControl="none"useAutolayout="YES"useTraitCollections="YES"useSafeAreas="YES"colorMatched="YES">
3+
<deviceid="retina5_9"orientation="portrait">
4+
<adaptationid="fullscreen"/>
5+
</device>
6+
<dependencies>
7+
<deploymentidentifier="iOS"/>
8+
<plugInidentifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin"version="14490.49"/>
9+
<capabilityname="documents saved in the Xcode 8 format"minToolsVersion="8.0"/>
10+
</dependencies>
11+
<objects>
12+
<placeholderplaceholderIdentifier="IBFilesOwner"id="-1"userLabel="File's Owner"customClass="TableHeaderView"customModule="iTalker"customModuleProvider="target">
13+
<connections>
14+
<outletproperty="contentView"destination="52i-Ku-ABx"id="tsz-3G-tw7"/>
15+
<outletproperty="subtitleLbl"destination="9gp-8M-0vG"id="90v-5n-Qme"/>
16+
<outletproperty="titleLbl"destination="bBf-Br-B5M"id="Xgq-0D-kCb"/>
17+
</connections>
18+
</placeholder>
19+
<placeholderplaceholderIdentifier="IBFirstResponder"id="-2"customClass="UIResponder"/>
20+
<viewcontentMode="scaleToFill"insetsLayoutMarginsFromSafeArea="NO"id="52i-Ku-ABx">
21+
<rectkey="frame"x="0.0"y="0.0"width="414"height="80"/>
22+
<autoresizingMaskkey="autoresizingMask"flexibleMaxX="YES"flexibleMaxY="YES"/>
23+
<subviews>
24+
<labelopaque="NO"userInteractionEnabled="NO"contentMode="left"horizontalHuggingPriority="251"verticalHuggingPriority="251"text="Label"textAlignment="natural"lineBreakMode="tailTruncation"baselineAdjustment="alignBaselines"adjustsFontSizeToFit="NO"translatesAutoresizingMaskIntoConstraints="NO"id="bBf-Br-B5M">
25+
<rectkey="frame"x="20"y="20"width="344"height="50"/>
26+
<fontDescriptionkey="fontDescription"type="system"pointSize="14"/>
27+
<colorkey="textColor"white="0.33333333333333331"alpha="1"colorSpace="custom"customColorSpace="genericGamma22GrayColorSpace"/>
28+
<nilkey="highlightedColor"/>
29+
</label>
30+
<labelopaque="NO"userInteractionEnabled="NO"contentMode="left"horizontalHuggingPriority="251"verticalHuggingPriority="251"text="Label"textAlignment="right"lineBreakMode="tailTruncation"baselineAdjustment="alignBaselines"adjustsFontSizeToFit="NO"translatesAutoresizingMaskIntoConstraints="NO"id="9gp-8M-0vG">
31+
<rectkey="frame"x="45"y="20"width="344"height="50"/>
32+
<fontDescriptionkey="fontDescription"type="system"pointSize="12"/>
33+
<colorkey="textColor"white="0.66666666666666663"alpha="1"colorSpace="custom"customColorSpace="genericGamma22GrayColorSpace"/>
34+
<nilkey="highlightedColor"/>
35+
</label>
36+
</subviews>
37+
<colorkey="backgroundColor"cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
38+
<constraints>
39+
<constraintfirstAttribute="bottom"secondItem="bBf-Br-B5M"secondAttribute="bottom"constant="10"id="5hB-xc-iEH"/>
40+
<constraintfirstItem="bBf-Br-B5M"firstAttribute="leading"secondItem="52i-Ku-ABx"secondAttribute="leading"constant="20"id="5t7-gY-o0P"/>
41+
<constraintfirstItem="9gp-8M-0vG"firstAttribute="width"secondItem="bBf-Br-B5M"secondAttribute="width"id="6kX-Ox-7eO"/>
42+
<constraintfirstAttribute="trailing"secondItem="bBf-Br-B5M"secondAttribute="trailing"constant="50"id="HY1-2z-zyb"/>
43+
<constraintfirstItem="bBf-Br-B5M"firstAttribute="top"secondItem="52i-Ku-ABx"secondAttribute="top"constant="20"id="NmE-XS-bS0"/>
44+
<constraintfirstAttribute="bottom"secondItem="9gp-8M-0vG"secondAttribute="bottom"constant="10"id="dSi-47-gJz"/>
45+
<constraintfirstItem="9gp-8M-0vG"firstAttribute="top"secondItem="52i-Ku-ABx"secondAttribute="top"constant="20"id="voF-mK-kgM"/>
46+
<constraintfirstAttribute="trailing"secondItem="9gp-8M-0vG"secondAttribute="trailing"constant="25"id="xQo-ti-wIl"/>
47+
</constraints>
48+
<freeformSimulatedSizeMetricskey="simulatedDestinationMetrics"/>
49+
<pointkey="canvasLocation"x="201.59999999999999"y="50.985221674876847"/>
50+
</view>
51+
</objects>
52+
</document>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp