-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support multiple new windows #18
Comments
With this in mind, how do you envision the mw.close() function to work when multiple windows are at work ? Do you want to pass some sort of id ? mw.close(newWindowId); Ive managed to make the code popup 2 windows (just two variables with some simple logic), my next attemtp will be to use an array (or list) to keep track of the LDYWebViewWindowController windows. |
@codewise-nicolas: we can do |
Here is what I have so far, please excuse me as its my first work with objective-c. Apologoes for the gists, I will try and get a proper git repo going locally to track changes. I store the webview into a NSMutableDictionary. The key is "name" parameter passed into the function call, mw.newWindow({name: 'a name'}), and mw.closeWindow({name: 'a name'}); |
Here is a diff.patch instead |
The text was updated successfully, but these errors were encountered: