Add Jike
507
Examples/Jike/SwiftUI_Jike.xcodeproj/project.pbxproj
Executable file
@@ -0,0 +1,507 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 50;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
08284DAC22A6FB0B008C5D73 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08284DAB22A6FB0B008C5D73 /* AppDelegate.swift */; };
|
||||
08284DAE22A6FB0B008C5D73 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08284DAD22A6FB0B008C5D73 /* SceneDelegate.swift */; };
|
||||
08284DB022A6FB0B008C5D73 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08284DAF22A6FB0B008C5D73 /* ContentView.swift */; };
|
||||
08284DB222A6FB10008C5D73 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 08284DB122A6FB10008C5D73 /* Assets.xcassets */; };
|
||||
08284DB522A6FB10008C5D73 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 08284DB422A6FB10008C5D73 /* Preview Assets.xcassets */; };
|
||||
08284DB822A6FB10008C5D73 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 08284DB622A6FB10008C5D73 /* LaunchScreen.storyboard */; };
|
||||
08284DC222A75613008C5D73 /* SettingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08284DC122A75613008C5D73 /* SettingView.swift */; };
|
||||
08284DC422A75BEE008C5D73 /* HomeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08284DC322A75BEE008C5D73 /* HomeView.swift */; };
|
||||
08284DC622A75C4A008C5D73 /* ActivityView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08284DC522A75C4A008C5D73 /* ActivityView.swift */; };
|
||||
08284DC822A75C5F008C5D73 /* ChatView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08284DC722A75C5F008C5D73 /* ChatView.swift */; };
|
||||
086A477922A76F2900DDF3ED /* TabIconInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 086A477822A76F2900DDF3ED /* TabIconInfo.swift */; };
|
||||
086A477B22A7705500DDF3ED /* Datas.swift in Sources */ = {isa = PBXBuildFile; fileRef = 086A477A22A7705500DDF3ED /* Datas.swift */; };
|
||||
088DA23922A78B82006103D5 /* CircleImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 088DA23822A78B81006103D5 /* CircleImage.swift */; };
|
||||
088DA23B22A78C3B006103D5 /* UITool.swift in Sources */ = {isa = PBXBuildFile; fileRef = 088DA23A22A78C3B006103D5 /* UITool.swift */; };
|
||||
088DA23D22A7AF11006103D5 /* SettingCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 088DA23C22A7AF11006103D5 /* SettingCell.swift */; };
|
||||
088DA24022A7D182006103D5 /* ChatCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 088DA23F22A7D181006103D5 /* ChatCell.swift */; };
|
||||
088DA24222A7DDBB006103D5 /* ActivityCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 088DA24122A7DDBB006103D5 /* ActivityCell.swift */; };
|
||||
088DA24422A7FBEF006103D5 /* ZoneCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 088DA24322A7FBEF006103D5 /* ZoneCell.swift */; };
|
||||
088DA24622A81A15006103D5 /* CategoryRow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 088DA24522A81A15006103D5 /* CategoryRow.swift */; };
|
||||
08C52A8A22A81AB900CDFA3D /* ZoneModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08C52A8922A81AB900CDFA3D /* ZoneModel.swift */; };
|
||||
08C52A8D22A81BE500CDFA3D /* zoneData.json in Resources */ = {isa = PBXBuildFile; fileRef = 08C52A8C22A81BE500CDFA3D /* zoneData.json */; };
|
||||
08C52A8F22A81F1E00CDFA3D /* test.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 08C52A8E22A81F1E00CDFA3D /* test.jpg */; };
|
||||
08C52A9122A8242700CDFA3D /* test1.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 08C52A9022A8242700CDFA3D /* test1.jpg */; };
|
||||
08C52A9322A8509C00CDFA3D /* SegmentViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08C52A9222A8509C00CDFA3D /* SegmentViewController.swift */; };
|
||||
08FAC5FA22A8CC0300BC476C /* GYSegmentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08FAC5F922A8CC0300BC476C /* GYSegmentView.swift */; };
|
||||
08FAC64922A8D92A00BC476C /* HomeCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08FAC64822A8D92A00BC476C /* HomeCell.swift */; };
|
||||
08FAC64B22A8DC4900BC476C /* kcc.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 08FAC64A22A8DC4900BC476C /* kcc.jpg */; };
|
||||
08FAC64D22A8DCB300BC476C /* 30_Fotor.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 08FAC64C22A8DCB300BC476C /* 30_Fotor.jpg */; };
|
||||
08FAC65B22A8F37500BC476C /* faxian.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 08FAC65A22A8F37400BC476C /* faxian.jpg */; };
|
||||
08FAC66222A8F46A00BC476C /* keji.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 08FAC65C22A8F46A00BC476C /* keji.jpg */; };
|
||||
08FAC66322A8F46A00BC476C /* jianzhu.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 08FAC65D22A8F46A00BC476C /* jianzhu.jpg */; };
|
||||
08FAC66422A8F46A00BC476C /* aihao.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 08FAC65E22A8F46A00BC476C /* aihao.jpg */; };
|
||||
08FAC66522A8F46A00BC476C /* miao.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 08FAC65F22A8F46A00BC476C /* miao.jpg */; };
|
||||
08FAC66622A8F46A00BC476C /* shadiao.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 08FAC66022A8F46A00BC476C /* shadiao.jpg */; };
|
||||
08FAC66722A8F46A00BC476C /* sheying.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 08FAC66122A8F46A00BC476C /* sheying.jpg */; };
|
||||
08FAC67022A90DB900BC476C /* GYTabBarViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08FAC66E22A90DB900BC476C /* GYTabBarViewController.swift */; };
|
||||
08FAC67122A90DB900BC476C /* GYTabView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08FAC66F22A90DB900BC476C /* GYTabView.swift */; };
|
||||
08FAC67322A9125900BC476C /* TabBarItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08FAC67222A9125900BC476C /* TabBarItem.swift */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
08284DA822A6FB0B008C5D73 /* SwiftUI_Jike.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwiftUI_Jike.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
08284DAB22A6FB0B008C5D73 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
||||
08284DAD22A6FB0B008C5D73 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
|
||||
08284DAF22A6FB0B008C5D73 /* ContentView.swift */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
|
||||
08284DB122A6FB10008C5D73 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
||||
08284DB422A6FB10008C5D73 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
|
||||
08284DB722A6FB10008C5D73 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
||||
08284DB922A6FB10008C5D73 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
08284DC122A75613008C5D73 /* SettingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingView.swift; sourceTree = "<group>"; usesTabs = 0; };
|
||||
08284DC322A75BEE008C5D73 /* HomeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeView.swift; sourceTree = "<group>"; };
|
||||
08284DC522A75C4A008C5D73 /* ActivityView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ActivityView.swift; sourceTree = "<group>"; };
|
||||
08284DC722A75C5F008C5D73 /* ChatView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChatView.swift; sourceTree = "<group>"; };
|
||||
086A477822A76F2900DDF3ED /* TabIconInfo.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TabIconInfo.swift; sourceTree = "<group>"; };
|
||||
086A477A22A7705500DDF3ED /* Datas.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Datas.swift; sourceTree = "<group>"; };
|
||||
088DA23822A78B81006103D5 /* CircleImage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CircleImage.swift; sourceTree = "<group>"; };
|
||||
088DA23A22A78C3B006103D5 /* UITool.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UITool.swift; sourceTree = "<group>"; };
|
||||
088DA23C22A7AF11006103D5 /* SettingCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingCell.swift; sourceTree = "<group>"; };
|
||||
088DA23F22A7D181006103D5 /* ChatCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChatCell.swift; sourceTree = "<group>"; };
|
||||
088DA24122A7DDBB006103D5 /* ActivityCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ActivityCell.swift; sourceTree = "<group>"; };
|
||||
088DA24322A7FBEF006103D5 /* ZoneCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ZoneCell.swift; sourceTree = "<group>"; };
|
||||
088DA24522A81A15006103D5 /* CategoryRow.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CategoryRow.swift; sourceTree = "<group>"; };
|
||||
08C52A8922A81AB900CDFA3D /* ZoneModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ZoneModel.swift; sourceTree = "<group>"; };
|
||||
08C52A8C22A81BE500CDFA3D /* zoneData.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = zoneData.json; sourceTree = "<group>"; };
|
||||
08C52A8E22A81F1E00CDFA3D /* test.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = test.jpg; sourceTree = "<group>"; };
|
||||
08C52A9022A8242700CDFA3D /* test1.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = test1.jpg; sourceTree = "<group>"; };
|
||||
08C52A9222A8509C00CDFA3D /* SegmentViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SegmentViewController.swift; sourceTree = "<group>"; };
|
||||
08FAC5F922A8CC0300BC476C /* GYSegmentView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GYSegmentView.swift; sourceTree = "<group>"; };
|
||||
08FAC64822A8D92A00BC476C /* HomeCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeCell.swift; sourceTree = "<group>"; };
|
||||
08FAC64A22A8DC4900BC476C /* kcc.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = kcc.jpg; sourceTree = "<group>"; };
|
||||
08FAC64C22A8DCB300BC476C /* 30_Fotor.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 30_Fotor.jpg; sourceTree = "<group>"; };
|
||||
08FAC65A22A8F37400BC476C /* faxian.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = faxian.jpg; sourceTree = "<group>"; };
|
||||
08FAC65C22A8F46A00BC476C /* keji.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = keji.jpg; sourceTree = "<group>"; };
|
||||
08FAC65D22A8F46A00BC476C /* jianzhu.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = jianzhu.jpg; sourceTree = "<group>"; };
|
||||
08FAC65E22A8F46A00BC476C /* aihao.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = aihao.jpg; sourceTree = "<group>"; };
|
||||
08FAC65F22A8F46A00BC476C /* miao.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = miao.jpg; sourceTree = "<group>"; };
|
||||
08FAC66022A8F46A00BC476C /* shadiao.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = shadiao.jpg; sourceTree = "<group>"; };
|
||||
08FAC66122A8F46A00BC476C /* sheying.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = sheying.jpg; sourceTree = "<group>"; };
|
||||
08FAC66E22A90DB900BC476C /* GYTabBarViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GYTabBarViewController.swift; sourceTree = "<group>"; };
|
||||
08FAC66F22A90DB900BC476C /* GYTabView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GYTabView.swift; sourceTree = "<group>"; };
|
||||
08FAC67222A9125900BC476C /* TabBarItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TabBarItem.swift; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
08284DA522A6FB0B008C5D73 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
08284D9F22A6FB0B008C5D73 = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
08284DAA22A6FB0B008C5D73 /* SwiftUI_Jike */,
|
||||
08284DA922A6FB0B008C5D73 /* Products */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
08284DA922A6FB0B008C5D73 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
08284DA822A6FB0B008C5D73 /* SwiftUI_Jike.app */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
08284DAA22A6FB0B008C5D73 /* SwiftUI_Jike */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
08FAC5FB22A8CEC500BC476C /* Tools */,
|
||||
088DA24722A81A6C006103D5 /* Models */,
|
||||
088DA23E22A7D16C006103D5 /* Cell */,
|
||||
08284DAB22A6FB0B008C5D73 /* AppDelegate.swift */,
|
||||
08284DAD22A6FB0B008C5D73 /* SceneDelegate.swift */,
|
||||
08284DAF22A6FB0B008C5D73 /* ContentView.swift */,
|
||||
08284DC322A75BEE008C5D73 /* HomeView.swift */,
|
||||
08284DC522A75C4A008C5D73 /* ActivityView.swift */,
|
||||
08284DC722A75C5F008C5D73 /* ChatView.swift */,
|
||||
08284DC122A75613008C5D73 /* SettingView.swift */,
|
||||
08C52A9222A8509C00CDFA3D /* SegmentViewController.swift */,
|
||||
08FAC66F22A90DB900BC476C /* GYTabView.swift */,
|
||||
08FAC66E22A90DB900BC476C /* GYTabBarViewController.swift */,
|
||||
08C52A8B22A81BAC00CDFA3D /* Res */,
|
||||
08284DB122A6FB10008C5D73 /* Assets.xcassets */,
|
||||
08284DB622A6FB10008C5D73 /* LaunchScreen.storyboard */,
|
||||
08284DB922A6FB10008C5D73 /* Info.plist */,
|
||||
08284DB322A6FB10008C5D73 /* Preview Content */,
|
||||
);
|
||||
path = SwiftUI_Jike;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
08284DB322A6FB10008C5D73 /* Preview Content */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
08284DB422A6FB10008C5D73 /* Preview Assets.xcassets */,
|
||||
);
|
||||
path = "Preview Content";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
088DA23E22A7D16C006103D5 /* Cell */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
088DA23822A78B81006103D5 /* CircleImage.swift */,
|
||||
088DA23C22A7AF11006103D5 /* SettingCell.swift */,
|
||||
08FAC5F922A8CC0300BC476C /* GYSegmentView.swift */,
|
||||
088DA24522A81A15006103D5 /* CategoryRow.swift */,
|
||||
088DA23F22A7D181006103D5 /* ChatCell.swift */,
|
||||
088DA24122A7DDBB006103D5 /* ActivityCell.swift */,
|
||||
088DA24322A7FBEF006103D5 /* ZoneCell.swift */,
|
||||
08FAC64822A8D92A00BC476C /* HomeCell.swift */,
|
||||
);
|
||||
path = Cell;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
088DA24722A81A6C006103D5 /* Models */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
086A477822A76F2900DDF3ED /* TabIconInfo.swift */,
|
||||
08C52A8922A81AB900CDFA3D /* ZoneModel.swift */,
|
||||
08FAC67222A9125900BC476C /* TabBarItem.swift */,
|
||||
086A477A22A7705500DDF3ED /* Datas.swift */,
|
||||
);
|
||||
path = Models;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
08C52A8B22A81BAC00CDFA3D /* Res */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
08FAC65E22A8F46A00BC476C /* aihao.jpg */,
|
||||
08FAC65D22A8F46A00BC476C /* jianzhu.jpg */,
|
||||
08FAC65C22A8F46A00BC476C /* keji.jpg */,
|
||||
08FAC65F22A8F46A00BC476C /* miao.jpg */,
|
||||
08FAC66022A8F46A00BC476C /* shadiao.jpg */,
|
||||
08FAC66122A8F46A00BC476C /* sheying.jpg */,
|
||||
08FAC65A22A8F37400BC476C /* faxian.jpg */,
|
||||
08FAC64C22A8DCB300BC476C /* 30_Fotor.jpg */,
|
||||
08FAC64A22A8DC4900BC476C /* kcc.jpg */,
|
||||
08C52A9022A8242700CDFA3D /* test1.jpg */,
|
||||
08C52A8E22A81F1E00CDFA3D /* test.jpg */,
|
||||
08C52A8C22A81BE500CDFA3D /* zoneData.json */,
|
||||
);
|
||||
path = Res;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
08FAC5FB22A8CEC500BC476C /* Tools */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
088DA23A22A78C3B006103D5 /* UITool.swift */,
|
||||
);
|
||||
path = Tools;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
08284DA722A6FB0B008C5D73 /* SwiftUI_Jike */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 08284DBC22A6FB10008C5D73 /* Build configuration list for PBXNativeTarget "SwiftUI_Jike" */;
|
||||
buildPhases = (
|
||||
08284DA422A6FB0B008C5D73 /* Sources */,
|
||||
08284DA522A6FB0B008C5D73 /* Frameworks */,
|
||||
08284DA622A6FB0B008C5D73 /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = SwiftUI_Jike;
|
||||
productName = SwiftUI_Jike;
|
||||
productReference = 08284DA822A6FB0B008C5D73 /* SwiftUI_Jike.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
08284DA022A6FB0B008C5D73 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastSwiftUpdateCheck = 1100;
|
||||
LastUpgradeCheck = 1100;
|
||||
ORGANIZATIONNAME = alexyang;
|
||||
TargetAttributes = {
|
||||
08284DA722A6FB0B008C5D73 = {
|
||||
CreatedOnToolsVersion = 11.0;
|
||||
};
|
||||
};
|
||||
};
|
||||
buildConfigurationList = 08284DA322A6FB0B008C5D73 /* Build configuration list for PBXProject "SwiftUI_Jike" */;
|
||||
compatibilityVersion = "Xcode 9.3";
|
||||
developmentRegion = en;
|
||||
hasScannedForEncodings = 0;
|
||||
knownRegions = (
|
||||
en,
|
||||
Base,
|
||||
);
|
||||
mainGroup = 08284D9F22A6FB0B008C5D73;
|
||||
productRefGroup = 08284DA922A6FB0B008C5D73 /* Products */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
08284DA722A6FB0B008C5D73 /* SwiftUI_Jike */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
08284DA622A6FB0B008C5D73 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
08284DB822A6FB10008C5D73 /* LaunchScreen.storyboard in Resources */,
|
||||
08FAC66622A8F46A00BC476C /* shadiao.jpg in Resources */,
|
||||
08FAC64B22A8DC4900BC476C /* kcc.jpg in Resources */,
|
||||
08FAC66422A8F46A00BC476C /* aihao.jpg in Resources */,
|
||||
08C52A8F22A81F1E00CDFA3D /* test.jpg in Resources */,
|
||||
08284DB522A6FB10008C5D73 /* Preview Assets.xcassets in Resources */,
|
||||
08FAC65B22A8F37500BC476C /* faxian.jpg in Resources */,
|
||||
08284DB222A6FB10008C5D73 /* Assets.xcassets in Resources */,
|
||||
08FAC66322A8F46A00BC476C /* jianzhu.jpg in Resources */,
|
||||
08FAC66522A8F46A00BC476C /* miao.jpg in Resources */,
|
||||
08FAC66222A8F46A00BC476C /* keji.jpg in Resources */,
|
||||
08C52A8D22A81BE500CDFA3D /* zoneData.json in Resources */,
|
||||
08C52A9122A8242700CDFA3D /* test1.jpg in Resources */,
|
||||
08FAC64D22A8DCB300BC476C /* 30_Fotor.jpg in Resources */,
|
||||
08FAC66722A8F46A00BC476C /* sheying.jpg in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
08284DA422A6FB0B008C5D73 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
08284DAC22A6FB0B008C5D73 /* AppDelegate.swift in Sources */,
|
||||
08FAC64922A8D92A00BC476C /* HomeCell.swift in Sources */,
|
||||
08FAC67022A90DB900BC476C /* GYTabBarViewController.swift in Sources */,
|
||||
08284DC222A75613008C5D73 /* SettingView.swift in Sources */,
|
||||
08C52A9322A8509C00CDFA3D /* SegmentViewController.swift in Sources */,
|
||||
08284DAE22A6FB0B008C5D73 /* SceneDelegate.swift in Sources */,
|
||||
08284DC422A75BEE008C5D73 /* HomeView.swift in Sources */,
|
||||
08284DC822A75C5F008C5D73 /* ChatView.swift in Sources */,
|
||||
08FAC67122A90DB900BC476C /* GYTabView.swift in Sources */,
|
||||
08FAC67322A9125900BC476C /* TabBarItem.swift in Sources */,
|
||||
08C52A8A22A81AB900CDFA3D /* ZoneModel.swift in Sources */,
|
||||
088DA24422A7FBEF006103D5 /* ZoneCell.swift in Sources */,
|
||||
08284DC622A75C4A008C5D73 /* ActivityView.swift in Sources */,
|
||||
088DA24622A81A15006103D5 /* CategoryRow.swift in Sources */,
|
||||
088DA24222A7DDBB006103D5 /* ActivityCell.swift in Sources */,
|
||||
088DA23D22A7AF11006103D5 /* SettingCell.swift in Sources */,
|
||||
086A477B22A7705500DDF3ED /* Datas.swift in Sources */,
|
||||
088DA23922A78B82006103D5 /* CircleImage.swift in Sources */,
|
||||
086A477922A76F2900DDF3ED /* TabIconInfo.swift in Sources */,
|
||||
08FAC5FA22A8CC0300BC476C /* GYSegmentView.swift in Sources */,
|
||||
088DA24022A7D182006103D5 /* ChatCell.swift in Sources */,
|
||||
08284DB022A6FB0B008C5D73 /* ContentView.swift in Sources */,
|
||||
088DA23B22A78C3B006103D5 /* UITool.swift in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXVariantGroup section */
|
||||
08284DB622A6FB10008C5D73 /* LaunchScreen.storyboard */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
08284DB722A6FB10008C5D73 /* Base */,
|
||||
);
|
||||
name = LaunchScreen.storyboard;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXVariantGroup section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
08284DBA22A6FB10008C5D73 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_ENABLE_OBJC_WEAK = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
ENABLE_TESTABILITY = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
||||
MTL_FAST_MATH = YES;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SDKROOT = iphoneos;
|
||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
08284DBB22A6FB10008C5D73 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_ENABLE_OBJC_WEAK = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
MTL_FAST_MATH = YES;
|
||||
SDKROOT = iphoneos;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
||||
VALIDATE_PRODUCT = YES;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
08284DBD22A6FB10008C5D73 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
DEVELOPMENT_ASSET_PATHS = "SwiftUI_Jike/Preview\\ Content";
|
||||
DEVELOPMENT_TEAM = PD973WK396;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
INFOPLIST_FILE = SwiftUI_Jike/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.shigy.SwiftUI-Jike";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
08284DBE22A6FB10008C5D73 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
DEVELOPMENT_ASSET_PATHS = "SwiftUI_Jike/Preview\\ Content";
|
||||
DEVELOPMENT_TEAM = PD973WK396;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
INFOPLIST_FILE = SwiftUI_Jike/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.shigy.SwiftUI-Jike";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
08284DA322A6FB0B008C5D73 /* Build configuration list for PBXProject "SwiftUI_Jike" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
08284DBA22A6FB10008C5D73 /* Debug */,
|
||||
08284DBB22A6FB10008C5D73 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
08284DBC22A6FB10008C5D73 /* Build configuration list for PBXNativeTarget "SwiftUI_Jike" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
08284DBD22A6FB10008C5D73 /* Debug */,
|
||||
08284DBE22A6FB10008C5D73 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 08284DA022A6FB0B008C5D73 /* Project object */;
|
||||
}
|
||||
7
Examples/Jike/SwiftUI_Jike.xcodeproj/project.xcworkspace/contents.xcworkspacedata
generated
Executable file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "self:SwiftUI_Jike.xcodeproj">
|
||||
</FileRef>
|
||||
</Workspace>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>IDEDidComputeMac32BitWarning</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
65
Examples/Jike/SwiftUI_Jike/ActivityView.swift
Executable file
@@ -0,0 +1,65 @@
|
||||
//
|
||||
// ActivityView.swift
|
||||
// SwiftUI_Jike
|
||||
//
|
||||
// Created by alexyang on 2019/6/5.
|
||||
// Copyright © 2019 alexyang. All rights reserved.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct ActivityView : View {
|
||||
var body: some View {
|
||||
VStack{
|
||||
VStack{
|
||||
HStack{
|
||||
Image("addPer")
|
||||
.padding(.horizontal, 10)
|
||||
Spacer()
|
||||
Text("动态").bold()
|
||||
.padding(.trailing, 44)
|
||||
Spacer()
|
||||
|
||||
}
|
||||
}
|
||||
HStack{
|
||||
Color(red: 240.0/255.0, green: 243.0/255.0, blue: 245.0/255)
|
||||
}
|
||||
.padding(.top, 0)
|
||||
.frame(height: 10.0)
|
||||
HStack(alignment: .center){
|
||||
CircleImage(imgName: "subIcon")
|
||||
.padding(.leading, 10)
|
||||
Text("发布动态...")
|
||||
.color(Color.gray)
|
||||
Spacer()
|
||||
}
|
||||
HStack{
|
||||
Color(red: 240.0/255.0, green: 243.0/255.0, blue: 245.0/255)
|
||||
}
|
||||
.padding(.top, 0)
|
||||
.frame(height: 10.0)
|
||||
|
||||
List{
|
||||
ActivityCell(nickName: "皮卡丘", timeStamp: "2小时前",content: "发明一种新吃法#一人食灌蛋手抓饼夹小油条泡菜香肠,挤上番茄酱甜面酱巨好吃呀😘!!灌蛋是灵魂,不能偷懒!!", imgName: "sucai"
|
||||
)
|
||||
ActivityCell(nickName: "皮卡丘", timeStamp: "2小时前",content: "发明一种新吃法#一人食灌蛋手抓饼夹小油条泡菜香肠,挤上番茄酱甜面酱巨好吃呀😘!!灌蛋是灵魂,不能偷懒!!", imgName: "sucai"
|
||||
)
|
||||
ActivityCell(nickName: "皮卡丘", timeStamp: "2小时前",content: "发明一种新吃法#一人食灌蛋手抓饼夹小油条泡菜香肠,挤上番茄酱甜面酱巨好吃呀😘!!灌蛋是灵魂,不能偷懒!!", imgName: "sucai"
|
||||
)
|
||||
ActivityCell(nickName: "皮卡丘", timeStamp: "2小时前",content: "发明一种新吃法#一人食灌蛋手抓饼夹小油条泡菜香肠,挤上番茄酱甜面酱巨好吃呀😘!!灌蛋是灵魂,不能偷懒!!", imgName: "sucai"
|
||||
)
|
||||
}
|
||||
.padding(.leading, -20)
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
struct ActivityView_Previews : PreviewProvider {
|
||||
static var previews: some View {
|
||||
ActivityView()
|
||||
}
|
||||
}
|
||||
#endif
|
||||
41
Examples/Jike/SwiftUI_Jike/AppDelegate.swift
Executable file
@@ -0,0 +1,41 @@
|
||||
//
|
||||
// AppDelegate.swift
|
||||
// SwiftUI_Jike
|
||||
//
|
||||
// Created by alexyang on 2019/6/5.
|
||||
// Copyright © 2019 alexyang. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
@UIApplicationMain
|
||||
class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
|
||||
|
||||
|
||||
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
|
||||
// Override point for customization after application launch.
|
||||
return true
|
||||
}
|
||||
|
||||
func applicationWillTerminate(_ application: UIApplication) {
|
||||
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
|
||||
}
|
||||
|
||||
// MARK: UISceneSession Lifecycle
|
||||
|
||||
func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
|
||||
// Called when a new scene session is being created.
|
||||
// Use this method to select a configuration to create the new scene with.
|
||||
return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
|
||||
}
|
||||
|
||||
func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) {
|
||||
// Called when the user discards a scene session.
|
||||
// If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
|
||||
// Use this method to release any resources that were specific to the discarded scenes, as they will not return.
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
158
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/Contents.json
Executable file
@@ -0,0 +1,158 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"size": "20x20",
|
||||
"idiom": "iphone",
|
||||
"filename": "icon-20@2x.png",
|
||||
"scale": "2x"
|
||||
},
|
||||
{
|
||||
"size": "20x20",
|
||||
"idiom": "iphone",
|
||||
"filename": "icon-20@3x.png",
|
||||
"scale": "3x"
|
||||
},
|
||||
{
|
||||
"size": "29x29",
|
||||
"idiom": "iphone",
|
||||
"filename": "icon-29.png",
|
||||
"scale": "1x"
|
||||
},
|
||||
{
|
||||
"size": "29x29",
|
||||
"idiom": "iphone",
|
||||
"filename": "icon-29@2x.png",
|
||||
"scale": "2x"
|
||||
},
|
||||
{
|
||||
"size": "29x29",
|
||||
"idiom": "iphone",
|
||||
"filename": "icon-29@3x.png",
|
||||
"scale": "3x"
|
||||
},
|
||||
{
|
||||
"size": "40x40",
|
||||
"idiom": "iphone",
|
||||
"filename": "icon-40@2x.png",
|
||||
"scale": "2x"
|
||||
},
|
||||
{
|
||||
"size": "40x40",
|
||||
"idiom": "iphone",
|
||||
"filename": "icon-40@3x.png",
|
||||
"scale": "3x"
|
||||
},
|
||||
{
|
||||
"size": "57x57",
|
||||
"idiom": "iphone",
|
||||
"filename": "icon-57.png",
|
||||
"scale": "1x"
|
||||
},
|
||||
{
|
||||
"size": "57x57",
|
||||
"idiom": "iphone",
|
||||
"filename": "icon-57@2x.png",
|
||||
"scale": "2x"
|
||||
},
|
||||
{
|
||||
"size": "60x60",
|
||||
"idiom": "iphone",
|
||||
"filename": "icon-60@2x.png",
|
||||
"scale": "2x"
|
||||
},
|
||||
{
|
||||
"size": "60x60",
|
||||
"idiom": "iphone",
|
||||
"filename": "icon-60@3x.png",
|
||||
"scale": "3x"
|
||||
},
|
||||
{
|
||||
"size": "20x20",
|
||||
"idiom": "ipad",
|
||||
"filename": "icon-20-ipad.png",
|
||||
"scale": "1x"
|
||||
},
|
||||
{
|
||||
"size": "20x20",
|
||||
"idiom": "ipad",
|
||||
"filename": "icon-20@2x-ipad.png",
|
||||
"scale": "2x"
|
||||
},
|
||||
{
|
||||
"size": "29x29",
|
||||
"idiom": "ipad",
|
||||
"filename": "icon-29-ipad.png",
|
||||
"scale": "1x"
|
||||
},
|
||||
{
|
||||
"size": "29x29",
|
||||
"idiom": "ipad",
|
||||
"filename": "icon-29@2x-ipad.png",
|
||||
"scale": "2x"
|
||||
},
|
||||
{
|
||||
"size": "40x40",
|
||||
"idiom": "ipad",
|
||||
"filename": "icon-40.png",
|
||||
"scale": "1x"
|
||||
},
|
||||
{
|
||||
"size": "40x40",
|
||||
"idiom": "ipad",
|
||||
"filename": "icon-40@2x.png",
|
||||
"scale": "2x"
|
||||
},
|
||||
{
|
||||
"size": "50x50",
|
||||
"idiom": "ipad",
|
||||
"filename": "icon-50.png",
|
||||
"scale": "1x"
|
||||
},
|
||||
{
|
||||
"size": "50x50",
|
||||
"idiom": "ipad",
|
||||
"filename": "icon-50@2x.png",
|
||||
"scale": "2x"
|
||||
},
|
||||
{
|
||||
"size": "72x72",
|
||||
"idiom": "ipad",
|
||||
"filename": "icon-72.png",
|
||||
"scale": "1x"
|
||||
},
|
||||
{
|
||||
"size": "72x72",
|
||||
"idiom": "ipad",
|
||||
"filename": "icon-72@2x.png",
|
||||
"scale": "2x"
|
||||
},
|
||||
{
|
||||
"size": "76x76",
|
||||
"idiom": "ipad",
|
||||
"filename": "icon-76.png",
|
||||
"scale": "1x"
|
||||
},
|
||||
{
|
||||
"size": "76x76",
|
||||
"idiom": "ipad",
|
||||
"filename": "icon-76@2x.png",
|
||||
"scale": "2x"
|
||||
},
|
||||
{
|
||||
"size": "83.5x83.5",
|
||||
"idiom": "ipad",
|
||||
"filename": "icon-83.5@2x.png",
|
||||
"scale": "2x"
|
||||
},
|
||||
{
|
||||
"size": "1024x1024",
|
||||
"idiom": "ios-marketing",
|
||||
"filename": "icon-1024.png",
|
||||
"scale": "1x"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"version": 1,
|
||||
"author": "icon.wuruihong.com"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-1024.png
Executable file
|
After Width: | Height: | Size: 75 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-20-ipad.png
Executable file
|
After Width: | Height: | Size: 570 B |
|
After Width: | Height: | Size: 1.0 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-20@2x.png
Executable file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png
Executable file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-29-ipad.png
Executable file
|
After Width: | Height: | Size: 811 B |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-29.png
Executable file
|
After Width: | Height: | Size: 811 B |
|
After Width: | Height: | Size: 1.3 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png
Executable file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png
Executable file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-40.png
Executable file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png
Executable file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png
Executable file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-50.png
Executable file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-50@2x.png
Executable file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-57.png
Executable file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-57@2x.png
Executable file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png
Executable file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png
Executable file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-72.png
Executable file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-72@2x.png
Executable file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-76.png
Executable file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png
Executable file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png
Executable file
|
After Width: | Height: | Size: 5.7 KiB |
6
Examples/Jike/SwiftUI_Jike/Assets.xcassets/Contents.json
Executable file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/addPer.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_navbar_add_friends_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/addPer.imageset/ic_navbar_add_friends_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 4.2 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/chat_box.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_chat_box_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/chat_box.imageset/ic_chat_box_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 4.6 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/dianzan.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_comment_like_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/dianzan.imageset/ic_comment_like_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 4.5 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/discovery_icon.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_navbar_discovery_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/discovery_icon.imageset/ic_navbar_discovery_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 3.9 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/meIcon.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "IMG_9777_Fotor.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/meIcon.imageset/IMG_9777_Fotor.jpg
vendored
Executable file
|
After Width: | Height: | Size: 26 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/pinglun.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_messages_comment_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/pinglun.imageset/ic_messages_comment_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 4.6 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/pokemon.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "WechatIMG46_Fotor.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/pokemon.imageset/WechatIMG46_Fotor.jpg
vendored
Executable file
|
After Width: | Height: | Size: 12 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/righ_arrow.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_common_arrow_right_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/righ_arrow.imageset/ic_common_arrow_right_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 3.6 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/scan_icon.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_navbar_scan_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/scan_icon.imageset/ic_navbar_scan_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 3.9 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/search_icon.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_navbar_search_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/search_icon.imageset/ic_navbar_search_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 4.7 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/setting_feedback.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_personal_tab_support_center_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/setting_feedback.imageset/ic_personal_tab_support_center_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 1.6 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/setting_hehuoren.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_comment_sync_jike_selected_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/setting_hehuoren.imageset/ic_comment_sync_jike_selected_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 3.6 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/setting_icon.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_navbar_setting_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/setting_icon.imageset/ic_navbar_setting_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 4.4 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/setting_mainliuliang.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_personal_tab_kingcard_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/setting_mainliuliang.imageset/ic_personal_tab_kingcard_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 631 B |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/setting_quanzi.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_personal_tab_my_topic_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/setting_quanzi.imageset/ic_personal_tab_my_topic_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 1.5 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/setting_shoucang.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_personal_tab_collection_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/setting_shoucang.imageset/ic_personal_tab_collection_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 1.4 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/setting_tongzhi.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_personal_tab_activity_notification_new_messages_4_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/share.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_messages_share_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/share.imageset/ic_messages_share_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 4.7 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/shenglue.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_messages_more_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/shenglue.imageset/ic_messages_more_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 3.6 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/subIcon.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "IMG_9776_Fotor.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/subIcon.imageset/IMG_9776_Fotor.jpg
vendored
Executable file
|
After Width: | Height: | Size: 16 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/sucai.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "IMG_9778_Fotor.jpg",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/sucai.imageset/IMG_9778_Fotor.jpg
vendored
Executable file
|
After Width: | Height: | Size: 132 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_chat_normal.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_navbar_chat_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_chat_normal.imageset/ic_navbar_chat_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 4.6 KiB |
24
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_chat_select.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_tabbar_chat_selected_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
},
|
||||
"properties" : {
|
||||
"template-rendering-intent" : "original"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_chat_select.imageset/ic_tabbar_chat_selected_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 4.6 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_home_normal.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_tabbar_home_unselected_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_home_normal.imageset/ic_tabbar_home_unselected_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 4.6 KiB |
24
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_home_select.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_tabbar_home_selected_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
},
|
||||
"properties" : {
|
||||
"template-rendering-intent" : "original"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_home_select.imageset/ic_tabbar_home_selected_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 4.2 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_me_normal.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_tabbar_personal_unselected_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_me_normal.imageset/ic_tabbar_personal_unselected_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 4.9 KiB |
24
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_me_select.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_tabbar_personal_selected_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
},
|
||||
"properties" : {
|
||||
"template-rendering-intent" : "original"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_me_select.imageset/ic_tabbar_personal_selected_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 4.5 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_status_normal.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_tabbar_activity_unselected_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_status_normal.imageset/ic_tabbar_activity_unselected_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 5.5 KiB |
24
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_status_select.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_tabbar_activity_selected_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
},
|
||||
"properties" : {
|
||||
"template-rendering-intent" : "original"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/tab_status_select.imageset/ic_tabbar_activity_selected_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 5.0 KiB |
21
Examples/Jike/SwiftUI_Jike/Assets.xcassets/touxiang.imageset/Contents.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ic_personal_tab_follower_Normal@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
BIN
Examples/Jike/SwiftUI_Jike/Assets.xcassets/touxiang.imageset/ic_personal_tab_follower_Normal@3x.png
vendored
Executable file
|
After Width: | Height: | Size: 3.9 KiB |
25
Examples/Jike/SwiftUI_Jike/Base.lproj/LaunchScreen.storyboard
Executable file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
<!--View Controller-->
|
||||
<scene sceneID="EHf-IW-A2E">
|
||||
<objects>
|
||||
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
|
||||
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
|
||||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
||||
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
|
||||
</view>
|
||||
</viewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="53" y="375"/>
|
||||
</scene>
|
||||
</scenes>
|
||||
</document>
|
||||
71
Examples/Jike/SwiftUI_Jike/Cell/ActivityCell.swift
Executable file
@@ -0,0 +1,71 @@
|
||||
//
|
||||
// ActivityCell.swift
|
||||
// SwiftUI_Jike
|
||||
//
|
||||
// Created by alexyang on 2019/6/5.
|
||||
// Copyright © 2019 alexyang. All rights reserved.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct ActivityCell : View {
|
||||
var nickName:String
|
||||
var timeStamp:String
|
||||
var content:String
|
||||
var imgName:String
|
||||
var body: some View {
|
||||
VStack(alignment: .leading){
|
||||
HStack(){
|
||||
VStack{
|
||||
CircleImage(imgName: "pokemon")
|
||||
.padding(.leading, 20)
|
||||
.padding(.top, 10)
|
||||
Spacer()
|
||||
}
|
||||
|
||||
VStack(alignment: .leading){
|
||||
HStack{
|
||||
Text(nickName)
|
||||
.padding(.top, 5)
|
||||
.padding(.bottom, 2)
|
||||
Spacer()
|
||||
}
|
||||
Text(timeStamp)
|
||||
.font(Font.system(size: 12))
|
||||
.color(Color.gray)
|
||||
.padding(.bottom, 2)
|
||||
|
||||
Text(content)
|
||||
.frame(minHeight:50, maxHeight: 300, alignment: .top)
|
||||
.font(Font.system(size: 15))
|
||||
.lineLimit(-1)
|
||||
Image(imgName)
|
||||
.padding(.bottom, 20)
|
||||
.padding(.trailing, 10)
|
||||
}
|
||||
|
||||
}
|
||||
HStack{
|
||||
Spacer()
|
||||
Image("dianzan")
|
||||
Spacer()
|
||||
Image("pinglun")
|
||||
Spacer()
|
||||
Image("share")
|
||||
Spacer()
|
||||
Image("shenglue")
|
||||
}
|
||||
}
|
||||
.lineSpacing(0)
|
||||
.frame(minHeight: 300)
|
||||
}
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
struct ActivityCell_Previews : PreviewProvider {
|
||||
static var previews: some View {
|
||||
ActivityCell(nickName: "皮卡丘", timeStamp: "2小时前",content: "发明一种新吃法#一人食灌蛋手抓饼夹小油条泡菜香肠,挤上番茄酱甜面酱巨好吃呀😘!!灌蛋是灵魂,不能偷懒!!", imgName: "sucai"
|
||||
)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
60
Examples/Jike/SwiftUI_Jike/Cell/CategoryRow.swift
Executable file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
See LICENSE folder for this sample’s licensing information.
|
||||
|
||||
Abstract:
|
||||
A view showing a scrollable list of landmarks.
|
||||
*/
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct CategoryRow: View {
|
||||
var items: [ZoneModel]
|
||||
|
||||
var body: some View {
|
||||
VStack(alignment: .leading) {
|
||||
ScrollView(showsHorizontalIndicator: false) {
|
||||
HStack(alignment: .top, spacing: 0) {
|
||||
ForEach(self.items.identified(by: \.id)) { zone in
|
||||
CategoryItem(zone: zone)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
struct CategoryItem: View {
|
||||
var zone: ZoneModel
|
||||
var body: some View {
|
||||
VStack(alignment: .center) {
|
||||
|
||||
VStack{
|
||||
Color.white
|
||||
.frame(width:65,height:65)
|
||||
.border(Color(red: 218.0/255.0, green: 218.0/255.0, blue: 218.0/255.0),width: 3,cornerRadius: 15)
|
||||
.cornerRadius(15)
|
||||
zone
|
||||
.image(forSize: 55)
|
||||
.renderingMode(.original)
|
||||
.cornerRadius(10)
|
||||
.padding(.top,-68)
|
||||
|
||||
}
|
||||
Text(zone.name)
|
||||
.frame(width: 65, height: 20, alignment: .center)
|
||||
.font(Font.system(size: 12))
|
||||
.padding(.top, -8)
|
||||
}
|
||||
.padding(.trailing, -5)
|
||||
.padding(.leading, 10)
|
||||
}
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
struct CategoryRow_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
|
||||
CategoryRow(items: zonnData)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
40
Examples/Jike/SwiftUI_Jike/Cell/ChatCell.swift
Executable file
@@ -0,0 +1,40 @@
|
||||
//
|
||||
// ChatCell.swift
|
||||
// SwiftUI_Jike
|
||||
//
|
||||
// Created by alexyang on 2019/6/5.
|
||||
// Copyright © 2019 alexyang. All rights reserved.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct ChatCell : View {
|
||||
var imageName:String
|
||||
var title:String
|
||||
var subTitle:String
|
||||
var body: some View {
|
||||
HStack(alignment: .center){
|
||||
CircleImage(imgName:imageName)
|
||||
VStack(alignment: .leading){
|
||||
Text(title)
|
||||
.bold()
|
||||
.padding(.top, 4)
|
||||
Text(subTitle)
|
||||
.color(Color.gray)
|
||||
.padding(.bottom, 8)
|
||||
}
|
||||
Spacer()
|
||||
}
|
||||
.padding(.horizontal, 15)
|
||||
.frame(height: 60)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
struct ChatCell_Previews : PreviewProvider {
|
||||
static var previews: some View {
|
||||
ChatCell(imageName: "chat_box",title: "一条虫",subTitle: "瓦恁出来挨打")
|
||||
}
|
||||
}
|
||||
#endif
|
||||
27
Examples/Jike/SwiftUI_Jike/Cell/CircleImage.swift
Executable file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
See LICENSE folder for this sample’s licensing information.
|
||||
|
||||
Abstract:
|
||||
A view that clips an image to a circle and adds a stroke and shadow.
|
||||
*/
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct CircleImage: View {
|
||||
var imgName:String
|
||||
var body: some View {
|
||||
Image(imgName)
|
||||
.clipShape(Circle())
|
||||
.overlay(
|
||||
|
||||
Circle().stroke(Color.white, lineWidth: 1))
|
||||
|
||||
.shadow(radius: 3)
|
||||
}
|
||||
}
|
||||
|
||||
struct CircleImage_Preview: PreviewProvider {
|
||||
static var previews: some View {
|
||||
CircleImage(imgName:"meIcon")
|
||||
}
|
||||
}
|
||||
51
Examples/Jike/SwiftUI_Jike/Cell/GYSegmentView.swift
Executable file
@@ -0,0 +1,51 @@
|
||||
//
|
||||
// GYSegmentView.swift
|
||||
// Landmarks
|
||||
//
|
||||
// Created by alexyang on 2019/6/6.
|
||||
// Copyright © 2019 Apple. All rights reserved.
|
||||
//
|
||||
import UIKit
|
||||
import SwiftUI
|
||||
|
||||
struct GYSegmentView : UIViewRepresentable {
|
||||
func makeCoordinator() -> GYSegmentView.Coordinator {
|
||||
Coordinator(self)
|
||||
}
|
||||
|
||||
|
||||
var titles:[String]
|
||||
@Binding var currentPage: Int
|
||||
|
||||
func makeUIView(context: Context) -> UISegmentedControl
|
||||
{
|
||||
let segment = UISegmentedControl(items: titles)
|
||||
segment.addTarget(context.coordinator, action:#selector(Coordinator.updateCurrentPage(sender:)) , for: .valueChanged)
|
||||
return segment
|
||||
}
|
||||
|
||||
func updateUIView(_ segment: UISegmentedControl, context: Context) {
|
||||
|
||||
segment.selectedSegmentIndex = currentPage
|
||||
}
|
||||
|
||||
class Coordinator: NSObject {
|
||||
var control: GYSegmentView
|
||||
|
||||
init(_ control: GYSegmentView) {
|
||||
self.control = control
|
||||
}
|
||||
|
||||
@objc func updateCurrentPage(sender: UISegmentedControl) {
|
||||
control.currentPage = sender.selectedSegmentIndex
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
struct GYSegmentView_Previews : PreviewProvider {
|
||||
static var previews: some View {
|
||||
GYSegmentView(titles: ["哈哈","你好","无聊"], currentPage: .constant(0))
|
||||
}
|
||||
}
|
||||
#endif
|
||||
92
Examples/Jike/SwiftUI_Jike/Cell/HomeCell.swift
Executable file
@@ -0,0 +1,92 @@
|
||||
//
|
||||
// HomeCell.swift
|
||||
// SwiftUI_Jike
|
||||
//
|
||||
// Created by alexyang on 2019/6/6.
|
||||
// Copyright © 2019 alexyang. All rights reserved.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct HomeCell : View {
|
||||
var zoneName:String
|
||||
var zoneImgName:String
|
||||
var userIcon:String
|
||||
var nickName:String
|
||||
var timeStamp:String
|
||||
var content:String
|
||||
var imgName:String
|
||||
var body: some View {
|
||||
VStack(alignment: .leading){
|
||||
VStack(){
|
||||
|
||||
HStack{
|
||||
ImageStore.shared.image(name: zoneImgName, size: 60)
|
||||
.cornerRadius(5)
|
||||
.padding(.leading, 20)
|
||||
.padding(.top, 10)
|
||||
.padding(.bottom, 10)
|
||||
VStack(alignment: .leading, spacing: 5){
|
||||
Text(zoneName)
|
||||
.font(Font.system(size: 16))
|
||||
.bold()
|
||||
Text(timeStamp)
|
||||
.font(Font.system(size: 12))
|
||||
.color(Color.gray)
|
||||
.padding(.top, 8)
|
||||
}
|
||||
Spacer()
|
||||
}
|
||||
.background(Color(red: 245.0/255.0, green: 245.0/255.0, blue: 245.0/255.0))
|
||||
|
||||
VStack(alignment: .leading){
|
||||
Text(content)
|
||||
.font(Font.system(size: 15))
|
||||
.frame(minWidth: 320,minHeight:50, maxHeight: 300, alignment: .leading)
|
||||
.lineLimit(-1)
|
||||
ImageStore.shared.image(name: imgName, size: 200)
|
||||
.padding(.bottom, 10)
|
||||
}
|
||||
.padding(.leading, -20)
|
||||
|
||||
HStack(alignment: .center){
|
||||
CircleImage(imgName: userIcon)
|
||||
.padding(.leading, 20)
|
||||
Text(nickName)
|
||||
.font(Font.system(size: 14))
|
||||
.bold()
|
||||
Text("发布")
|
||||
.font(Font.system(size: 13))
|
||||
.color(Color.gray)
|
||||
Spacer()
|
||||
}
|
||||
|
||||
}
|
||||
Divider()
|
||||
.padding(.horizontal,20)
|
||||
HStack{
|
||||
Image("dianzan")
|
||||
Spacer()
|
||||
Image("pinglun")
|
||||
Spacer()
|
||||
Image("share")
|
||||
Spacer()
|
||||
Image("shenglue")
|
||||
}
|
||||
.padding(.leading, 20)
|
||||
.padding(.trailing, 20)
|
||||
Color(red: 240.0/255.0, green: 243.0/255.0, blue: 245.0/255.0)
|
||||
.frame(height: CGFloat(1.0))
|
||||
}
|
||||
.frame(height:450)
|
||||
}
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
struct HomeCell_Previews : PreviewProvider {
|
||||
static var previews: some View {
|
||||
HomeCell(zoneName: "人人都爱宝可梦", zoneImgName: "30_Fotor", userIcon: "pokemon", nickName: "皮卡丘", timeStamp: "2小时前",content: "蒜头丘!\n皮卡皮卡₍₍ (̨̡ ‾᷄ᗣ‾᷅ )̧̢ ₎₎", imgName: "kcc"
|
||||
)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
38
Examples/Jike/SwiftUI_Jike/Cell/SettingCell.swift
Executable file
@@ -0,0 +1,38 @@
|
||||
//
|
||||
// SettingCell.swift
|
||||
// SwiftUI_Jike
|
||||
//
|
||||
// Created by alexyang on 2019/6/5.
|
||||
// Copyright © 2019 alexyang. All rights reserved.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct SettingCell : View {
|
||||
var imageName:String
|
||||
var title:String
|
||||
var body: some View {
|
||||
VStack{
|
||||
HStack(){
|
||||
Image(imageName)
|
||||
Text(title)
|
||||
Spacer()
|
||||
}
|
||||
.padding(.top, 5)
|
||||
.frame(height: 44)
|
||||
.padding(.horizontal, 15)
|
||||
Spacer()
|
||||
Color(red: 240.0/255.0, green: 243.0/255.0, blue: 245.0/255.0)
|
||||
.frame(height: 1)
|
||||
}
|
||||
.frame(height: 50)
|
||||
}
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
struct SettingCell_Previews : PreviewProvider {
|
||||
static var previews: some View {
|
||||
SettingCell(imageName: "setting_quanzi", title: "我的圈子")
|
||||
}
|
||||
}
|
||||
#endif
|
||||
32
Examples/Jike/SwiftUI_Jike/Cell/ZoneCell.swift
Executable file
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// ZoneCell.swift
|
||||
// SwiftUI_Jike
|
||||
//
|
||||
// Created by alexyang on 2019/6/5.
|
||||
// Copyright © 2019 alexyang. All rights reserved.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct ZoneCell : View {
|
||||
var imgName:String
|
||||
var title:String
|
||||
var body: some View {
|
||||
VStack{
|
||||
Image(imgName)
|
||||
Text(title)
|
||||
.font(Font.system(size: 10))
|
||||
.color(Color.gray)
|
||||
.frame(alignment: .center)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
struct ZoneCell_Previews : PreviewProvider {
|
||||
static var previews: some View {
|
||||
ZoneCell(imgName: "pokemon", title: "苹果产品爱好者")
|
||||
}
|
||||
}
|
||||
#endif
|
||||