Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Extract and reuse common sky/shell components on Mac and iOS #177

Merged
merged 1 commit into from
Jul 21, 2015

Conversation

chinmaygarde
Copy link
Member

The Mac target is a work in progress. I am also in the process of extracting the test runner methods into a common file. In a separate commit.

NSStringFromClass([SkyAppDelegate class]));
int main(int argc, const char * argv[]) {
return PlatformMacMain(argc, argv, ^(){
return UIApplicationMain(argc, (char **)argv, nil,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised you need this cast here. Is main's arg actually const?

@eseidelGoogle
Copy link
Contributor

lgtm, but I think we could go a couple more rounds here. It's also definitely not clear to me that you want to be an NSWindow, sublcassing NSWindow is typically wrong. You probably just want to have a normal NSWindow and be the contentView on it?

@chinmaygarde
Copy link
Member Author

Will get rid of the window subclass. Also, will try to figure out how I can get the old hooks with the formatter and linter working.

chinmaygarde added a commit that referenced this pull request Jul 21, 2015
Extract and reuse common sky/shell components on Mac and iOS
@chinmaygarde chinmaygarde merged commit 821135a into flutter:master Jul 21, 2015
@chinmaygarde chinmaygarde deleted the sky/shell branch July 21, 2015 22:06
rafaelring pushed a commit to rafaelring/engine that referenced this pull request Nov 28, 2018
…er#177)

* Replace old comment / line spacing per line

* Removed extraneous whitespace found on diff.

* re-enable LTO, undoing change picked up from bad merge.
rafaelring pushed a commit to rafaelring/engine that referenced this pull request Nov 28, 2018
flutter#177)" (flutter#186)

This reverts commit 9bbd435.

This caused major regressions, see flutter/flutter#23678.

In the future, we can check the flags individually to see which we can add without regressing our benchmarks.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants