Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
陈高翔
/
DreamSleep-iOS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit c82a945d
由
cgx
编写于
2022-09-02 14:12:19 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
配置flutter环境
1 个父辈
dab39bc4
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
21 个修改的文件
包含
445 行增加
和
6 行删除
.dart_tool/flutter_build/aa82e7e383d402dc6cbc60df8c12fd5c/.filecache
.dart_tool/flutter_build/aa82e7e383d402dc6cbc60df8c12fd5c/debug_unpack_ios.stamp
.dart_tool/flutter_build/aa82e7e383d402dc6cbc60df8c12fd5c/gen_localizations.stamp
.dart_tool/flutter_build/aa82e7e383d402dc6cbc60df8c12fd5c/outputs.json
DreamSleep/DreamSleep.xcodeproj/project.pbxproj
DreamSleep/DreamSleep/Basement/DSConfig/Beta.xcconfig
DreamSleep/DreamSleep/Basement/DSConfig/Debug.xcconfig
DreamSleep/DreamSleep/Basement/DSConfig/Info_Debug.plist
DreamSleep/DreamSleep/Basement/DSConfig/Release.xcconfig
DreamSleep/DreamSleep/Class/CommunityModule/Community.storyboard
DreamSleep/DreamSleep/Class/CommunityModule/CommunityController.h
DreamSleep/DreamSleep/Class/CommunityModule/CommunityController.m
DreamSleep/DreamSleep/Class/HomeModule/Home/Controller/Home.storyboard
DreamSleep/DreamSleep/Class/Start/Root/Base.lproj/Community~.storyboard
DreamSleep/DreamSleep/Class/Start/Root/Base.lproj/Main.storyboard
DreamSleep/DreamSleep/Flutter/BaseFlutterController.h
DreamSleep/DreamSleep/Flutter/BaseFlutterController.m
DreamSleep/DreamSleep/Flutter/TestFlutterController.h
DreamSleep/DreamSleep/Flutter/TestFlutterController.m
DreamSleep/Podfile
DreamSleep/Podfile.lock
.dart_tool/flutter_build/aa82e7e383d402dc6cbc60df8c12fd5c/.filecache
0 → 100644
查看文件 @
c82a945
{"version":2,"files":[{"path":"/opt/flutter/packages/flutter_tools/lib/src/build_system/targets/ios.dart","hash":"30382dc6a56e8da43d32e4fef0775caf"},{"path":"/opt/flutter/bin/internal/engine.version","hash":"a47654b2429796f47f684eab8bb7cde3"},{"path":"/Users/peter/Library/Developer/Xcode/DerivedData/DreamSleep-fffnjnumwxitmpeikycdhzekfdur/Build/Products/Beta-iphoneos/Flutter.framework/Flutter","hash":"b14e303db653b64208872c2988e273ba"}]}
\ No newline at end of file
\ No newline at end of file
.dart_tool/flutter_build/aa82e7e383d402dc6cbc60df8c12fd5c/debug_unpack_ios.stamp
0 → 100644
查看文件 @
c82a945
{"inputs":["/opt/flutter/packages/flutter_tools/lib/src/build_system/targets/ios.dart","/opt/flutter/bin/internal/engine.version"],"outputs":["/Users/peter/Library/Developer/Xcode/DerivedData/DreamSleep-fffnjnumwxitmpeikycdhzekfdur/Build/Products/Beta-iphoneos/Flutter.framework/Flutter"]}
\ No newline at end of file
\ No newline at end of file
.dart_tool/flutter_build/aa82e7e383d402dc6cbc60df8c12fd5c/gen_localizations.stamp
0 → 100644
查看文件 @
c82a945
{"inputs":[],"outputs":[]}
\ No newline at end of file
\ No newline at end of file
.dart_tool/flutter_build/aa82e7e383d402dc6cbc60df8c12fd5c/outputs.json
0 → 100644
查看文件 @
c82a945
[
"/Users/peter/Library/Developer/Xcode/DerivedData/DreamSleep-fffnjnumwxitmpeikycdhzekfdur/Build/Products/Beta-iphoneos/Flutter.framework/Flutter"
]
\ No newline at end of file
\ No newline at end of file
DreamSleep/DreamSleep.xcodeproj/project.pbxproj
查看文件 @
c82a945
此文件的差异被折叠,
点击展开。
DreamSleep/DreamSleep/Basement/DSConfig/Beta.xcconfig
查看文件 @
c82a945
...
@@ -11,3 +11,5 @@ HOST_URL = https:${SLANT}/cbti.mynatapp.cc
...
@@ -11,3 +11,5 @@ HOST_URL = https:${SLANT}/cbti.mynatapp.cc
//OTHER_LDFLAGS = $(inherited) -framework "UnityFramework"
//OTHER_LDFLAGS = $(inherited) -framework "UnityFramework"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) DSBETA=1
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) DSBETA=1
FLUTTER_BUILD_MODE = debug
DreamSleep/DreamSleep/Basement/DSConfig/Debug.xcconfig
查看文件 @
c82a945
...
@@ -9,3 +9,4 @@ HOST_URL = https:${SLANT}/cbti.mynatapp.cc
...
@@ -9,3 +9,4 @@ HOST_URL = https:${SLANT}/cbti.mynatapp.cc
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) DSDEV=1
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) DSDEV=1
FLUTTER_BUILD_MODE = debug
DreamSleep/DreamSleep/Basement/DSConfig/Info_Debug.plist
0 → 100644
查看文件 @
c82a945
<?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>
Bundle_Display_Name
</key>
<string>
$(App_Display_Name)
</string>
<key>
CFBundleURLTypes
</key>
<array>
<dict>
<key>
CFBundleTypeRole
</key>
<string>
Editor
</string>
<key>
CFBundleURLName
</key>
<string>
wechat
</string>
<key>
CFBundleURLSchemes
</key>
<array>
<string>
wx4cdd4760092cdfdf
</string>
</array>
</dict>
<dict>
<key>
CFBundleTypeRole
</key>
<string>
Editor
</string>
<key>
CFBundleURLName
</key>
<string>
tencent
</string>
<key>
CFBundleURLSchemes
</key>
<array>
<string>
tencent1111310949
</string>
</array>
</dict>
<dict>
<key>
CFBundleTypeRole
</key>
<string>
Editor
</string>
<key>
CFBundleURLName
</key>
<string>
qq
</string>
<key>
CFBundleURLSchemes
</key>
<array>
<string>
QQ423D4265
</string>
</array>
</dict>
<dict>
<key>
CFBundleTypeRole
</key>
<string>
Editor
</string>
<key>
CFBundleURLName
</key>
<string>
com.aolei.sleep
</string>
<key>
CFBundleURLSchemes
</key>
<array>
<string>
dreamsleep
</string>
</array>
</dict>
<dict>
<key>
CFBundleTypeRole
</key>
<string>
Editor
</string>
<key>
CFBundleURLName
</key>
<string>
com.um
</string>
<key>
CFBundleURLSchemes
</key>
<array>
<string>
um.62048053e0f9bb492bfcb0e8
</string>
</array>
</dict>
</array>
<key>
HOST_URL
</key>
<string>
${HOST_URL}
</string>
<key>
LSApplicationQueriesSchemes
</key>
<array>
<string>
wechat
</string>
<string>
weixin
</string>
<string>
weixinULAPI
</string>
<string>
mqqopensdklaunchminiapp
</string>
<string>
mqqopensdkminiapp
</string>
<string>
mqqapi
</string>
<string>
mqq
</string>
<string>
mqqOpensdkSSoLogin
</string>
<string>
mqqconnect
</string>
<string>
tim
</string>
<string>
timapi
</string>
<string>
timopensdkfriend
</string>
<string>
timwpa
</string>
<string>
timgamebindinggroup
</string>
<string>
timapiwallet
</string>
<string>
timOpensdkSSoLogin
</string>
<string>
wtlogintim
</string>
<string>
timopensdkgrouptribeshare
</string>
<string>
timopensdkapiV4
</string>
<string>
timgamebindinggroup
</string>
<string>
timopensdkdataline
</string>
<string>
wtlogintimV1
</string>
<string>
timapiV1
</string>
<string>
mqqopensdkapiv2
</string>
</array>
<key>
NSAppTransportSecurity
</key>
<dict>
<key>
NSAllowsArbitraryLoads
</key>
<true/>
</dict>
<key>
Privacy - Photo Library Additions Usage Description
</key>
<string>
APP需要您的同意,才能访问相册。
</string>
<key>
UIBackgroundModes
</key>
<array>
<string>
audio
</string>
</array>
<key>
UIStatusBarStyle
</key>
<string>
UIStatusBarStyleLightContent
</string>
<key>
NSBonjourServices
</key>
<array>
<string>
_dartobservatory._tcp
</string>
</array>
<key>
NSLocalNetworkUsageDescription
</key>
<string>
需要访问本地网络权限
</string>
</dict>
</plist>
DreamSleep/DreamSleep/Basement/DSConfig/Release.xcconfig
查看文件 @
c82a945
...
@@ -10,3 +10,5 @@ HOST_URL = https:${SLANT}/www.cbti.cn
...
@@ -10,3 +10,5 @@ HOST_URL = https:${SLANT}/www.cbti.cn
/// 用于开启友盟数据埋点统计、APP更新
/// 用于开启友盟数据埋点统计、APP更新
/// DSRELEASE前面必须有空格
/// DSRELEASE前面必须有空格
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) DSRELEASE=1
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) DSRELEASE=1
FLUTTER_BUILD_MODE = release
DreamSleep/DreamSleep/Class/CommunityModule/Community.storyboard
0 → 100644
查看文件 @
c82a945
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"20037"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
initialViewController=
"Ly8-54-acr"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"20020"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<scenes>
<!--社区-->
<scene
sceneID=
"r6W-es-cXt"
>
<objects>
<navigationController
title=
"社区"
id=
"Ly8-54-acr"
customClass=
"BaseNaviController"
sceneMemberID=
"viewController"
>
<tabBarItem
key=
"tabBarItem"
title=
"社区"
image=
"moon.circle"
catalog=
"system"
selectedImage=
"moon.circle.fill"
id=
"c3n-YH-Gwa"
/>
<navigationBar
key=
"navigationBar"
contentMode=
"scaleToFill"
id=
"0aX-Zq-ZfB"
>
<rect
key=
"frame"
x=
"0.0"
y=
"44"
width=
"414"
height=
"44"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
</navigationBar>
<connections>
<segue
destination=
"Ehy-5Y-cXQ"
kind=
"relationship"
relationship=
"rootViewController"
id=
"JjL-tn-BaD"
/>
</connections>
</navigationController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"h3M-BS-u5P"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"1922"
y=
"285"
/>
</scene>
<!--Community Controller-->
<scene
sceneID=
"ww5-CH-jxU"
>
<objects>
<viewController
id=
"Ehy-5Y-cXQ"
customClass=
"CommunityController"
sceneMemberID=
"viewController"
>
<view
key=
"view"
contentMode=
"scaleToFill"
id=
"dUD-RR-dAj"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<viewLayoutGuide
key=
"safeArea"
id=
"lHr-Eb-nSc"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
</view>
<navigationItem
key=
"navigationItem"
id=
"Wwx-ar-9Qp"
/>
</viewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"By2-dj-DQt"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"2680"
y=
"285"
/>
</scene>
</scenes>
<resources>
<image
name=
"moon.circle"
catalog=
"system"
width=
"128"
height=
"121"
/>
<image
name=
"moon.circle.fill"
catalog=
"system"
width=
"128"
height=
"121"
/>
<systemColor
name=
"systemBackgroundColor"
>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
</systemColor>
</resources>
</document>
DreamSleep/DreamSleep/Class/CommunityModule/CommunityController.h
0 → 100644
查看文件 @
c82a945
//
// CommunityController.h
// DreamSleep
//
// Created by peter on 2022/9/2.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface
CommunityController
:
UIViewController
@end
NS_ASSUME_NONNULL_END
DreamSleep/DreamSleep/Class/CommunityModule/CommunityController.m
0 → 100644
查看文件 @
c82a945
//
// CommunityController.m
// DreamSleep
//
// Created by peter on 2022/9/2.
//
#import "CommunityController.h"
#import "TestFlutterController.h"
@interface
CommunityController
()
@property
(
nonatomic
,
strong
)
TestFlutterController
*
flutterEngine
;
@end
@implementation
CommunityController
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
self
.
flutterEngine
=
[
TestFlutterController
new
];
}
-
(
void
)
touchesBegan
:
(
NSSet
<
UITouch
*>
*
)
touches
withEvent
:
(
UIEvent
*
)
event
{
[
self
.
navigationController
pushViewController
:
self
.
flutterEngine
animated
:
YES
];
}
@end
DreamSleep/DreamSleep/Class/HomeModule/Home/Controller/Home.storyboard
查看文件 @
c82a945
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
<image
name=
"home"
width=
"25"
height=
"25"
/>
<image
name=
"home"
width=
"25"
height=
"25"
/>
<image
name=
"home_selected"
width=
"25"
height=
"25"
/>
<image
name=
"home_selected"
width=
"25"
height=
"25"
/>
<systemColor
name=
"systemBackgroundColor"
>
<systemColor
name=
"systemBackgroundColor"
>
<color
red=
"0.0"
green=
"0.46000000000000002"
blue=
"0.89000000000000001"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB
"
/>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace
"
/>
</systemColor>
</systemColor>
</resources>
</resources>
</document>
</document>
DreamSleep/DreamSleep/Class/Start/Root/Base.lproj/Community~.storyboard
0 → 100644
查看文件 @
c82a945
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"20037"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
initialViewController=
"QZO-WX-k32"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"20020"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<scenes>
<!--Tab Bar Controller-->
<scene
sceneID=
"ce9-hW-8Zi"
>
<objects>
<tabBarController
storyboardIdentifier=
"mainSB"
id=
"QZO-WX-k32"
customClass=
"DSTabBarController"
sceneMemberID=
"viewController"
>
<tabBar
key=
"tabBar"
contentMode=
"scaleToFill"
insetsLayoutMarginsFromSafeArea=
"NO"
id=
"hwk-wY-PYO"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"49"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
</tabBar>
<connections>
<segue
destination=
"c33-ux-a8E"
kind=
"relationship"
relationship=
"viewControllers"
id=
"3hM-PG-ZQI"
/>
<segue
destination=
"Ldl-8e-8kZ"
kind=
"relationship"
relationship=
"viewControllers"
id=
"PLC-QQ-1fZ"
/>
<segue
destination=
"mao-Qg-fTf"
kind=
"relationship"
relationship=
"viewControllers"
id=
"3cF-1s-M4e"
/>
<segue
destination=
"Ly8-54-acr"
kind=
"relationship"
relationship=
"viewControllers"
id=
"3pz-Ae-DIc"
/>
</connections>
</tabBarController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"nyq-cf-tLQ"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"713"
y=
"104"
/>
</scene>
<!--Home-->
<scene
sceneID=
"dDP-pO-M62"
>
<objects>
<viewControllerPlaceholder
storyboardName=
"Home"
id=
"c33-ux-a8E"
sceneMemberID=
"viewController"
>
<tabBarItem
key=
"tabBarItem"
title=
"首页"
image=
"home"
selectedImage=
"home_selected"
id=
"Smw-jw-8ah"
/>
</viewControllerPlaceholder>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"bce-l3-dq2"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"1349"
y=
"-213"
/>
</scene>
<!--AISleepCoach-->
<scene
sceneID=
"rVm-gi-KB1"
>
<objects>
<viewControllerPlaceholder
storyboardName=
"AISleepCoach"
id=
"Ldl-8e-8kZ"
sceneMemberID=
"viewController"
>
<tabBarItem
key=
"tabBarItem"
title=
"AI睡眠教练"
image=
"aisleep"
selectedImage=
"aisleep_selected"
id=
"hhA-gt-gs3"
/>
</viewControllerPlaceholder>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"h0L-Y4-DfH"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"1417"
y=
"-53"
/>
</scene>
<!--Item-->
<scene
sceneID=
"r6W-es-cXt"
>
<objects>
<navigationController
id=
"Ly8-54-acr"
customClass=
"BaseNaviController"
sceneMemberID=
"viewController"
>
<tabBarItem
key=
"tabBarItem"
title=
"Item"
id=
"c3n-YH-Gwa"
/>
<navigationBar
key=
"navigationBar"
contentMode=
"scaleToFill"
id=
"0aX-Zq-ZfB"
>
<rect
key=
"frame"
x=
"0.0"
y=
"44"
width=
"414"
height=
"44"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
</navigationBar>
<connections>
<segue
destination=
"Ehy-5Y-cXQ"
kind=
"relationship"
relationship=
"rootViewController"
id=
"JjL-tn-BaD"
/>
</connections>
</navigationController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"h3M-BS-u5P"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"1922"
y=
"285"
/>
</scene>
<!--Profile-->
<scene
sceneID=
"Q5J-Ct-RJu"
>
<objects>
<viewControllerPlaceholder
storyboardName=
"Profile"
id=
"mao-Qg-fTf"
sceneMemberID=
"viewController"
>
<tabBarItem
key=
"tabBarItem"
title=
"我的"
image=
"profile"
selectedImage=
"profile_selected"
id=
"GRP-mg-DTk"
/>
</viewControllerPlaceholder>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"SVV-y3-HSF"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"1417"
y=
"395"
/>
</scene>
<!--Community Controller-->
<scene
sceneID=
"ww5-CH-jxU"
>
<objects>
<viewController
id=
"Ehy-5Y-cXQ"
customClass=
"CommunityController"
sceneMemberID=
"viewController"
>
<view
key=
"view"
contentMode=
"scaleToFill"
id=
"dUD-RR-dAj"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<viewLayoutGuide
key=
"safeArea"
id=
"lHr-Eb-nSc"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
</view>
<navigationItem
key=
"navigationItem"
id=
"Wwx-ar-9Qp"
/>
</viewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"By2-dj-DQt"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"2617"
y=
"285"
/>
</scene>
</scenes>
<resources>
<image
name=
"aisleep"
width=
"25"
height=
"25"
/>
<image
name=
"aisleep_selected"
width=
"25"
height=
"25"
/>
<image
name=
"home"
width=
"25"
height=
"25"
/>
<image
name=
"home_selected"
width=
"25"
height=
"25"
/>
<image
name=
"profile"
width=
"25"
height=
"25"
/>
<image
name=
"profile_selected"
width=
"25"
height=
"25"
/>
<systemColor
name=
"systemBackgroundColor"
>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
</systemColor>
</resources>
</document>
DreamSleep/DreamSleep/Class/Start/Root/Base.lproj/Main.storyboard
查看文件 @
c82a945
...
@@ -18,7 +18,8 @@
...
@@ -18,7 +18,8 @@
<connections>
<connections>
<segue
destination=
"c33-ux-a8E"
kind=
"relationship"
relationship=
"viewControllers"
id=
"3hM-PG-ZQI"
/>
<segue
destination=
"c33-ux-a8E"
kind=
"relationship"
relationship=
"viewControllers"
id=
"3hM-PG-ZQI"
/>
<segue
destination=
"Ldl-8e-8kZ"
kind=
"relationship"
relationship=
"viewControllers"
id=
"PLC-QQ-1fZ"
/>
<segue
destination=
"Ldl-8e-8kZ"
kind=
"relationship"
relationship=
"viewControllers"
id=
"PLC-QQ-1fZ"
/>
<segue
destination=
"mao-Qg-fTf"
kind=
"relationship"
relationship=
"viewControllers"
id=
"3cF-1s-M4e"
/>
<segue
destination=
"c6t-GT-Ip2"
kind=
"relationship"
relationship=
"viewControllers"
id=
"lBu-zq-ieb"
/>
<segue
destination=
"mao-Qg-fTf"
kind=
"relationship"
relationship=
"viewControllers"
id=
"qYj-6w-8Qs"
/>
</connections>
</connections>
</tabBarController>
</tabBarController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"nyq-cf-tLQ"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"nyq-cf-tLQ"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
...
@@ -33,7 +34,7 @@
...
@@ -33,7 +34,7 @@
</viewControllerPlaceholder>
</viewControllerPlaceholder>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"bce-l3-dq2"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"bce-l3-dq2"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
</objects>
<point
key=
"canvasLocation"
x=
"1
349"
y=
"-213
"
/>
<point
key=
"canvasLocation"
x=
"1
404"
y=
"-188
"
/>
</scene>
</scene>
<!--AISleepCoach-->
<!--AISleepCoach-->
<scene
sceneID=
"rVm-gi-KB1"
>
<scene
sceneID=
"rVm-gi-KB1"
>
...
@@ -43,7 +44,7 @@
...
@@ -43,7 +44,7 @@
</viewControllerPlaceholder>
</viewControllerPlaceholder>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"h0L-Y4-DfH"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"h0L-Y4-DfH"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
</objects>
<point
key=
"canvasLocation"
x=
"1
386"
y=
"104
"
/>
<point
key=
"canvasLocation"
x=
"1
405"
y=
"-1
"
/>
</scene>
</scene>
<!--Profile-->
<!--Profile-->
<scene
sceneID=
"Q5J-Ct-RJu"
>
<scene
sceneID=
"Q5J-Ct-RJu"
>
...
@@ -53,7 +54,17 @@
...
@@ -53,7 +54,17 @@
</viewControllerPlaceholder>
</viewControllerPlaceholder>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"SVV-y3-HSF"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"SVV-y3-HSF"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
</objects>
<point
key=
"canvasLocation"
x=
"1417"
y=
"395"
/>
<point
key=
"canvasLocation"
x=
"1426"
y=
"378"
/>
</scene>
<!--Community-->
<scene
sceneID=
"h1b-MZ-mAr"
>
<objects>
<viewControllerPlaceholder
storyboardName=
"Community"
id=
"c6t-GT-Ip2"
sceneMemberID=
"viewController"
>
<tabBarItem
key=
"tabBarItem"
title=
"社区"
image=
"moon.circle"
catalog=
"system"
selectedImage=
"moon.circle.fill"
id=
"0HZ-3U-AMz"
/>
</viewControllerPlaceholder>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"F78-ki-dIg"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"1404"
y=
"190"
/>
</scene>
</scene>
</scenes>
</scenes>
<resources>
<resources>
...
@@ -61,6 +72,8 @@
...
@@ -61,6 +72,8 @@
<image
name=
"aisleep_selected"
width=
"25"
height=
"25"
/>
<image
name=
"aisleep_selected"
width=
"25"
height=
"25"
/>
<image
name=
"home"
width=
"25"
height=
"25"
/>
<image
name=
"home"
width=
"25"
height=
"25"
/>
<image
name=
"home_selected"
width=
"25"
height=
"25"
/>
<image
name=
"home_selected"
width=
"25"
height=
"25"
/>
<image
name=
"moon.circle"
catalog=
"system"
width=
"128"
height=
"121"
/>
<image
name=
"moon.circle.fill"
catalog=
"system"
width=
"128"
height=
"121"
/>
<image
name=
"profile"
width=
"25"
height=
"25"
/>
<image
name=
"profile"
width=
"25"
height=
"25"
/>
<image
name=
"profile_selected"
width=
"25"
height=
"25"
/>
<image
name=
"profile_selected"
width=
"25"
height=
"25"
/>
</resources>
</resources>
...
...
DreamSleep/DreamSleep/Flutter/BaseFlutterController.h
0 → 100644
查看文件 @
c82a945
//
// BaseFlutterController.h
// DreamSleep
//
// Created by peter on 2022/9/1.
//
#import <Flutter/Flutter.h>
NS_ASSUME_NONNULL_BEGIN
@interface
BaseFlutterController
:
FlutterViewController
@end
NS_ASSUME_NONNULL_END
DreamSleep/DreamSleep/Flutter/BaseFlutterController.m
0 → 100644
查看文件 @
c82a945
//
// BaseFlutterController.m
// DreamSleep
//
// Created by peter on 2022/9/1.
//
#import "BaseFlutterController.h"
@interface
BaseFlutterController
()
@end
@implementation
BaseFlutterController
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
self
.
view
.
backgroundColor
=
DSWhite
;
self
.
splashScreenView
.
hidden
=
YES
;
}
#pragma mark - 隐藏导航栏
-
(
BOOL
)
isShowNavigationBar
{
return
YES
;
}
@end
DreamSleep/DreamSleep/Flutter/TestFlutterController.h
0 → 100644
查看文件 @
c82a945
//
// TestFlutterController.h
// DreamSleep
//
// Created by peter on 2022/9/1.
//
#import "BaseFlutterController.h"
NS_ASSUME_NONNULL_BEGIN
@interface
TestFlutterController
:
BaseFlutterController
@end
NS_ASSUME_NONNULL_END
DreamSleep/DreamSleep/Flutter/TestFlutterController.m
0 → 100644
查看文件 @
c82a945
//
// TestFlutterController.m
// DreamSleep
//
// Created by peter on 2022/9/1.
//
#import "TestFlutterController.h"
@interface
TestFlutterController
()
@end
@implementation
TestFlutterController
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
}
@end
DreamSleep/Podfile
查看文件 @
c82a945
platform
:ios
,
'11.0'
platform
:ios
,
'11.0'
flutter_application_path
=
'/Users/peter/StudioProjects/dream_sleep_flutter'
load
File
.
join
(
flutter_application_path
,
'.ios'
,
'Flutter'
,
'podhelper.rb'
)
target
'DreamSleep'
do
target
'DreamSleep'
do
use_frameworks!
use_frameworks!
pod
'AFNetworking'
,
'~> 4.0.1'
pod
'AFNetworking'
,
'~> 4.0.1'
...
@@ -17,6 +20,8 @@ target 'DreamSleep' do
...
@@ -17,6 +20,8 @@ target 'DreamSleep' do
pod
'KTVHTTPCache'
,
'~> 2.0.1'
pod
'KTVHTTPCache'
,
'~> 2.0.1'
pod
'TZImagePickerController'
,
'~> 3.8.3'
pod
'TZImagePickerController'
,
'~> 3.8.3'
pod
'KVOController'
,
'~> 1.2.0'
pod
'KVOController'
,
'~> 1.2.0'
install_all_flutter_pods
(
flutter_application_path
)
end
end
# AFNetworking (4.0.1)
# AFNetworking (4.0.1)
...
...
DreamSleep/Podfile.lock
查看文件 @
c82a945
...
@@ -29,6 +29,11 @@ PODS:
...
@@ -29,6 +29,11 @@ PODS:
- DKNightVersion/UIKit (2.4.3):
- DKNightVersion/UIKit (2.4.3):
- DKNightVersion/Core
- DKNightVersion/Core
- DOUAudioStreamer (0.2.16)
- DOUAudioStreamer (0.2.16)
- dream_sleep_flutter (0.0.1):
- Flutter
- Flutter (1.0.0)
- FlutterPluginRegistrant (0.0.1):
- Flutter
- FreeStreamer (4.0.0):
- FreeStreamer (4.0.0):
- Reachability (~> 3.0)
- Reachability (~> 3.0)
- IQKeyboardManager (6.5.10)
- IQKeyboardManager (6.5.10)
...
@@ -62,6 +67,9 @@ DEPENDENCIES:
...
@@ -62,6 +67,9 @@ DEPENDENCIES:
- AFNetworking (~> 4.0.1)
- AFNetworking (~> 4.0.1)
- DKNightVersion (~> 2.4.3)
- DKNightVersion (~> 2.4.3)
- DOUAudioStreamer (~> 0.2.16)
- DOUAudioStreamer (~> 0.2.16)
- dream_sleep_flutter (from `../../../StudioProjects/dream_sleep_flutter/.ios/Flutter`)
- Flutter (from `../../../StudioProjects/dream_sleep_flutter/.ios/Flutter/engine`)
- FlutterPluginRegistrant (from `../../../StudioProjects/dream_sleep_flutter/.ios/Flutter/FlutterPluginRegistrant`)
- FreeStreamer (~> 4.0.0)
- FreeStreamer (~> 4.0.0)
- IQKeyboardManager (~> 6.5.10)
- IQKeyboardManager (~> 6.5.10)
- KTVHTTPCache (~> 2.0.1)
- KTVHTTPCache (~> 2.0.1)
...
@@ -97,11 +105,22 @@ SPEC REPOS:
...
@@ -97,11 +105,22 @@ SPEC REPOS:
- YYModel
- YYModel
- YYWebImage
- YYWebImage
EXTERNAL SOURCES:
dream_sleep_flutter:
:path: "../../../StudioProjects/dream_sleep_flutter/.ios/Flutter"
Flutter:
:path: "../../../StudioProjects/dream_sleep_flutter/.ios/Flutter/engine"
FlutterPluginRegistrant:
:path: "../../../StudioProjects/dream_sleep_flutter/.ios/Flutter/FlutterPluginRegistrant"
SPEC CHECKSUMS:
SPEC CHECKSUMS:
AFNetworking: 7864c38297c79aaca1500c33288e429c3451fdce
AFNetworking: 7864c38297c79aaca1500c33288e429c3451fdce
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
DKNightVersion: eaa80cc4014b4bae7d4b535fd87ecc6a3c2767b3
DKNightVersion: eaa80cc4014b4bae7d4b535fd87ecc6a3c2767b3
DOUAudioStreamer: c503ba2ecb9a54ff7bda0eff66963ad224f3c7dc
DOUAudioStreamer: c503ba2ecb9a54ff7bda0eff66963ad224f3c7dc
dream_sleep_flutter: 1bfeb467fa4c71dba8678f27cd120aae10011098
Flutter: bdfa2e8fe0e2880a2c6a58a0b1a8675c262a07af
FlutterPluginRegistrant: d3a0fbc12bc47787a12fcc919193f3959aa7d5ad
FreeStreamer: 7e9c976045701ac2f7e9c14c17245203c37bf2ea
FreeStreamer: 7e9c976045701ac2f7e9c14c17245203c37bf2ea
IQKeyboardManager: 45a1fa55c1a5b02c61ac0fd7fd5b62bb4ad20d97
IQKeyboardManager: 45a1fa55c1a5b02c61ac0fd7fd5b62bb4ad20d97
KTVCocoaHTTPServer: df8d7b861e603ff8037e9b2138aca2563a6b768d
KTVCocoaHTTPServer: df8d7b861e603ff8037e9b2138aca2563a6b768d
...
@@ -118,6 +137,6 @@ SPEC CHECKSUMS:
...
@@ -118,6 +137,6 @@ SPEC CHECKSUMS:
YYModel: 2a7fdd96aaa4b86a824e26d0c517de8928c04b30
YYModel: 2a7fdd96aaa4b86a824e26d0c517de8928c04b30
YYWebImage: 5f7f36aee2ae293f016d418c7d6ba05c4863e928
YYWebImage: 5f7f36aee2ae293f016d418c7d6ba05c4863e928
PODFILE CHECKSUM:
319229d796748f474e0ae37b0e38d522e1eeac48
PODFILE CHECKSUM:
42c84d57f54c5d997833f6dfe3a8ac1f2937d286
COCOAPODS: 1.11.3
COCOAPODS: 1.11.3
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论