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
e979d912
Commit
e979d912
authored
Apr 24, 2019
by
Jidong Chen
Committed by
GitHub
Apr 24, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #125 from FinderTiwk/master
iOS集成问题修复
parents
1ffd244a
f3383187
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
7 deletions
+23
-7
ios/Classes/Container/FLBFlutterViewContainer.m
ios/Classes/Container/FLBFlutterViewContainer.m
+22
-6
ios/flutter_boost.podspec
ios/flutter_boost.podspec
+1
-1
No files found.
ios/Classes/Container/FLBFlutterViewContainer.m
View file @
e979d912
...
@@ -86,15 +86,31 @@ static NSUInteger kInstanceCounter = 0;
...
@@ -86,15 +86,31 @@ static NSUInteger kInstanceCounter = 0;
return
@
(
_identifier
).
stringValue
;
return
@
(
_identifier
).
stringValue
;
}
}
-
(
void
)
_setup
{
static
long
long
sCounter
=
0
;
_identifier
=
sCounter
++
;
[
self
.
class
instanceCounterIncrease
];
SEL
sel
=
@selector
(
flutterViewDidShow
:
);
NSString
*
notiName
=
@"flutter_boost_container_showed"
;
[
NSNotificationCenter
.
defaultCenter
addObserver
:
self
selector:
sel
name:
notiName
object:
nil
];
}
-
(
instancetype
)
init
-
(
instancetype
)
init
{
{
if
(
self
=
[
super
init
]){
if
(
self
=
[
super
init
]){
static
long
long
sCounter
=
0
;
[
self
_setup
];
_identifier
=
sCounter
++
;
}
[
self
.
class
instanceCounterIncrease
];
return
self
;
[
NSNotificationCenter
.
defaultCenter
addObserver
:
self
}
selector:
@selector
(
flutterViewDidShow
:)
name
:
@"flutter_boost_container_showed"
object:
nil
];
-
(
instancetype
)
initWithCoder
:(
NSCoder
*
)
aDecoder
{
if
(
self
=
[
super
initWithCoder
:
aDecoder
])
{
[
self
_setup
];
}
}
return
self
;
return
self
;
}
}
...
...
ios/flutter_boost.podspec
View file @
e979d912
...
@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
...
@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
A new Flutter plugin make flutter better to use!
A new Flutter plugin make flutter better to use!
DESC
DESC
s
.
homepage
=
'http://example.com'
s
.
homepage
=
'http://example.com'
s
.
license
=
{
:file
=>
'../LICENSE'
}
s
.
license
=
{
:file
=>
'../LICENSE
.md
'
}
s
.
author
=
{
'Alibaba Xianyu'
=>
'email@example.com'
}
s
.
author
=
{
'Alibaba Xianyu'
=>
'email@example.com'
}
s
.
source
=
{
:path
=>
'.'
}
s
.
source
=
{
:path
=>
'.'
}
s
.
source_files
=
'Classes/**/*.{h,m,mm}'
s
.
source_files
=
'Classes/**/*.{h,m,mm}'
...
...
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