Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
7f9c045
iOS: Migrate FlutterViewController to ARC
cbracken Oct 4, 2024
60ea3e5
Migrate _engine to property
cbracken Oct 4, 2024
7e46ed2
Migrate _flutterView to property
cbracken Oct 4, 2024
b20610c
Migrate _flutterViewRenderedCallback to property
cbracken Oct 4, 2024
385e7c7
Migrate _statusBarStyle to property
cbracken Oct 4, 2024
e702f44
Migrate _initialized, _viewOpaque, _engineNeedsLaunch to properties
cbracken Oct 4, 2024
e9b7438
Migrate _ongoingTouches to property
cbracken Oct 4, 2024
4245120
Migrate _scrollView to property
cbracken Oct 4, 2024
a451b9f
Migrate _keyboardAnimationView to property
cbracken Oct 4, 2024
b4f201e
Migrate _keyboardSpringAnimation to property
cbracken Oct 4, 2024
cbb8426
Migrate scrollInertiaEvent ivars to properties
cbracken Oct 4, 2024
2606754
Make a couple more references to self weak
cbracken Oct 4, 2024
950ef83
Avoid capturing self via super
cbracken Oct 4, 2024
65129c2
Eliminate use of scoped_nsobject
cbracken Oct 4, 2024
b5b4978
Update TODO
cbracken Oct 4, 2024
f274f24
Fix typo
cbracken Oct 4, 2024
134e6d3
ivar stuff
cbracken Oct 4, 2024
03ec71b
Moar property syntax
cbracken Oct 4, 2024
258e7e6
Add engine non-nil asserts
cbracken Oct 4, 2024
5c9923b
Set explicit type for my own sanity
cbracken Oct 4, 2024
445202b
One more property
cbracken Oct 4, 2024
bd4af67
err YES, not true. NO, not false.
cbracken Oct 4, 2024
e4d6308
Let's maybe assert ARC
cbracken Oct 4, 2024
e7360f4
retain to strong
cbracken Oct 5, 2024
be400a2
Fix self capture
cbracken Oct 5, 2024
25a6263
Revert to previous setup local then assign
cbracken Oct 5, 2024
496e4f5
Remove NSAsserts on self.engine -- though we probably do want em even…
cbracken Oct 5, 2024
f757a08
review feedback: comments and todos
cbracken Oct 18, 2024
f3c808e
review feedback: moar strongSelf
cbracken Oct 18, 2024
c492fcc
Extract keyboardAnimationCallback helper
cbracken Oct 18, 2024
861d6a0
Extract onFirstFrameRendered
cbracken Oct 18, 2024
be71895
Format
cbracken Oct 18, 2024
18781e1
review feedback: method name
cbracken Oct 18, 2024
49800bb
Hangs head in shame
cbracken Oct 22, 2024
4f9cf85
Weak engine is strong
cbracken Oct 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions shell/platform/darwin/ios/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ source_set("flutter_framework_source_arc") {
"framework/Source/FlutterUndoManagerPlugin.mm",
"framework/Source/FlutterView.h",
"framework/Source/FlutterView.mm",
"framework/Source/FlutterViewController.mm",
"framework/Source/FlutterViewController_Internal.h",
"framework/Source/FlutterViewResponder.h",
"framework/Source/KeyCodeMap.g.mm",
"framework/Source/KeyCodeMap_Internal.h",
Expand Down Expand Up @@ -175,6 +177,7 @@ source_set("flutter_framework_source_arc") {
"//flutter/shell/platform/darwin/graphics",
"//flutter/shell/platform/embedder:embedder_as_internal_library",
"//flutter/shell/profiling:profiling",
"//flutter/third_party/spring_animation",
]
}

Expand All @@ -189,8 +192,6 @@ source_set("flutter_framework_source") {
# iOS embedder is migrating to ARC.
# New files are highly encouraged to be in ARC.
# To add new files in ARC, add them to the `flutter_framework_source_arc` target.
"framework/Source/FlutterViewController.mm",
"framework/Source/FlutterViewController_Internal.h",
"platform_view_ios.h",
"platform_view_ios.mm",
]
Expand All @@ -210,7 +211,6 @@ source_set("flutter_framework_source") {
"//flutter/shell/platform/darwin/common:framework_common",
"//flutter/shell/platform/embedder:embedder_as_internal_library",
"//flutter/shell/profiling:profiling",
"//flutter/third_party/spring_animation",
]

public_configs = [
Expand Down
Loading