Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
96b49aae
Unverified
Commit
96b49aae
authored
Sep 14, 2022
by
Alex Wallen
Committed by
GitHub
Sep 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[macOS] Add `flutter_view` example. (#111326)
parent
5f9ad01e
Changes
23
Show whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
1467 additions
and
0 deletions
+1467
-0
.ci.yaml
.ci.yaml
+10
-0
TESTOWNERS
TESTOWNERS
+3
-0
flutter_view_macos__start_up.dart
dev/devicelab/bin/tasks/flutter_view_macos__start_up.dart
+12
-0
Flutter-Debug.xcconfig
examples/flutter_view/macos/Flutter/Flutter-Debug.xcconfig
+1
-0
Flutter-Release.xcconfig
examples/flutter_view/macos/Flutter/Flutter-Release.xcconfig
+1
-0
Main.storyboard
examples/flutter_view/macos/Main.storyboard
+161
-0
project.pbxproj
examples/flutter_view/macos/Runner.xcodeproj/project.pbxproj
+585
-0
IDEWorkspaceChecks.plist
...project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+8
-0
Runner.xcscheme
...s/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+87
-0
contents.xcworkspacedata
...er_view/macos/Runner.xcworkspace/contents.xcworkspacedata
+7
-0
IDEWorkspaceChecks.plist
.../Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+8
-0
AppDelegate.swift
examples/flutter_view/macos/Runner/AppDelegate.swift
+13
-0
MainMenu.xib
examples/flutter_view/macos/Runner/Base.lproj/MainMenu.xib
+344
-0
AppInfo.xcconfig
examples/flutter_view/macos/Runner/Configs/AppInfo.xcconfig
+14
-0
Debug.xcconfig
examples/flutter_view/macos/Runner/Configs/Debug.xcconfig
+2
-0
Release.xcconfig
examples/flutter_view/macos/Runner/Configs/Release.xcconfig
+2
-0
Warnings.xcconfig
examples/flutter_view/macos/Runner/Configs/Warnings.xcconfig
+13
-0
DebugProfile.entitlements
examples/flutter_view/macos/Runner/DebugProfile.entitlements
+12
-0
Info.plist
examples/flutter_view/macos/Runner/Info.plist
+32
-0
MainFlutterWindow.swift
examples/flutter_view/macos/Runner/MainFlutterWindow.swift
+25
-0
MainViewController.swift
examples/flutter_view/macos/Runner/MainViewController.swift
+69
-0
NativeViewController.swift
...ples/flutter_view/macos/Runner/NativeViewController.swift
+50
-0
Release.entitlements
examples/flutter_view/macos/Runner/Release.entitlements
+8
-0
No files found.
.ci.yaml
View file @
96b49aae
...
...
@@ -2502,6 +2502,16 @@ targets:
["devicelab", "hostonly"]
task_name: flutter_gallery_macos__start_up
-
name
:
Mac flutter_view_macos__start_up
bringup
:
true
# New target https://github.com/flutter/flutter/issues/109633
presubmit
:
false
recipe
:
devicelab/devicelab_drone
timeout
:
60
properties
:
tags
:
>
["devicelab", "hostonly"]
task_name
:
flutter_view_macos__start_up
-
name
:
Mac framework_tests_libraries
recipe
:
flutter/flutter_drone
timeout
:
60
...
...
TESTOWNERS
View file @
96b49aae
...
...
@@ -249,6 +249,9 @@
/dev/devicelab/bin/tasks/web_benchmarks_html.dart @yjbanov @flutter/web
/dev/devicelab/bin/tasks/windows_home_scroll_perf__timeline_summary.dart @jonahwilliams @flutter/engine
/dev/devicelab/bin/tasks/windows_startup_test.dart @loic-sharma @flutter/desktop
/dev/devicelab/bin/tasks/complex_layout_macos__compile.dart @a-wallen @flutter/desktop
/dev/devicelab/bin/tasks/flutter_gallery_macos__compile.dart @a-wallen @flutter/desktop
/dev/devicelab/bin/tasks/flutter_view_macos__start_up.dart @a-wallen @flutter/desktop
## Host only framework tests
# Linux analyze
...
...
dev/devicelab/bin/tasks/flutter_view_macos__start_up.dart
0 → 100644
View file @
96b49aae
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
Future
<
void
>
main
()
async
{
deviceOperatingSystem
=
DeviceOperatingSystem
.
macos
;
await
task
(
createFlutterViewStartupTest
());
}
examples/flutter_view/macos/Flutter/Flutter-Debug.xcconfig
0 → 100644
View file @
96b49aae
#include "ephemeral/Flutter-Generated.xcconfig"
examples/flutter_view/macos/Flutter/Flutter-Release.xcconfig
0 → 100644
View file @
96b49aae
#include "ephemeral/Flutter-Generated.xcconfig"
examples/flutter_view/macos/Main.storyboard
0 → 100644
View file @
96b49aae
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"21208.1"
targetRuntime=
"MacOSX.Cocoa"
propertyAccessControl=
"none"
useAutolayout=
"YES"
>
<dependencies>
<deployment
identifier=
"macosx"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.CocoaPlugin"
version=
"21208.1"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<scenes>
<!--Flutter View Controller-->
<scene
sceneID=
"MPq-6h-HP0"
>
<objects>
<viewController
id=
"7GY-dJ-cew"
userLabel=
"Flutter View Controller"
customClass=
"FlutterViewController"
sceneMemberID=
"viewController"
>
<view
key=
"view"
id=
"eEt-A6-Jxk"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"450"
height=
"404"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
</view>
</viewController>
<customObject
id=
"eTc-YD-UwH"
userLabel=
"First Responder"
customClass=
"NSResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"287"
y=
"704"
/>
</scene>
<!--Main View Controller-->
<scene
sceneID=
"OoP-iw-RGx"
>
<objects>
<viewController
storyboardIdentifier=
"MainViewController"
id=
"Zco-B0-Eo5"
customClass=
"MainViewController"
customModule=
"flutter_view"
customModuleProvider=
"target"
sceneMemberID=
"viewController"
>
<view
key=
"view"
id=
"yo2-24-9SJ"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"913"
height=
"683"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<stackView
distribution=
"fill"
orientation=
"horizontal"
alignment=
"top"
horizontalStackHuggingPriority=
"249.99998474121094"
verticalStackHuggingPriority=
"249.99998474121094"
detachesHiddenViews=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"vIi-fL-74a"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"913"
height=
"683"
/>
<subviews>
<containerView
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"NLg-mU-To9"
>
<rect
key=
"frame"
x=
"0.0"
y=
"1"
width=
"450"
height=
"682"
/>
<connections>
<segue
destination=
"fkR-dw-CPc"
kind=
"embed"
identifier=
"NativeViewControllerSegue"
id=
"JOW-cD-XX0"
/>
</connections>
</containerView>
<containerView
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"AGJ-Cf-BSz"
>
<rect
key=
"frame"
x=
"458"
y=
"1"
width=
"455"
height=
"682"
/>
<connections>
<segue
destination=
"7GY-dJ-cew"
kind=
"embed"
identifier=
"FlutterViewControllerSegue"
id=
"0Il-tC-ptk"
/>
</connections>
</containerView>
</subviews>
<constraints>
<constraint
firstItem=
"AGJ-Cf-BSz"
firstAttribute=
"height"
secondItem=
"NLg-mU-To9"
secondAttribute=
"height"
id=
"5bU-7q-KyD"
/>
<constraint
firstItem=
"AGJ-Cf-BSz"
firstAttribute=
"width"
secondItem=
"NLg-mU-To9"
secondAttribute=
"width"
multiplier=
"1.01111"
id=
"PQE-oI-RoL"
/>
</constraints>
<visibilityPriorities>
<integer
value=
"1000"
/>
<integer
value=
"1000"
/>
</visibilityPriorities>
<customSpacing>
<real
value=
"3.4028234663852886e+38"
/>
<real
value=
"3.4028234663852886e+38"
/>
</customSpacing>
</stackView>
</subviews>
<constraints>
<constraint
firstAttribute=
"bottom"
secondItem=
"vIi-fL-74a"
secondAttribute=
"bottom"
id=
"ORj-Up-bVE"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"vIi-fL-74a"
secondAttribute=
"trailing"
id=
"XqL-pC-rc8"
/>
<constraint
firstItem=
"vIi-fL-74a"
firstAttribute=
"leading"
secondItem=
"yo2-24-9SJ"
secondAttribute=
"leading"
id=
"kXT-6f-V55"
/>
<constraint
firstItem=
"vIi-fL-74a"
firstAttribute=
"top"
secondItem=
"yo2-24-9SJ"
secondAttribute=
"top"
id=
"ws7-M4-M5U"
/>
</constraints>
</view>
</viewController>
<customObject
id=
"RER-RE-Ii7"
userLabel=
"First Responder"
customClass=
"NSResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"13.5"
y=
"26.5"
/>
</scene>
<!--Native View Controller-->
<scene
sceneID=
"6te-4i-Zpy"
>
<objects>
<viewController
id=
"fkR-dw-CPc"
userLabel=
"Native View Controller"
customClass=
"NativeViewController"
customModule=
"flutter_view"
customModuleProvider=
"target"
sceneMemberID=
"viewController"
>
<view
key=
"view"
id=
"lMy-hx-gLK"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"450"
height=
"404"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<stackView
distribution=
"fillProportionally"
orientation=
"vertical"
alignment=
"leading"
spacing=
"0.0"
horizontalStackHuggingPriority=
"249.99998474121094"
verticalStackHuggingPriority=
"249.99998474121094"
detachesHiddenViews=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"bEP-zh-PC4"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"450"
height=
"404"
/>
<subviews>
<customView
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"7vK-z0-I0z"
userLabel=
"Top"
>
<rect
key=
"frame"
x=
"0.0"
y=
"70"
width=
"450"
height=
"334"
/>
<subviews>
<textField
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"750"
misplaced=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"ic4-Iq-BCT"
>
<rect
key=
"frame"
x=
"207"
y=
"163"
width=
"4"
height=
"16"
/>
<textFieldCell
key=
"cell"
lineBreakMode=
"clipping"
id=
"EHZ-Ff-uN9"
>
<font
key=
"font"
metaFont=
"system"
size=
"17"
/>
<color
key=
"textColor"
name=
"labelColor"
catalog=
"System"
colorSpace=
"catalog"
/>
<color
key=
"backgroundColor"
name=
"textBackgroundColor"
catalog=
"System"
colorSpace=
"catalog"
/>
</textFieldCell>
</textField>
</subviews>
<constraints>
<constraint
firstItem=
"ic4-Iq-BCT"
firstAttribute=
"centerX"
secondItem=
"7vK-z0-I0z"
secondAttribute=
"centerX"
id=
"edj-sZ-5O7"
/>
<constraint
firstItem=
"ic4-Iq-BCT"
firstAttribute=
"centerY"
secondItem=
"7vK-z0-I0z"
secondAttribute=
"centerY"
id=
"v3Q-Xa-flH"
/>
</constraints>
</customView>
<customView
autoresizesSubviews=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"O0r-UF-j95"
userLabel=
"Bottom"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"450"
height=
"70"
/>
<subviews>
<textField
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"750"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Ocn-t9-rHR"
>
<rect
key=
"frame"
x=
"18"
y=
"20"
width=
"100"
height=
"35"
/>
<textFieldCell
key=
"cell"
lineBreakMode=
"clipping"
title=
"macOS"
id=
"TOF-2b-RIY"
>
<font
key=
"font"
metaFont=
"system"
size=
"30"
/>
<color
key=
"textColor"
name=
"labelColor"
catalog=
"System"
colorSpace=
"catalog"
/>
<color
key=
"backgroundColor"
name=
"textBackgroundColor"
catalog=
"System"
colorSpace=
"catalog"
/>
</textFieldCell>
</textField>
<button
verticalHuggingPriority=
"750"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"uyM-Dx-MIG"
>
<rect
key=
"frame"
x=
"375"
y=
"14"
width=
"55"
height=
"57"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"55"
id=
"2Zv-ge-8fE"
/>
<constraint
firstAttribute=
"width"
constant=
"55"
id=
"bQo-k1-1eM"
/>
</constraints>
<buttonCell
key=
"cell"
type=
"smallSquare"
title=
"+"
bezelStyle=
"smallSquare"
alignment=
"center"
lineBreakMode=
"truncatingTail"
state=
"on"
borderStyle=
"border"
imageScaling=
"proportionallyDown"
inset=
"2"
id=
"az3-aa-8jC"
>
<behavior
key=
"behavior"
pushIn=
"YES"
lightByBackground=
"YES"
lightByGray=
"YES"
/>
<font
key=
"font"
metaFont=
"system"
size=
"18"
/>
</buttonCell>
<connections>
<action
selector=
"handleIncrement:"
target=
"fkR-dw-CPc"
id=
"7k2-NW-4LI"
/>
</connections>
</button>
</subviews>
<constraints>
<constraint
firstItem=
"Ocn-t9-rHR"
firstAttribute=
"leading"
secondItem=
"O0r-UF-j95"
secondAttribute=
"leading"
constant=
"20"
symbolic=
"YES"
id=
"KhQ-Xf-SiD"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"uyM-Dx-MIG"
secondAttribute=
"trailing"
constant=
"20"
symbolic=
"YES"
id=
"LFX-ph-6nb"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"Ocn-t9-rHR"
secondAttribute=
"bottom"
constant=
"20"
symbolic=
"YES"
id=
"Ofu-fn-RDS"
/>
<constraint
firstAttribute=
"height"
constant=
"70"
id=
"V41-3J-PYi"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"uyM-Dx-MIG"
secondAttribute=
"bottom"
constant=
"15"
id=
"Xfq-yS-emb"
/>
</constraints>
</customView>
</subviews>
<visibilityPriorities>
<integer
value=
"1000"
/>
<integer
value=
"1000"
/>
</visibilityPriorities>
<customSpacing>
<real
value=
"3.4028234663852886e+38"
/>
<real
value=
"3.4028234663852886e+38"
/>
</customSpacing>
</stackView>
</subviews>
<constraints>
<constraint
firstItem=
"bEP-zh-PC4"
firstAttribute=
"top"
secondItem=
"lMy-hx-gLK"
secondAttribute=
"top"
id=
"6Fg-dO-Yhl"
/>
<constraint
firstItem=
"bEP-zh-PC4"
firstAttribute=
"leading"
secondItem=
"lMy-hx-gLK"
secondAttribute=
"leading"
id=
"ZiX-CF-CPT"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"bEP-zh-PC4"
secondAttribute=
"bottom"
id=
"doI-ip-Pbz"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"bEP-zh-PC4"
secondAttribute=
"trailing"
id=
"jrN-ON-H5M"
/>
</constraints>
</view>
<connections>
<outlet
property=
"incrementLabel"
destination=
"ic4-Iq-BCT"
id=
"M3U-fC-vbY"
/>
</connections>
</viewController>
<customObject
id=
"v3R-qm-QoP"
userLabel=
"First Responder"
customClass=
"NSResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"-218"
y=
"704"
/>
</scene>
</scenes>
</document>
examples/flutter_view/macos/Runner.xcodeproj/project.pbxproj
0 → 100644
View file @
96b49aae
// !$*UTF8*$!
{
archiveVersion
=
1
;
classes
=
{
};
objectVersion
=
54
;
objects
=
{
/* Begin PBXAggregateTarget section */
33CC111A2044C6BA0003C045
/* Flutter Assemble */
=
{
isa
=
PBXAggregateTarget
;
buildConfigurationList
=
33CC111B2044C6BA0003C045
/* Build configuration list for PBXAggregateTarget "Flutter Assemble" */
;
buildPhases
=
(
33CC111E2044C6BF0003C045
/* ShellScript */
,
);
dependencies
=
(
);
name
=
"Flutter Assemble"
;
productName
=
FLX
;
};
/* End PBXAggregateTarget section */
/* Begin PBXBuildFile section */
335BBD1B22A9A15E00E9071D
/* GeneratedPluginRegistrant.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
335BBD1A22A9A15E00E9071D
/* GeneratedPluginRegistrant.swift */
;
};
33CC10F12044A3C60003C045
/* AppDelegate.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
33CC10F02044A3C60003C045
/* AppDelegate.swift */
;
};
33CC10F32044A3C60003C045
/* Assets.xcassets in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
33CC10F22044A3C60003C045
/* Assets.xcassets */
;
};
33CC10F62044A3C60003C045
/* MainMenu.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
33CC10F42044A3C60003C045
/* MainMenu.xib */
;
};
33CC11132044BFA00003C045
/* MainFlutterWindow.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
33CC11122044BFA00003C045
/* MainFlutterWindow.swift */
;
};
F38F092928CC0D6C009892F7
/* Main.storyboard in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F38F092828CC0D6C009892F7
/* Main.storyboard */
;
};
F38F092B28CC0F0F009892F7
/* NativeViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F38F092A28CC0F0F009892F7
/* NativeViewController.swift */
;
};
F38F092D28CC0FC7009892F7
/* MainViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F38F092C28CC0FC7009892F7
/* MainViewController.swift */
;
};
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
33CC111F2044C79F0003C045
/* PBXContainerItemProxy */
=
{
isa
=
PBXContainerItemProxy
;
containerPortal
=
33CC10E52044A3C60003C045
/* Project object */
;
proxyType
=
1
;
remoteGlobalIDString
=
33CC111A2044C6BA0003C045
;
remoteInfo
=
FLX
;
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
33CC110E2044A8840003C045
/* Bundle Framework */
=
{
isa
=
PBXCopyFilesBuildPhase
;
buildActionMask
=
2147483647
;
dstPath
=
""
;
dstSubfolderSpec
=
10
;
files
=
(
);
name
=
"Bundle Framework"
;
runOnlyForDeploymentPostprocessing
=
0
;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
333000ED22D3DE5D00554162
/* Warnings.xcconfig */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.xcconfig
;
path
=
Warnings.xcconfig
;
sourceTree
=
"<group>"
;
};
335BBD1A22A9A15E00E9071D
/* GeneratedPluginRegistrant.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
GeneratedPluginRegistrant.swift
;
sourceTree
=
"<group>"
;
};
33CC10ED2044A3C60003C045
/* flutter_view.app */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.application
;
includeInIndex
=
0
;
path
=
flutter_view.app
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
33CC10F02044A3C60003C045
/* AppDelegate.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
AppDelegate.swift
;
sourceTree
=
"<group>"
;
};
33CC10F22044A3C60003C045
/* Assets.xcassets */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
folder.assetcatalog
;
name
=
Assets.xcassets
;
path
=
Runner/Assets.xcassets
;
sourceTree
=
"<group>"
;
};
33CC10F52044A3C60003C045
/* Base */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
name
=
Base
;
path
=
Base.lproj/MainMenu.xib
;
sourceTree
=
"<group>"
;
};
33CC10F72044A3C60003C045
/* Info.plist */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.plist.xml
;
name
=
Info.plist
;
path
=
Runner/Info.plist
;
sourceTree
=
"<group>"
;
};
33CC11122044BFA00003C045
/* MainFlutterWindow.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MainFlutterWindow.swift
;
sourceTree
=
"<group>"
;
};
33CEB47222A05771004F2AC0
/* Flutter-Debug.xcconfig */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.xcconfig
;
path
=
"Flutter-Debug.xcconfig"
;
sourceTree
=
"<group>"
;
};
33CEB47422A05771004F2AC0
/* Flutter-Release.xcconfig */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.xcconfig
;
path
=
"Flutter-Release.xcconfig"
;
sourceTree
=
"<group>"
;
};
33CEB47722A0578A004F2AC0
/* Flutter-Generated.xcconfig */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.xcconfig
;
name
=
"Flutter-Generated.xcconfig"
;
path
=
"ephemeral/Flutter-Generated.xcconfig"
;
sourceTree
=
"<group>"
;
};
33E51913231747F40026EE4D
/* DebugProfile.entitlements */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.plist.entitlements
;
path
=
DebugProfile.entitlements
;
sourceTree
=
"<group>"
;
};
33E51914231749380026EE4D
/* Release.entitlements */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
text.plist.entitlements
;
path
=
Release.entitlements
;
sourceTree
=
"<group>"
;
};
33E5194F232828860026EE4D
/* AppInfo.xcconfig */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.xcconfig
;
path
=
AppInfo.xcconfig
;
sourceTree
=
"<group>"
;
};
7AFA3C8E1D35360C0083082E
/* Release.xcconfig */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.xcconfig
;
path
=
Release.xcconfig
;
sourceTree
=
"<group>"
;
};
9740EEB21CF90195004384FC
/* Debug.xcconfig */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
text.xcconfig
;
path
=
Debug.xcconfig
;
sourceTree
=
"<group>"
;
};
F38F092828CC0D6C009892F7
/* Main.storyboard */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.storyboard
;
path
=
Main.storyboard
;
sourceTree
=
"<group>"
;
};
F38F092A28CC0F0F009892F7
/* NativeViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
NativeViewController.swift
;
sourceTree
=
"<group>"
;
};
F38F092C28CC0FC7009892F7
/* MainViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MainViewController.swift
;
sourceTree
=
"<group>"
;
};
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
33CC10EA2044A3C60003C045
/* Frameworks */
=
{
isa
=
PBXFrameworksBuildPhase
;
buildActionMask
=
2147483647
;
files
=
(
);
runOnlyForDeploymentPostprocessing
=
0
;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
33BA886A226E78AF003329D5
/* Configs */
=
{
isa
=
PBXGroup
;
children
=
(
33E5194F232828860026EE4D
/* AppInfo.xcconfig */
,
9740EEB21CF90195004384FC
/* Debug.xcconfig */
,
7AFA3C8E1D35360C0083082E
/* Release.xcconfig */
,
333000ED22D3DE5D00554162
/* Warnings.xcconfig */
,
);
path
=
Configs
;
sourceTree
=
"<group>"
;
};
33CC10E42044A3C60003C045
=
{
isa
=
PBXGroup
;
children
=
(
33FAB671232836740065AC1E
/* Runner */
,
33CEB47122A05771004F2AC0
/* Flutter */
,
33CC10EE2044A3C60003C045
/* Products */
,
D73912EC22F37F3D000D13A0
/* Frameworks */
,
);
sourceTree
=
"<group>"
;
};
33CC10EE2044A3C60003C045
/* Products */
=
{
isa
=
PBXGroup
;
children
=
(
33CC10ED2044A3C60003C045
/* flutter_view.app */
,
);
name
=
Products
;
sourceTree
=
"<group>"
;
};
33CC11242044D66E0003C045
/* Resources */
=
{
isa
=
PBXGroup
;
children
=
(
33CC10F22044A3C60003C045
/* Assets.xcassets */
,
33CC10F42044A3C60003C045
/* MainMenu.xib */
,
F38F092828CC0D6C009892F7
/* Main.storyboard */
,
33CC10F72044A3C60003C045
/* Info.plist */
,
);
name
=
Resources
;
path
=
..
;
sourceTree
=
"<group>"
;
};
33CEB47122A05771004F2AC0
/* Flutter */
=
{
isa
=
PBXGroup
;
children
=
(
335BBD1A22A9A15E00E9071D
/* GeneratedPluginRegistrant.swift */
,
33CEB47222A05771004F2AC0
/* Flutter-Debug.xcconfig */
,
33CEB47422A05771004F2AC0
/* Flutter-Release.xcconfig */
,
33CEB47722A0578A004F2AC0
/* Flutter-Generated.xcconfig */
,
);
path
=
Flutter
;
sourceTree
=
"<group>"
;
};
33FAB671232836740065AC1E
/* Runner */
=
{
isa
=
PBXGroup
;
children
=
(
33CC10F02044A3C60003C045
/* AppDelegate.swift */
,
33CC11122044BFA00003C045
/* MainFlutterWindow.swift */
,
F38F092C28CC0FC7009892F7
/* MainViewController.swift */
,
F38F092A28CC0F0F009892F7
/* NativeViewController.swift */
,
33E51913231747F40026EE4D
/* DebugProfile.entitlements */
,
33E51914231749380026EE4D
/* Release.entitlements */
,
33CC11242044D66E0003C045
/* Resources */
,
33BA886A226E78AF003329D5
/* Configs */
,
);
path
=
Runner
;
sourceTree
=
"<group>"
;
};
D73912EC22F37F3D000D13A0
/* Frameworks */
=
{
isa
=
PBXGroup
;
children
=
(
);
name
=
Frameworks
;
sourceTree
=
"<group>"
;
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
33CC10EC2044A3C60003C045
/* Runner */
=
{
isa
=
PBXNativeTarget
;
buildConfigurationList
=
33CC10FB2044A3C60003C045
/* Build configuration list for PBXNativeTarget "Runner" */
;
buildPhases
=
(
33CC10E92044A3C60003C045
/* Sources */
,
33CC10EA2044A3C60003C045
/* Frameworks */
,
33CC10EB2044A3C60003C045
/* Resources */
,
33CC110E2044A8840003C045
/* Bundle Framework */
,
3399D490228B24CF009A79C7
/* ShellScript */
,
);
buildRules
=
(
);
dependencies
=
(
33CC11202044C79F0003C045
/* PBXTargetDependency */
,
);
name
=
Runner
;
productName
=
Runner
;
productReference
=
33CC10ED2044A3C60003C045
/* flutter_view.app */
;
productType
=
"com.apple.product-type.application"
;
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
33CC10E52044A3C60003C045
/* Project object */
=
{
isa
=
PBXProject
;
attributes
=
{
LastSwiftUpdateCheck
=
0920
;
LastUpgradeCheck
=
1300
;
ORGANIZATIONNAME
=
""
;
TargetAttributes
=
{
33CC10EC2044A3C60003C045
=
{
CreatedOnToolsVersion
=
9.2
;
LastSwiftMigration
=
1100
;
ProvisioningStyle
=
Automatic
;
SystemCapabilities
=
{
com.apple.Sandbox
=
{
enabled
=
1
;
};
};
};
33CC111A2044C6BA0003C045
=
{
CreatedOnToolsVersion
=
9.2
;
ProvisioningStyle
=
Manual
;
};
};
};
buildConfigurationList
=
33CC10E82044A3C60003C045
/* Build configuration list for PBXProject "Runner" */
;
compatibilityVersion
=
"Xcode 9.3"
;
developmentRegion
=
en
;
hasScannedForEncodings
=
0
;
knownRegions
=
(
en
,
Base
,
);
mainGroup
=
33CC10E42044A3C60003C045
;
productRefGroup
=
33CC10EE2044A3C60003C045
/* Products */
;
projectDirPath
=
""
;
projectRoot
=
""
;
targets
=
(
33CC10EC2044A3C60003C045
/* Runner */
,
33CC111A2044C6BA0003C045
/* Flutter Assemble */
,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
33CC10EB2044A3C60003C045
/* Resources */
=
{
isa
=
PBXResourcesBuildPhase
;
buildActionMask
=
2147483647
;
files
=
(
F38F092928CC0D6C009892F7
/* Main.storyboard in Resources */
,
33CC10F32044A3C60003C045
/* Assets.xcassets in Resources */
,
33CC10F62044A3C60003C045
/* MainMenu.xib in Resources */
,
);
runOnlyForDeploymentPostprocessing
=
0
;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
3399D490228B24CF009A79C7
/* ShellScript */
=
{
isa
=
PBXShellScriptBuildPhase
;
alwaysOutOfDate
=
1
;
buildActionMask
=
2147483647
;
files
=
(
);
inputFileListPaths
=
(
);
inputPaths
=
(
);
outputFileListPaths
=
(
);
outputPaths
=
(
);
runOnlyForDeploymentPostprocessing
=
0
;
shellPath
=
/bin/sh
;
shellScript
=
"echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n"
;
};
33CC111E2044C6BF0003C045
/* ShellScript */
=
{
isa
=
PBXShellScriptBuildPhase
;
buildActionMask
=
2147483647
;
files
=
(
);
inputFileListPaths
=
(
Flutter/ephemeral/FlutterInputs.xcfilelist
,
);
inputPaths
=
(
Flutter/ephemeral/tripwire
,
);
outputFileListPaths
=
(
Flutter/ephemeral/FlutterOutputs.xcfilelist
,
);
outputPaths
=
(
);
runOnlyForDeploymentPostprocessing
=
0
;
shellPath
=
/bin/sh
;
shellScript
=
"\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire"
;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
33CC10E92044A3C60003C045
/* Sources */
=
{
isa
=
PBXSourcesBuildPhase
;
buildActionMask
=
2147483647
;
files
=
(
33CC11132044BFA00003C045
/* MainFlutterWindow.swift in Sources */
,
33CC10F12044A3C60003C045
/* AppDelegate.swift in Sources */
,
335BBD1B22A9A15E00E9071D
/* GeneratedPluginRegistrant.swift in Sources */
,
F38F092B28CC0F0F009892F7
/* NativeViewController.swift in Sources */
,
F38F092D28CC0FC7009892F7
/* MainViewController.swift in Sources */
,
);
runOnlyForDeploymentPostprocessing
=
0
;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
33CC11202044C79F0003C045
/* PBXTargetDependency */
=
{
isa
=
PBXTargetDependency
;
target
=
33CC111A2044C6BA0003C045
/* Flutter Assemble */
;
targetProxy
=
33CC111F2044C79F0003C045
/* PBXContainerItemProxy */
;
};
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
33CC10F42044A3C60003C045
/* MainMenu.xib */
=
{
isa
=
PBXVariantGroup
;
children
=
(
33CC10F52044A3C60003C045
/* Base */
,
);
name
=
MainMenu.xib
;
path
=
Runner
;
sourceTree
=
"<group>"
;
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
338D0CE9231458BD00FA5F75
/* Profile */
=
{
isa
=
XCBuildConfiguration
;
baseConfigurationReference
=
7AFA3C8E1D35360C0083082E
/* Release.xcconfig */
;
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_WARN_BLOCK_CAPTURE_AUTORELEASING
=
YES
;
CLANG_WARN_BOOL_CONVERSION
=
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_LITERAL_CONVERSION
=
YES
;
CLANG_WARN_OBJC_ROOT_CLASS
=
YES_ERROR
;
CLANG_WARN_RANGE_LOOP_ANALYSIS
=
YES
;
CLANG_WARN_SUSPICIOUS_MOVE
=
YES
;
CODE_SIGN_IDENTITY
=
"-"
;
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_UNINITIALIZED_AUTOS
=
YES_AGGRESSIVE
;
GCC_WARN_UNUSED_FUNCTION
=
YES
;
GCC_WARN_UNUSED_VARIABLE
=
YES
;
MACOSX_DEPLOYMENT_TARGET
=
10.13
;
MTL_ENABLE_DEBUG_INFO
=
NO
;
SDKROOT
=
macosx
;
SWIFT_COMPILATION_MODE
=
wholemodule
;
SWIFT_OPTIMIZATION_LEVEL
=
"-O"
;
};
name
=
Profile
;
};
338D0CEA231458BD00FA5F75
/* Profile */
=
{
isa
=
XCBuildConfiguration
;
baseConfigurationReference
=
33E5194F232828860026EE4D
/* AppInfo.xcconfig */
;
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CLANG_ENABLE_MODULES
=
YES
;
CODE_SIGN_ENTITLEMENTS
=
Runner/DebugProfile.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
COMBINE_HIDPI_IMAGES
=
YES
;
INFOPLIST_FILE
=
Runner/Info.plist
;
LD_RUNPATH_SEARCH_PATHS
=
(
"$(inherited)"
,
"@executable_path/../Frameworks"
,
);
PROVISIONING_PROFILE_SPECIFIER
=
""
;
SWIFT_VERSION
=
5.0
;
};
name
=
Profile
;
};
338D0CEB231458BD00FA5F75
/* Profile */
=
{
isa
=
XCBuildConfiguration
;
buildSettings
=
{
CODE_SIGN_STYLE
=
Manual
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
};
name
=
Profile
;
};
33CC10F92044A3C60003C045
/* Debug */
=
{
isa
=
XCBuildConfiguration
;
baseConfigurationReference
=
9740EEB21CF90195004384FC
/* Debug.xcconfig */
;
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_WARN_BLOCK_CAPTURE_AUTORELEASING
=
YES
;
CLANG_WARN_BOOL_CONVERSION
=
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_LITERAL_CONVERSION
=
YES
;
CLANG_WARN_OBJC_ROOT_CLASS
=
YES_ERROR
;
CLANG_WARN_RANGE_LOOP_ANALYSIS
=
YES
;
CLANG_WARN_SUSPICIOUS_MOVE
=
YES
;
CODE_SIGN_IDENTITY
=
"-"
;
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_UNINITIALIZED_AUTOS
=
YES_AGGRESSIVE
;
GCC_WARN_UNUSED_FUNCTION
=
YES
;
GCC_WARN_UNUSED_VARIABLE
=
YES
;
MACOSX_DEPLOYMENT_TARGET
=
10.13
;
MTL_ENABLE_DEBUG_INFO
=
YES
;
ONLY_ACTIVE_ARCH
=
YES
;
SDKROOT
=
macosx
;
SWIFT_ACTIVE_COMPILATION_CONDITIONS
=
DEBUG
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Onone"
;
};
name
=
Debug
;
};
33CC10FA2044A3C60003C045
/* Release */
=
{
isa
=
XCBuildConfiguration
;
baseConfigurationReference
=
7AFA3C8E1D35360C0083082E
/* Release.xcconfig */
;
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_WARN_BLOCK_CAPTURE_AUTORELEASING
=
YES
;
CLANG_WARN_BOOL_CONVERSION
=
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_LITERAL_CONVERSION
=
YES
;
CLANG_WARN_OBJC_ROOT_CLASS
=
YES_ERROR
;
CLANG_WARN_RANGE_LOOP_ANALYSIS
=
YES
;
CLANG_WARN_SUSPICIOUS_MOVE
=
YES
;
CODE_SIGN_IDENTITY
=
"-"
;
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_UNINITIALIZED_AUTOS
=
YES_AGGRESSIVE
;
GCC_WARN_UNUSED_FUNCTION
=
YES
;
GCC_WARN_UNUSED_VARIABLE
=
YES
;
MACOSX_DEPLOYMENT_TARGET
=
10.13
;
MTL_ENABLE_DEBUG_INFO
=
NO
;
SDKROOT
=
macosx
;
SWIFT_COMPILATION_MODE
=
wholemodule
;
SWIFT_OPTIMIZATION_LEVEL
=
"-O"
;
};
name
=
Release
;
};
33CC10FC2044A3C60003C045
/* Debug */
=
{
isa
=
XCBuildConfiguration
;
baseConfigurationReference
=
33E5194F232828860026EE4D
/* AppInfo.xcconfig */
;
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CLANG_ENABLE_MODULES
=
YES
;
CODE_SIGN_ENTITLEMENTS
=
Runner/DebugProfile.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
COMBINE_HIDPI_IMAGES
=
YES
;
INFOPLIST_FILE
=
Runner/Info.plist
;
LD_RUNPATH_SEARCH_PATHS
=
(
"$(inherited)"
,
"@executable_path/../Frameworks"
,
);
PROVISIONING_PROFILE_SPECIFIER
=
""
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Onone"
;
SWIFT_VERSION
=
5.0
;
};
name
=
Debug
;
};
33CC10FD2044A3C60003C045
/* Release */
=
{
isa
=
XCBuildConfiguration
;
baseConfigurationReference
=
33E5194F232828860026EE4D
/* AppInfo.xcconfig */
;
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CLANG_ENABLE_MODULES
=
YES
;
CODE_SIGN_ENTITLEMENTS
=
Runner/Release.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
COMBINE_HIDPI_IMAGES
=
YES
;
INFOPLIST_FILE
=
Runner/Info.plist
;
LD_RUNPATH_SEARCH_PATHS
=
(
"$(inherited)"
,
"@executable_path/../Frameworks"
,
);
PROVISIONING_PROFILE_SPECIFIER
=
""
;
SWIFT_VERSION
=
5.0
;
};
name
=
Release
;
};
33CC111C2044C6BA0003C045
/* Debug */
=
{
isa
=
XCBuildConfiguration
;
buildSettings
=
{
CODE_SIGN_STYLE
=
Manual
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
};
name
=
Debug
;
};
33CC111D2044C6BA0003C045
/* Release */
=
{
isa
=
XCBuildConfiguration
;
buildSettings
=
{
CODE_SIGN_STYLE
=
Automatic
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
};
name
=
Release
;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
33CC10E82044A3C60003C045
/* Build configuration list for PBXProject "Runner" */
=
{
isa
=
XCConfigurationList
;
buildConfigurations
=
(
33CC10F92044A3C60003C045
/* Debug */
,
33CC10FA2044A3C60003C045
/* Release */
,
338D0CE9231458BD00FA5F75
/* Profile */
,
);
defaultConfigurationIsVisible
=
0
;
defaultConfigurationName
=
Release
;
};
33CC10FB2044A3C60003C045
/* Build configuration list for PBXNativeTarget "Runner" */
=
{
isa
=
XCConfigurationList
;
buildConfigurations
=
(
33CC10FC2044A3C60003C045
/* Debug */
,
33CC10FD2044A3C60003C045
/* Release */
,
338D0CEA231458BD00FA5F75
/* Profile */
,
);
defaultConfigurationIsVisible
=
0
;
defaultConfigurationName
=
Release
;
};
33CC111B2044C6BA0003C045
/* Build configuration list for PBXAggregateTarget "Flutter Assemble" */
=
{
isa
=
XCConfigurationList
;
buildConfigurations
=
(
33CC111C2044C6BA0003C045
/* Debug */
,
33CC111D2044C6BA0003C045
/* Release */
,
338D0CEB231458BD00FA5F75
/* Profile */
,
);
defaultConfigurationIsVisible
=
0
;
defaultConfigurationName
=
Release
;
};
/* End XCConfigurationList section */
};
rootObject
=
33CC10E52044A3C60003C045
/* Project object */
;
}
examples/flutter_view/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
0 → 100644
View file @
96b49aae
<
?xml
v
e
rsion="
1
.
0
"
e
n
c
o
d
ing="UT
F
-
8
"?
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
IDEDidComputeMac32BitWarning
<
/k
e
y
>
<
tru
e
/
>
<
/
d
i
c
t
>
<
/plist
>
examples/flutter_view/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
0 → 100644
View file @
96b49aae
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion =
"1300"
version =
"1.3"
>
<BuildAction
parallelizeBuildables =
"YES"
buildImplicitDependencies =
"YES"
>
<BuildActionEntries>
<BuildActionEntry
buildForTesting =
"YES"
buildForRunning =
"YES"
buildForProfiling =
"YES"
buildForArchiving =
"YES"
buildForAnalyzing =
"YES"
>
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"33CC10EC2044A3C60003C045"
BuildableName =
"flutter_view.app"
BlueprintName =
"Runner"
ReferencedContainer =
"container:Runner.xcodeproj"
>
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration =
"Debug"
selectedDebuggerIdentifier =
"Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier =
"Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv =
"YES"
>
<MacroExpansion>
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"33CC10EC2044A3C60003C045"
BuildableName =
"flutter_view.app"
BlueprintName =
"Runner"
ReferencedContainer =
"container:Runner.xcodeproj"
>
</BuildableReference>
</MacroExpansion>
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration =
"Debug"
selectedDebuggerIdentifier =
"Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier =
"Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle =
"0"
useCustomWorkingDirectory =
"NO"
ignoresPersistentStateOnLaunch =
"NO"
debugDocumentVersioning =
"YES"
debugServiceExtension =
"internal"
allowLocationSimulation =
"YES"
>
<BuildableProductRunnable
runnableDebuggingMode =
"0"
>
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"33CC10EC2044A3C60003C045"
BuildableName =
"flutter_view.app"
BlueprintName =
"Runner"
ReferencedContainer =
"container:Runner.xcodeproj"
>
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration =
"Profile"
shouldUseLaunchSchemeArgsEnv =
"YES"
savedToolIdentifier =
""
useCustomWorkingDirectory =
"NO"
debugDocumentVersioning =
"YES"
>
<BuildableProductRunnable
runnableDebuggingMode =
"0"
>
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"33CC10EC2044A3C60003C045"
BuildableName =
"flutter_view.app"
BlueprintName =
"Runner"
ReferencedContainer =
"container:Runner.xcodeproj"
>
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration =
"Debug"
>
</AnalyzeAction>
<ArchiveAction
buildConfiguration =
"Release"
revealArchiveInOrganizer =
"YES"
>
</ArchiveAction>
</Scheme>
examples/flutter_view/macos/Runner.xcworkspace/contents.xcworkspacedata
0 → 100644
View file @
96b49aae
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version =
"1.0"
>
<FileRef
location =
"group:Runner.xcodeproj"
>
</FileRef>
</Workspace>
examples/flutter_view/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
0 → 100644
View file @
96b49aae
<
?xml
v
e
rsion="
1
.
0
"
e
n
c
o
d
ing="UT
F
-
8
"?
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
IDEDidComputeMac32BitWarning
<
/k
e
y
>
<
tru
e
/
>
<
/
d
i
c
t
>
<
/plist
>
examples/flutter_view/macos/Runner/AppDelegate.swift
0 → 100644
View file @
96b49aae
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
Cocoa
import
FlutterMacOS
@NSApplicationMain
class
AppDelegate
:
FlutterAppDelegate
{
override
func
applicationShouldTerminateAfterLastWindowClosed
(
_
sender
:
NSApplication
)
->
Bool
{
return
true
}
}
examples/flutter_view/macos/Runner/Base.lproj/MainMenu.xib
0 → 100644
View file @
96b49aae
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.Cocoa.XIB"
version=
"3.0"
toolsVersion=
"21208.1"
targetRuntime=
"MacOSX.Cocoa"
propertyAccessControl=
"none"
useAutolayout=
"YES"
customObjectInstantitationMethod=
"direct"
>
<dependencies>
<deployment
identifier=
"macosx"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.CocoaPlugin"
version=
"21208.1"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<objects>
<customObject
id=
"-2"
userLabel=
"File's Owner"
customClass=
"NSApplication"
>
<connections>
<outlet
property=
"delegate"
destination=
"Voe-Tx-rLC"
id=
"GzC-gU-4Uq"
/>
</connections>
</customObject>
<customObject
id=
"-1"
userLabel=
"First Responder"
customClass=
"FirstResponder"
/>
<customObject
id=
"-3"
userLabel=
"Application"
customClass=
"NSObject"
/>
<customObject
id=
"Voe-Tx-rLC"
customClass=
"AppDelegate"
customModule=
"flutter_view"
customModuleProvider=
"target"
>
<connections>
<outlet
property=
"applicationMenu"
destination=
"uQy-DD-JDr"
id=
"XBo-yE-nKs"
/>
<outlet
property=
"mainFlutterWindow"
destination=
"QvC-M9-y7g"
id=
"gIp-Ho-8D9"
/>
</connections>
</customObject>
<customObject
id=
"YLy-65-1bz"
customClass=
"NSFontManager"
/>
<menu
title=
"Main Menu"
systemMenu=
"main"
id=
"AYu-sK-qS6"
>
<items>
<menuItem
title=
"APP_NAME"
id=
"1Xt-HY-uBw"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<menu
key=
"submenu"
title=
"APP_NAME"
systemMenu=
"apple"
id=
"uQy-DD-JDr"
>
<items>
<menuItem
title=
"About APP_NAME"
id=
"5kV-Vb-QxS"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"orderFrontStandardAboutPanel:"
target=
"-1"
id=
"Exp-CZ-Vem"
/>
</connections>
</menuItem>
<menuItem
isSeparatorItem=
"YES"
id=
"VOq-y0-SEH"
/>
<menuItem
title=
"Preferences…"
keyEquivalent=
","
id=
"BOF-NM-1cW"
/>
<menuItem
isSeparatorItem=
"YES"
id=
"wFC-TO-SCJ"
/>
<menuItem
title=
"Services"
id=
"NMo-om-nkz"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<menu
key=
"submenu"
title=
"Services"
systemMenu=
"services"
id=
"hz9-B4-Xy5"
/>
</menuItem>
<menuItem
isSeparatorItem=
"YES"
id=
"4je-JR-u6R"
/>
<menuItem
title=
"Hide APP_NAME"
keyEquivalent=
"h"
id=
"Olw-nP-bQN"
>
<connections>
<action
selector=
"hide:"
target=
"-1"
id=
"PnN-Uc-m68"
/>
</connections>
</menuItem>
<menuItem
title=
"Hide Others"
keyEquivalent=
"h"
id=
"Vdr-fp-XzO"
>
<modifierMask
key=
"keyEquivalentModifierMask"
option=
"YES"
command=
"YES"
/>
<connections>
<action
selector=
"hideOtherApplications:"
target=
"-1"
id=
"VT4-aY-XCT"
/>
</connections>
</menuItem>
<menuItem
title=
"Show All"
id=
"Kd2-mp-pUS"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"unhideAllApplications:"
target=
"-1"
id=
"Dhg-Le-xox"
/>
</connections>
</menuItem>
<menuItem
isSeparatorItem=
"YES"
id=
"kCx-OE-vgT"
/>
<menuItem
title=
"Quit APP_NAME"
keyEquivalent=
"q"
id=
"4sb-4s-VLi"
>
<connections>
<action
selector=
"terminate:"
target=
"-1"
id=
"Te7-pn-YzF"
/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem
title=
"Edit"
id=
"5QF-Oa-p0T"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<menu
key=
"submenu"
title=
"Edit"
id=
"W48-6f-4Dl"
>
<items>
<menuItem
title=
"Undo"
keyEquivalent=
"z"
id=
"dRJ-4n-Yzg"
>
<connections>
<action
selector=
"undo:"
target=
"-1"
id=
"M6e-cu-g7V"
/>
</connections>
</menuItem>
<menuItem
title=
"Redo"
keyEquivalent=
"Z"
id=
"6dh-zS-Vam"
>
<connections>
<action
selector=
"redo:"
target=
"-1"
id=
"oIA-Rs-6OD"
/>
</connections>
</menuItem>
<menuItem
isSeparatorItem=
"YES"
id=
"WRV-NI-Exz"
/>
<menuItem
title=
"Cut"
keyEquivalent=
"x"
id=
"uRl-iY-unG"
>
<connections>
<action
selector=
"cut:"
target=
"-1"
id=
"YJe-68-I9s"
/>
</connections>
</menuItem>
<menuItem
title=
"Copy"
keyEquivalent=
"c"
id=
"x3v-GG-iWU"
>
<connections>
<action
selector=
"copy:"
target=
"-1"
id=
"G1f-GL-Joy"
/>
</connections>
</menuItem>
<menuItem
title=
"Paste"
keyEquivalent=
"v"
id=
"gVA-U4-sdL"
>
<connections>
<action
selector=
"paste:"
target=
"-1"
id=
"UvS-8e-Qdg"
/>
</connections>
</menuItem>
<menuItem
title=
"Paste and Match Style"
keyEquivalent=
"V"
id=
"WeT-3V-zwk"
>
<modifierMask
key=
"keyEquivalentModifierMask"
option=
"YES"
command=
"YES"
/>
<connections>
<action
selector=
"pasteAsPlainText:"
target=
"-1"
id=
"cEh-KX-wJQ"
/>
</connections>
</menuItem>
<menuItem
title=
"Delete"
id=
"pa3-QI-u2k"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"delete:"
target=
"-1"
id=
"0Mk-Ml-PaM"
/>
</connections>
</menuItem>
<menuItem
title=
"Select All"
keyEquivalent=
"a"
id=
"Ruw-6m-B2m"
>
<connections>
<action
selector=
"selectAll:"
target=
"-1"
id=
"VNm-Mi-diN"
/>
</connections>
</menuItem>
<menuItem
isSeparatorItem=
"YES"
id=
"uyl-h8-XO2"
/>
<menuItem
title=
"Find"
id=
"4EN-yA-p0u"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<menu
key=
"submenu"
title=
"Find"
id=
"1b7-l0-nxx"
>
<items>
<menuItem
title=
"Find…"
tag=
"1"
keyEquivalent=
"f"
id=
"Xz5-n4-O0W"
>
<connections>
<action
selector=
"performFindPanelAction:"
target=
"-1"
id=
"cD7-Qs-BN4"
/>
</connections>
</menuItem>
<menuItem
title=
"Find and Replace…"
tag=
"12"
keyEquivalent=
"f"
id=
"YEy-JH-Tfz"
>
<modifierMask
key=
"keyEquivalentModifierMask"
option=
"YES"
command=
"YES"
/>
<connections>
<action
selector=
"performFindPanelAction:"
target=
"-1"
id=
"WD3-Gg-5AJ"
/>
</connections>
</menuItem>
<menuItem
title=
"Find Next"
tag=
"2"
keyEquivalent=
"g"
id=
"q09-fT-Sye"
>
<connections>
<action
selector=
"performFindPanelAction:"
target=
"-1"
id=
"NDo-RZ-v9R"
/>
</connections>
</menuItem>
<menuItem
title=
"Find Previous"
tag=
"3"
keyEquivalent=
"G"
id=
"OwM-mh-QMV"
>
<connections>
<action
selector=
"performFindPanelAction:"
target=
"-1"
id=
"HOh-sY-3ay"
/>
</connections>
</menuItem>
<menuItem
title=
"Use Selection for Find"
tag=
"7"
keyEquivalent=
"e"
id=
"buJ-ug-pKt"
>
<connections>
<action
selector=
"performFindPanelAction:"
target=
"-1"
id=
"U76-nv-p5D"
/>
</connections>
</menuItem>
<menuItem
title=
"Jump to Selection"
keyEquivalent=
"j"
id=
"S0p-oC-mLd"
>
<connections>
<action
selector=
"centerSelectionInVisibleArea:"
target=
"-1"
id=
"IOG-6D-g5B"
/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem
title=
"Spelling and Grammar"
id=
"Dv1-io-Yv7"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<menu
key=
"submenu"
title=
"Spelling"
id=
"3IN-sU-3Bg"
>
<items>
<menuItem
title=
"Show Spelling and Grammar"
keyEquivalent=
":"
id=
"HFo-cy-zxI"
>
<connections>
<action
selector=
"showGuessPanel:"
target=
"-1"
id=
"vFj-Ks-hy3"
/>
</connections>
</menuItem>
<menuItem
title=
"Check Document Now"
keyEquivalent=
";"
id=
"hz2-CU-CR7"
>
<connections>
<action
selector=
"checkSpelling:"
target=
"-1"
id=
"fz7-VC-reM"
/>
</connections>
</menuItem>
<menuItem
isSeparatorItem=
"YES"
id=
"bNw-od-mp5"
/>
<menuItem
title=
"Check Spelling While Typing"
id=
"rbD-Rh-wIN"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"toggleContinuousSpellChecking:"
target=
"-1"
id=
"7w6-Qz-0kB"
/>
</connections>
</menuItem>
<menuItem
title=
"Check Grammar With Spelling"
id=
"mK6-2p-4JG"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"toggleGrammarChecking:"
target=
"-1"
id=
"muD-Qn-j4w"
/>
</connections>
</menuItem>
<menuItem
title=
"Correct Spelling Automatically"
id=
"78Y-hA-62v"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"toggleAutomaticSpellingCorrection:"
target=
"-1"
id=
"2lM-Qi-WAP"
/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem
title=
"Substitutions"
id=
"9ic-FL-obx"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<menu
key=
"submenu"
title=
"Substitutions"
id=
"FeM-D8-WVr"
>
<items>
<menuItem
title=
"Show Substitutions"
id=
"z6F-FW-3nz"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"orderFrontSubstitutionsPanel:"
target=
"-1"
id=
"oku-mr-iSq"
/>
</connections>
</menuItem>
<menuItem
isSeparatorItem=
"YES"
id=
"gPx-C9-uUO"
/>
<menuItem
title=
"Smart Copy/Paste"
id=
"9yt-4B-nSM"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"toggleSmartInsertDelete:"
target=
"-1"
id=
"3IJ-Se-DZD"
/>
</connections>
</menuItem>
<menuItem
title=
"Smart Quotes"
id=
"hQb-2v-fYv"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"toggleAutomaticQuoteSubstitution:"
target=
"-1"
id=
"ptq-xd-QOA"
/>
</connections>
</menuItem>
<menuItem
title=
"Smart Dashes"
id=
"rgM-f4-ycn"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"toggleAutomaticDashSubstitution:"
target=
"-1"
id=
"oCt-pO-9gS"
/>
</connections>
</menuItem>
<menuItem
title=
"Smart Links"
id=
"cwL-P1-jid"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"toggleAutomaticLinkDetection:"
target=
"-1"
id=
"Gip-E3-Fov"
/>
</connections>
</menuItem>
<menuItem
title=
"Data Detectors"
id=
"tRr-pd-1PS"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"toggleAutomaticDataDetection:"
target=
"-1"
id=
"R1I-Nq-Kbl"
/>
</connections>
</menuItem>
<menuItem
title=
"Text Replacement"
id=
"HFQ-gK-NFA"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"toggleAutomaticTextReplacement:"
target=
"-1"
id=
"DvP-Fe-Py6"
/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem
title=
"Transformations"
id=
"2oI-Rn-ZJC"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<menu
key=
"submenu"
title=
"Transformations"
id=
"c8a-y6-VQd"
>
<items>
<menuItem
title=
"Make Upper Case"
id=
"vmV-6d-7jI"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"uppercaseWord:"
target=
"-1"
id=
"sPh-Tk-edu"
/>
</connections>
</menuItem>
<menuItem
title=
"Make Lower Case"
id=
"d9M-CD-aMd"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"lowercaseWord:"
target=
"-1"
id=
"iUZ-b5-hil"
/>
</connections>
</menuItem>
<menuItem
title=
"Capitalize"
id=
"UEZ-Bs-lqG"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"capitalizeWord:"
target=
"-1"
id=
"26H-TL-nsh"
/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem
title=
"Speech"
id=
"xrE-MZ-jX0"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<menu
key=
"submenu"
title=
"Speech"
id=
"3rS-ZA-NoH"
>
<items>
<menuItem
title=
"Start Speaking"
id=
"Ynk-f8-cLZ"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"startSpeaking:"
target=
"-1"
id=
"654-Ng-kyl"
/>
</connections>
</menuItem>
<menuItem
title=
"Stop Speaking"
id=
"Oyz-dy-DGm"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"stopSpeaking:"
target=
"-1"
id=
"dX8-6p-jy9"
/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem
title=
"View"
id=
"H8h-7b-M4v"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<menu
key=
"submenu"
title=
"View"
id=
"HyV-fh-RgO"
>
<items>
<menuItem
title=
"Enter Full Screen"
keyEquivalent=
"f"
id=
"4J7-dP-txa"
>
<modifierMask
key=
"keyEquivalentModifierMask"
control=
"YES"
command=
"YES"
/>
<connections>
<action
selector=
"toggleFullScreen:"
target=
"-1"
id=
"dU3-MA-1Rq"
/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem
title=
"Window"
id=
"aUF-d1-5bR"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<menu
key=
"submenu"
title=
"Window"
systemMenu=
"window"
id=
"Td7-aD-5lo"
>
<items>
<menuItem
title=
"Minimize"
keyEquivalent=
"m"
id=
"OY7-WF-poV"
>
<connections>
<action
selector=
"performMiniaturize:"
target=
"-1"
id=
"VwT-WD-YPe"
/>
</connections>
</menuItem>
<menuItem
title=
"Zoom"
id=
"R4o-n2-Eq4"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"performZoom:"
target=
"-1"
id=
"DIl-cC-cCs"
/>
</connections>
</menuItem>
<menuItem
isSeparatorItem=
"YES"
id=
"eu3-7i-yIM"
/>
<menuItem
title=
"Bring All to Front"
id=
"LE2-aR-0XJ"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<connections>
<action
selector=
"arrangeInFront:"
target=
"-1"
id=
"DRN-fu-gQh"
/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem
title=
"Help"
id=
"EPT-qC-fAb"
>
<modifierMask
key=
"keyEquivalentModifierMask"
/>
<menu
key=
"submenu"
title=
"Help"
systemMenu=
"help"
id=
"rJ0-wn-3NY"
/>
</menuItem>
</items>
<point
key=
"canvasLocation"
x=
"142"
y=
"-258"
/>
</menu>
<window
title=
"APP_NAME"
allowsToolTipsWhenApplicationIsInactive=
"NO"
autorecalculatesKeyViewLoop=
"NO"
releasedWhenClosed=
"NO"
animationBehavior=
"default"
id=
"QvC-M9-y7g"
customClass=
"MainFlutterWindow"
customModule=
"flutter_view"
customModuleProvider=
"target"
>
<windowStyleMask
key=
"styleMask"
titled=
"YES"
closable=
"YES"
miniaturizable=
"YES"
resizable=
"YES"
/>
<rect
key=
"contentRect"
x=
"335"
y=
"390"
width=
"800"
height=
"600"
/>
<rect
key=
"screenRect"
x=
"0.0"
y=
"0.0"
width=
"1440"
height=
"2560"
/>
<view
key=
"contentView"
wantsLayer=
"YES"
id=
"EiT-Mj-1SZ"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"800"
height=
"600"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
</view>
<point
key=
"canvasLocation"
x=
"140"
y=
"143"
/>
</window>
</objects>
</document>
examples/flutter_view/macos/Runner/Configs/AppInfo.xcconfig
0 → 100644
View file @
96b49aae
// Application-level settings for the Runner target.
//
// This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the
// future. If not, the values below would default to using the project name when this becomes a
// 'flutter create' template.
// The application's name. By default this is also the title of the Flutter window.
PRODUCT_NAME = flutter_view
// The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.examples.flutterView
// The copyright displayed in application information
PRODUCT_COPYRIGHT = Copyright © 2022 io.flutter.examples. All rights reserved.
examples/flutter_view/macos/Runner/Configs/Debug.xcconfig
0 → 100644
View file @
96b49aae
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
examples/flutter_view/macos/Runner/Configs/Release.xcconfig
0 → 100644
View file @
96b49aae
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
examples/flutter_view/macos/Runner/Configs/Warnings.xcconfig
0 → 100644
View file @
96b49aae
WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings
GCC_WARN_UNDECLARED_SELECTOR = YES
CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
CLANG_WARN_PRAGMA_PACK = YES
CLANG_WARN_STRICT_PROTOTYPES = YES
CLANG_WARN_COMMA = YES
GCC_WARN_STRICT_SELECTOR_MATCH = YES
CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
GCC_WARN_SHADOW = YES
CLANG_WARN_UNREACHABLE_CODE = YES
examples/flutter_view/macos/Runner/DebugProfile.entitlements
0 → 100644
View file @
96b49aae
<?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>
com.apple.security.app-sandbox
</key>
<true/>
<key>
com.apple.security.cs.allow-jit
</key>
<true/>
<key>
com.apple.security.network.server
</key>
<true/>
</dict>
</plist>
examples/flutter_view/macos/Runner/Info.plist
0 → 100644
View file @
96b49aae
<
?xml
v
e
rsion="
1
.
0
"
e
n
c
o
d
ing="UT
F
-
8
"?
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
CFBundleDevelopmentRegion
<
/k
e
y
>
<
string
>
$
(
DEVELOPMENT_LANGUAGE
)<
/string
>
<
k
e
y
>
CFBundleExecutable
<
/k
e
y
>
<
string
>
$
(
EXECUTABLE_NAME
)<
/string
>
<
k
e
y
>
CFBundleIconFile
<
/k
e
y
>
<
string
><
/string
>
<
k
e
y
>
CFBundleIdentifier
<
/k
e
y
>
<
string
>
$
(
PRODUCT_BUNDLE_IDENTIFIER
)<
/string
>
<
k
e
y
>
CFBundleInfoDictionaryVersion
<
/k
e
y
>
<
string
>
6.0
<
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
$
(
PRODUCT_NAME
)<
/string
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
$
(
FLUTTER_BUILD_NAME
)<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
$
(
FLUTTER_BUILD_NUMBER
)<
/string
>
<
k
e
y
>
LSMinimumSystemVersion
<
/k
e
y
>
<
string
>
$
(
MACOSX_DEPLOYMENT_TARGET
)<
/string
>
<
k
e
y
>
NSHumanReadableCopyright
<
/k
e
y
>
<
string
>
$
(
PRODUCT_COPYRIGHT
)<
/string
>
<
k
e
y
>
NSMainNibFile
<
/k
e
y
>
<
string
>
MainMenu
<
/string
>
<
k
e
y
>
NSPrincipalClass
<
/k
e
y
>
<
string
>
NSApplication
<
/string
>
<
/
d
i
c
t
>
<
/plist
>
examples/flutter_view/macos/Runner/MainFlutterWindow.swift
0 → 100644
View file @
96b49aae
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
Cocoa
import
FlutterMacOS
/**
The window that is automatically generated when `flutter create --target=macos`
on a project. `MainFlutterWindow` uses a FlutterViewController as it's content
view controller by default.
*/
class
MainFlutterWindow
:
NSWindow
{
override
func
awakeFromNib
()
{
let
windowFrame
=
self
.
frame
let
storyboard
=
NSStoryboard
(
name
:
NSStoryboard
.
Name
(
"Main"
),
bundle
:
Bundle
.
main
)
// `flutter create --target=macos` uses this class (`self`) as an entrypoint
// for drawing on a surface. The line below intercepts that and uses
// the storyboard from `Main.storyboard`.
self
.
contentViewController
=
storyboard
.
instantiateController
(
withIdentifier
:
"MainViewController"
)
as!
NSViewController
self
.
setFrame
(
windowFrame
,
display
:
true
)
super
.
awakeFromNib
()
}
}
examples/flutter_view/macos/Runner/MainViewController.swift
0 → 100644
View file @
96b49aae
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
Foundation
import
AppKit
import
FlutterMacOS
/**
The code behind a storyboard view which splits a flutter view and a macOS view.
*/
class
MainViewController
:
NSViewController
,
NativeViewControllerDelegate
{
static
let
emptyString
:
String
=
""
static
let
ping
:
String
=
"ping"
static
let
channel
:
String
=
"increment"
var
nativeViewController
:
NativeViewController
?
var
flutterViewController
:
FlutterViewController
?
var
messageChannel
:
FlutterBasicMessageChannel
?
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
}
override
func
prepare
(
for
segue
:
NSStoryboardSegue
,
sender
:
Any
?)
{
if
segue
.
identifier
==
"NativeViewControllerSegue"
{
self
.
nativeViewController
=
segue
.
destinationController
as?
NativeViewController
// Since`MainViewController` owns the platform channel, but not the
// UI elements that trigger an action, those UI elements need a reference
// to this controller to send messages on the platform channel.
self
.
nativeViewController
?
.
delegate
=
self
}
if
segue
.
identifier
==
"FlutterViewControllerSegue"
{
self
.
flutterViewController
=
segue
.
destinationController
as?
FlutterViewController
RegisterMethodChannel
(
registry
:
self
.
flutterViewController
!
)
weak
var
weakSelf
=
self
messageChannel
?
.
setMessageHandler
({
(
message
,
reply
)
in
// Dispatch an event, incrementing the counter in this case, when *any*
// message is received.
// Depending on the order of initialization, the nativeViewController
// might not be initialized until this point.
weakSelf
?
.
nativeViewController
?
.
didReceiveIncrement
()
reply
(
MainViewController
.
emptyString
)
})
}
}
func
RegisterMethodChannel
(
registry
:
FlutterPluginRegistry
)
{
let
registrar
=
registry
.
registrar
(
forPlugin
:
""
)
messageChannel
=
FlutterBasicMessageChannel
(
name
:
MainViewController
.
channel
,
binaryMessenger
:
registrar
.
messenger
,
codec
:
FlutterStringCodec
.
sharedInstance
())
}
// Call in any instance where `ping` is to be sent through the `increment`
// channel.
func
didTapIncrementButton
()
{
self
.
messageChannel
?
.
sendMessage
(
MainViewController
.
ping
)
}
}
examples/flutter_view/macos/Runner/NativeViewController.swift
0 → 100644
View file @
96b49aae
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
Foundation
import
AppKit
protocol
NativeViewControllerDelegate
:
NSObjectProtocol
{
func
didTapIncrementButton
()
}
/**
The code behind a native view to be displayed in the `MainFlutterViewController`
as an embed segue. If any storyboard view inherits from this class definition,
it should contain a function to handle for `handleIncrement`
*/
class
NativeViewController
:
NSViewController
{
var
count
:
Int
?
var
labelText
:
String
{
get
{
let
count
=
self
.
count
??
0
return
"Flutter button tapped
\(
count
)
time
\(
count
==
1
?
""
:
"s"
)
"
}
}
var
delegate
:
NativeViewControllerDelegate
?
@IBOutlet
weak
var
incrementLabel
:
NSTextField
!
@IBAction
func
handleIncrement
(
_
sender
:
Any
)
{
self
.
delegate
?
.
didTapIncrementButton
()
}
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
setState
(
for
:
0
)
}
func
didReceiveIncrement
()
{
setState
(
for
:
(
self
.
count
??
0
)
+
1
)
}
func
setState
(
for
count
:
Int
)
{
self
.
count
=
count
self
.
incrementLabel
.
stringValue
=
labelText
}
}
examples/flutter_view/macos/Runner/Release.entitlements
0 → 100644
View file @
96b49aae
<?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>
com.apple.security.app-sandbox
</key>
<true/>
</dict>
</plist>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment