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
559c9982
Unverified
Commit
559c9982
authored
Jul 08, 2019
by
Jenn Magder
Committed by
GitHub
Jul 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UIApplicationLaunchOptionsKey -> UIApplication.LaunchOptionsKey (#35763)
parent
e3acb5ca
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
project.pbxproj
examples/flutter_view/ios/Runner.xcodeproj/project.pbxproj
+3
-3
project.pbxproj
...atform_channel_swift/ios/Runner.xcodeproj/project.pbxproj
+3
-3
AppDelegate.swift
examples/platform_channel_swift/ios/Runner/AppDelegate.swift
+1
-1
AppDelegate.swift
...ols/templates/app/ios-swift.tmpl/Runner/AppDelegate.swift
+1
-1
project_test.dart
packages/flutter_tools/test/project_test.dart
+1
-1
No files found.
examples/flutter_view/ios/Runner.xcodeproj/project.pbxproj
View file @
559c9982
...
@@ -403,7 +403,7 @@
...
@@ -403,7 +403,7 @@
);
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.yourcompany.flutterView
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.yourcompany.flutterView
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
SWIFT_VERSION
=
3
.0
;
SWIFT_VERSION
=
4
.0
;
};
};
name
=
Profile
;
name
=
Profile
;
};
};
...
@@ -531,7 +531,7 @@
...
@@ -531,7 +531,7 @@
);
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.yourcompany.flutterView
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.yourcompany.flutterView
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
SWIFT_VERSION
=
3
.0
;
SWIFT_VERSION
=
4
.0
;
};
};
name
=
Debug
;
name
=
Debug
;
};
};
...
@@ -553,7 +553,7 @@
...
@@ -553,7 +553,7 @@
);
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.yourcompany.flutterView
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.yourcompany.flutterView
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
SWIFT_VERSION
=
3
.0
;
SWIFT_VERSION
=
4
.0
;
};
};
name
=
Release
;
name
=
Release
;
};
};
...
...
examples/platform_channel_swift/ios/Runner.xcodeproj/project.pbxproj
View file @
559c9982
...
@@ -332,7 +332,7 @@
...
@@ -332,7 +332,7 @@
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
SWIFT_OBJC_BRIDGING_HEADER
=
"Runner/Runner-Bridging-Header.h"
;
SWIFT_OBJC_BRIDGING_HEADER
=
"Runner/Runner-Bridging-Header.h"
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Onone"
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Onone"
;
SWIFT_VERSION
=
3
.0
;
SWIFT_VERSION
=
4
.0
;
};
};
name
=
Profile
;
name
=
Profile
;
};
};
...
@@ -464,7 +464,7 @@
...
@@ -464,7 +464,7 @@
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
SWIFT_OBJC_BRIDGING_HEADER
=
"Runner/Runner-Bridging-Header.h"
;
SWIFT_OBJC_BRIDGING_HEADER
=
"Runner/Runner-Bridging-Header.h"
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Onone"
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Onone"
;
SWIFT_VERSION
=
3
.0
;
SWIFT_VERSION
=
4
.0
;
};
};
name
=
Debug
;
name
=
Debug
;
};
};
...
@@ -489,7 +489,7 @@
...
@@ -489,7 +489,7 @@
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
SWIFT_OBJC_BRIDGING_HEADER
=
"Runner/Runner-Bridging-Header.h"
;
SWIFT_OBJC_BRIDGING_HEADER
=
"Runner/Runner-Bridging-Header.h"
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Onone"
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Onone"
;
SWIFT_VERSION
=
3
.0
;
SWIFT_VERSION
=
4
.0
;
};
};
name
=
Release
;
name
=
Release
;
};
};
...
...
examples/platform_channel_swift/ios/Runner/AppDelegate.swift
View file @
559c9982
...
@@ -25,7 +25,7 @@ enum MyFlutterErrorCode {
...
@@ -25,7 +25,7 @@ enum MyFlutterErrorCode {
override
func
application
(
override
func
application
(
_
application
:
UIApplication
,
_
application
:
UIApplication
,
didFinishLaunchingWithOptions
launchOptions
:
[
UIApplicationLaunchOptionsKey
:
Any
]?)
->
Bool
{
didFinishLaunchingWithOptions
launchOptions
:
[
UIApplication
.
LaunchOptionsKey
:
Any
]?)
->
Bool
{
GeneratedPluginRegistrant
.
register
(
with
:
self
)
GeneratedPluginRegistrant
.
register
(
with
:
self
)
guard
let
controller
=
window
?
.
rootViewController
as?
FlutterViewController
else
{
guard
let
controller
=
window
?
.
rootViewController
as?
FlutterViewController
else
{
fatalError
(
"rootViewController is not type FlutterViewController"
)
fatalError
(
"rootViewController is not type FlutterViewController"
)
...
...
packages/flutter_tools/templates/app/ios-swift.tmpl/Runner/AppDelegate.swift
View file @
559c9982
...
@@ -5,7 +5,7 @@ import Flutter
...
@@ -5,7 +5,7 @@ import Flutter
@objc
class
AppDelegate
:
FlutterAppDelegate
{
@objc
class
AppDelegate
:
FlutterAppDelegate
{
override
func
application
(
override
func
application
(
_
application
:
UIApplication
,
_
application
:
UIApplication
,
didFinishLaunchingWithOptions
launchOptions
:
[
UIApplicationLaunchOptionsKey
:
Any
]?
didFinishLaunchingWithOptions
launchOptions
:
[
UIApplication
.
LaunchOptionsKey
:
Any
]?
)
->
Bool
{
)
->
Bool
{
GeneratedPluginRegistrant
.
register
(
with
:
self
)
GeneratedPluginRegistrant
.
register
(
with
:
self
)
return
super
.
application
(
application
,
didFinishLaunchingWithOptions
:
launchOptions
)
return
super
.
application
(
application
,
didFinishLaunchingWithOptions
:
launchOptions
)
...
...
packages/flutter_tools/test/project_test.dart
View file @
559c9982
...
@@ -245,7 +245,7 @@ void main() {
...
@@ -245,7 +245,7 @@ void main() {
final
FlutterProject
project
=
await
someProject
();
final
FlutterProject
project
=
await
someProject
();
when
(
mockXcodeProjectInterpreter
.
getBuildSettings
(
any
,
any
)).
thenReturn
(<
String
,
String
>{
when
(
mockXcodeProjectInterpreter
.
getBuildSettings
(
any
,
any
)).
thenReturn
(<
String
,
String
>{
'SWIFT_VERSION'
:
'
3
.0'
,
'SWIFT_VERSION'
:
'
4
.0'
,
});
});
addAndroidGradleFile
(
project
.
directory
,
addAndroidGradleFile
(
project
.
directory
,
gradleFileContent:
()
{
gradleFileContent:
()
{
...
...
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