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
066e4741
Commit
066e4741
authored
Jun 27, 2019
by
Jidong Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code style opt
parent
0a4d2767
Changes
17
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
6 additions
and
47 deletions
+6
-47
ios/Classes/1.0/FLBFlutterViewContainer.m
ios/Classes/1.0/FLBFlutterViewContainer.m
+0
-1
ios/Classes/1.5/FLB2Factory.h
ios/Classes/1.5/FLB2Factory.h
+0
-1
ios/Classes/1.5/FLB2FlutterApplication.h
ios/Classes/1.5/FLB2FlutterApplication.h
+0
-1
ios/Classes/1.5/FLB2FlutterEngine.h
ios/Classes/1.5/FLB2FlutterEngine.h
+0
-2
ios/Classes/1.5/FLB2FlutterViewContainer.h
ios/Classes/1.5/FLB2FlutterViewContainer.h
+0
-4
ios/Classes/Boost/FLB2FlutterProvider.h
ios/Classes/Boost/FLB2FlutterProvider.h
+0
-4
ios/Classes/Boost/FLB2Platform.h
ios/Classes/Boost/FLB2Platform.h
+0
-3
ios/Classes/Boost/FLBAbstractFactory.h
ios/Classes/Boost/FLBAbstractFactory.h
+0
-4
ios/Classes/Boost/FLBFlutterAppDelegate.h
ios/Classes/Boost/FLBFlutterAppDelegate.h
+0
-3
ios/Classes/Boost/FLBFlutterAppDelegate.m
ios/Classes/Boost/FLBFlutterAppDelegate.m
+0
-1
ios/Classes/Boost/FLBFlutterApplicationInterface.h
ios/Classes/Boost/FLBFlutterApplicationInterface.h
+0
-5
ios/Classes/Boost/FLBFlutterContainer.h
ios/Classes/Boost/FLBFlutterContainer.h
+0
-2
ios/Classes/Boost/FLBFlutterContainerManager.h
ios/Classes/Boost/FLBFlutterContainerManager.h
+0
-2
ios/Classes/Boost/FLBPlatform.h
ios/Classes/Boost/FLBPlatform.h
+0
-2
ios/Classes/Boost/FlutterBoostPlugin.h
ios/Classes/Boost/FlutterBoostPlugin.h
+4
-4
ios/Classes/Boost/FlutterBoostPlugin_private.h
ios/Classes/Boost/FlutterBoostPlugin_private.h
+2
-5
ios/Classes/Messaging/BoostMessageChannel.mm
ios/Classes/Messaging/BoostMessageChannel.mm
+0
-3
No files found.
ios/Classes/1.0/FLBFlutterViewContainer.m
View file @
066e4741
...
...
@@ -35,7 +35,6 @@
#define FLUTTER_VIEW FLUTTER_APP.flutterViewController.view
#define FLUTTER_VC FLUTTER_APP.flutterViewController
@interface
FLBFlutterViewContainer
()
@property
(
nonatomic
,
copy
,
readwrite
)
NSString
*
name
;
@property
(
nonatomic
,
strong
,
readwrite
)
NSDictionary
*
params
;
...
...
ios/Classes/1.5/FLB2Factory.h
View file @
066e4741
...
...
@@ -28,7 +28,6 @@
NS_ASSUME_NONNULL_BEGIN
@interface
FLB2Factory
:
NSObject
<
FLBAbstractFactory
>
@end
NS_ASSUME_NONNULL_END
ios/Classes/1.5/FLB2FlutterApplication.h
View file @
066e4741
...
...
@@ -33,5 +33,4 @@ NS_ASSUME_NONNULL_BEGIN
@interface
FLB2FlutterApplication
:
NSObject
<
FLBFlutterApplicationInterface
>
@property
(
nonatomic
,
strong
)
id
<
FLB2Platform
>
platform
;
@end
NS_ASSUME_NONNULL_END
ios/Classes/1.5/FLB2FlutterEngine.h
View file @
066e4741
...
...
@@ -26,8 +26,6 @@
#import "FLB2FlutterProvider.h"
NS_ASSUME_NONNULL_BEGIN
@interface
FLB2FlutterEngine
:
NSObject
<
FLB2FlutterProvider
>
@end
NS_ASSUME_NONNULL_END
ios/Classes/1.5/FLB2FlutterViewContainer.h
View file @
066e4741
...
...
@@ -27,11 +27,7 @@
#import "FLBFlutterContainer.h"
NS_ASSUME_NONNULL_BEGIN
@interface
FLB2FlutterViewContainer
:
FlutterViewController
<
FLBFlutterContainer
>
-
(
void
)
surfaceUpdated
:(
BOOL
)
appeared
;
@end
NS_ASSUME_NONNULL_END
ios/Classes/Boost/FLB2FlutterProvider.h
View file @
066e4741
...
...
@@ -29,15 +29,11 @@
@class
FlutterEngine
;
NS_ASSUME_NONNULL_BEGIN
@protocol
FLB2FlutterProvider
<
FLBFlutterViewProvider
>
@required
-
(
FlutterEngine
*
)
engine
;
-
(
void
)
atacheToViewController
:(
FlutterViewController
*
)
vc
;
-
(
void
)
detach
;
-
(
void
)
prepareEngineIfNeeded
;
@end
NS_ASSUME_NONNULL_END
ios/Classes/Boost/FLB2Platform.h
View file @
066e4741
...
...
@@ -26,9 +26,7 @@
#import "FLBPlatform.h"
NS_ASSUME_NONNULL_BEGIN
@protocol
FLB2Platform
<
FLBPlatform
>
@optional
-
(
BOOL
)
useBoost2
;
...
...
@@ -43,5 +41,4 @@ NS_ASSUME_NONNULL_BEGIN
exts
:(
NSDictionary
*
)
exts
completion
:(
void
(
^
)(
BOOL
finished
))
completion
;
@end
NS_ASSUME_NONNULL_END
ios/Classes/Boost/FLBAbstractFactory.h
View file @
066e4741
...
...
@@ -30,13 +30,9 @@
#import "FLBFlutterContainer.h"
NS_ASSUME_NONNULL_BEGIN
@protocol
FLBAbstractFactory
<
NSObject
>
@required
-
(
id
<
FLBFlutterApplicationInterface
>
)
createApplication
:(
id
<
FLB2Platform
>
)
platform
;
-
(
id
<
FLBFlutterContainer
>
)
createFlutterContainer
;
@end
NS_ASSUME_NONNULL_END
ios/Classes/Boost/FLBFlutterAppDelegate.h
View file @
066e4741
...
...
@@ -25,12 +25,9 @@
#import <Flutter/Flutter.h>
NS_ASSUME_NONNULL_BEGIN
@interface
FLBFlutterAppDelegate
:
FlutterAppDelegate
// Returns the key window's rootViewController, if it's a FlutterViewController.
// Otherwise, returns nil.
-
(
FlutterViewController
*
)
rootFlutterViewController
;
@end
NS_ASSUME_NONNULL_END
ios/Classes/Boost/FLBFlutterAppDelegate.m
View file @
066e4741
...
...
@@ -31,5 +31,4 @@
-
(
FlutterViewController
*
)
rootFlutterViewController
{
return
FlutterBoostPlugin
.
sharedInstance
.
application
.
flutterViewController
;
}
@end
ios/Classes/Boost/FLBFlutterApplicationInterface.h
View file @
066e4741
...
...
@@ -21,7 +21,6 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#import <Foundation/Foundation.h>
#import <Flutter/Flutter.h>
#import "FLB2Platform.h"
...
...
@@ -29,10 +28,8 @@
#import "FLB2FlutterProvider.h"
#import "FLBFlutterContainer.h"
NS_ASSUME_NONNULL_BEGIN
@protocol
FLBFlutterApplicationInterface
<
NSObject
>
@property
(
nonatomic
,
strong
)
id
<
FLB2Platform
>
platform
;
-
(
id
<
FLB2FlutterProvider
>
)
flutterProvider
;
...
...
@@ -57,7 +54,6 @@ NS_ASSUME_NONNULL_BEGIN
-
(
BOOL
)
isRunning
;
#pragma mark - handle messages
-
(
void
)
close
:(
NSString
*
)
uid
result
:(
NSDictionary
*
)
result
exts
:(
NSDictionary
*
)
exts
...
...
@@ -79,7 +75,6 @@ NS_ASSUME_NONNULL_BEGIN
uniqueId
:(
NSString
*
)
uniqueId
;
@end
NS_ASSUME_NONNULL_END
ios/Classes/Boost/FLBFlutterContainer.h
View file @
066e4741
...
...
@@ -26,12 +26,10 @@
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@protocol
FLBFlutterContainer
<
NSObject
>
-
(
NSString
*
)
name
;
-
(
NSDictionary
*
)
params
;
-
(
NSString
*
)
uniqueIDString
;
-
(
void
)
setName
:(
NSString
*
)
name
params
:(
NSDictionary
*
)
params
;
@end
NS_ASSUME_NONNULL_END
ios/Classes/Boost/FLBFlutterContainerManager.h
View file @
066e4741
...
...
@@ -26,7 +26,6 @@
#import "FLBFlutterContainer.h"
NS_ASSUME_NONNULL_BEGIN
@interface
FLBFlutterContainerManager
:
NSObject
-
(
NSString
*
)
peak
;
...
...
@@ -35,5 +34,4 @@ NS_ASSUME_NONNULL_BEGIN
-
(
BOOL
)
contains
:(
id
<
FLBFlutterContainer
>
)
vc
;
@end
NS_ASSUME_NONNULL_END
ios/Classes/Boost/FLBPlatform.h
View file @
066e4741
...
...
@@ -25,7 +25,6 @@
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@protocol
FLBPlatform
<
NSObject
>
@required
...
...
@@ -39,5 +38,4 @@ NS_ASSUME_NONNULL_BEGIN
params
:(
NSDictionary
*
)
params
completion
:(
void
(
^
)(
BOOL
finished
))
completion
;
@end
NS_ASSUME_NONNULL_END
ios/Classes/Boost/FlutterBoostPlugin.h
View file @
066e4741
...
...
@@ -27,16 +27,17 @@
#import "FLBTypes.h"
@interface
FlutterBoostPlugin
:
NSObject
<
FlutterPlugin
>
#pragma mark - Initializer
+
(
instancetype
)
sharedInstance
;
-
(
void
)
startFlutterWithPlatform
:(
id
<
FLB2Platform
>
)
platform
onStart
:(
void
(
^
)(
id
<
FlutterBinaryMessenger
,
FlutterTextureRegistry
,
FlutterPluginRegistry
>
engine
))
callback
;
onStart
:(
void
(
^
)(
id
<
FlutterBinaryMessenger
,
FlutterTextureRegistry
,
FlutterPluginRegistry
>
engine
))
callback
;
#pragma mark - Some properties.
-
(
BOOL
)
isRunning
;
-
(
FlutterViewController
*
)
currentViewController
;
#pragma mark - broadcast event to/from flutter
...
...
@@ -45,5 +46,4 @@
-
(
FLBVoidCallback
)
addEventListener
:(
FLBEventListener
)
listner
forName
:(
NSString
*
)
name
;
@end
ios/Classes/Boost/FlutterBoostPlugin_private.h
View file @
066e4741
...
...
@@ -30,13 +30,10 @@
id
<
FLBFlutterApplicationInterface
>
_application
;
id
<
FLBAbstractFactory
>
_factory
;
}
-
(
id
<
FLBFlutterApplicationInterface
>
)
application
;
-
(
id
<
FLBAbstractFactory
>
)
factory
;
@property
(
nonatomic
,
strong
)
FlutterMethodChannel
*
methodChannel
;
@property
(
nonatomic
,
copy
)
NSString
*
fPageId
;
@property
(
nonatomic
,
copy
)
NSString
*
fPagename
;
@property
(
nonatomic
,
strong
)
NSDictionary
*
fParams
;
-
(
id
<
FLBFlutterApplicationInterface
>
)
application
;
-
(
id
<
FLBAbstractFactory
>
)
factory
;
@end
ios/Classes/Messaging/BoostMessageChannel.mm
View file @
066e4741
...
...
@@ -21,12 +21,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#import "BoostMessageChannel.h"
#import "FlutterBoostPlugin_private.h"
@implementation
BoostMessageChannel
+
(
NSMutableDictionary
*
)
lists
{
...
...
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