Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flutter_boost_1.22.4
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李增强
flutter_boost_1.22.4
Commits
06866ee5
Commit
06866ee5
authored
Sep 18, 2019
by
余玠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixbug: 明确回调类型
parent
05a6dec5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
11 deletions
+5
-11
example/ios/Runner/AppDelegate.m
example/ios/Runner/AppDelegate.m
+1
-1
ios/Classes/Boost/FLBFlutterApplicationInterface.h
ios/Classes/Boost/FLBFlutterApplicationInterface.h
+1
-3
ios/Classes/Boost/FlutterBoostPlugin.h
ios/Classes/Boost/FlutterBoostPlugin.h
+1
-3
ios/Classes/Boost/FlutterBoostPlugin.m
ios/Classes/Boost/FlutterBoostPlugin.m
+1
-3
ios/Classes/Engine/FLBFlutterApplication.m
ios/Classes/Engine/FLBFlutterApplication.m
+1
-1
No files found.
example/ios/Runner/AppDelegate.m
View file @
06866ee5
...
...
@@ -21,7 +21,7 @@
{
DemoRouter
*
router
=
[
DemoRouter
sharedRouter
];
[
FlutterBoostPlugin
.
sharedInstance
startFlutterWithPlatform
:
router
onStart:
^
(
FlutterEngine
*
fvc
)
{
onStart:
^
(
FlutterEngine
*
engine
)
{
}];
...
...
ios/Classes/Boost/FLBFlutterApplicationInterface.h
View file @
06866ee5
...
...
@@ -35,9 +35,7 @@ NS_ASSUME_NONNULL_BEGIN
-
(
id
<
FLBFlutterProvider
>
)
flutterProvider
;
-
(
void
)
startFlutterWithPlatform
:(
id
<
FLBPlatform
>
)
platform
onStart
:(
void
(
^
)(
id
<
FlutterBinaryMessenger
,
FlutterTextureRegistry
,
FlutterPluginRegistry
>
engine
))
callback
;
onStart
:(
void
(
^
)(
FlutterEngine
*
engine
))
callback
;
-
(
FlutterViewController
*
)
flutterViewController
;
...
...
ios/Classes/Boost/FlutterBoostPlugin.h
View file @
06866ee5
...
...
@@ -31,9 +31,7 @@
+
(
instancetype
)
sharedInstance
;
-
(
void
)
startFlutterWithPlatform
:(
id
<
FLBPlatform
>
)
platform
onStart
:(
void
(
^
)(
id
<
FlutterBinaryMessenger
,
FlutterTextureRegistry
,
FlutterPluginRegistry
>
engine
))
callback
;
onStart
:(
void
(
^
)(
FlutterEngine
*
engine
))
callback
;
#pragma mark - Some properties.
-
(
BOOL
)
isRunning
;
...
...
ios/Classes/Boost/FlutterBoostPlugin.m
View file @
06866ee5
...
...
@@ -124,9 +124,7 @@
}
-
(
void
)
startFlutterWithPlatform
:(
id
<
FLBPlatform
>
)
platform
onStart
:(
void
(
^
)(
id
<
FlutterBinaryMessenger
,
FlutterTextureRegistry
,
FlutterPluginRegistry
>
engine
))
callback
;
onStart
:(
void
(
^
)(
FlutterEngine
*
engine
))
callback
;
{
static
dispatch_once_t
onceToken
;
dispatch_once
(
&
onceToken
,
^
{
...
...
ios/Classes/Engine/FLBFlutterApplication.m
View file @
06866ee5
...
...
@@ -59,7 +59,7 @@
}
-
(
void
)
startFlutterWithPlatform
:(
id
<
FLBPlatform
>
)
platform
onStart
:(
void
(
^
)(
id
<
FlutterBinaryMessenger
,
FlutterTextureRegistry
,
FlutterPluginRegistry
>
_Nonnull
))
callback
onStart
:(
void
(
^
)(
FlutterEngine
*
engine
))
callback
{
static
dispatch_once_t
onceToken
;
dispatch_once
(
&
onceToken
,
^
{
...
...
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