Skip to content
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

docs: simple cocoa API usage example #1001

Closed
wants to merge 2 commits into from
Closed

docs: simple cocoa API usage example #1001

wants to merge 2 commits into from

Conversation

frau
Copy link
Contributor

@frau frau commented Aug 11, 2014

This doesn't include the basic plist and project file you need to get this to run, but those are just boilerplate generated by Xcode.

@frau
Copy link
Contributor Author

frau commented Aug 11, 2014

Gah, was I wrong to force push a fix?

@ghost
Copy link

ghost commented Aug 11, 2014

Github unfortunately detaches the old commit from the issue if you force-push. Normally I'd say force-pushing is correct to update a pull request (especially if the PR consists of multiple separate commits), but github makes it a bit of a pain.

Anyway, I just wrote: https://github.com/frau/mpv/commit/6d3af08e0a380b1b9b053d4e6205d71da4d14959#commitcomment-7335138

Also, imitate the qt example somewhat.
@ghost
Copy link

ghost commented Aug 11, 2014

Well, it still uses the dispatch queue stuff, so to me it just looks like it got even more complicated (although I don't understand it fully), and the first version looks shorter/simpler.

@pigoz
Copy link
Member

pigoz commented Aug 11, 2014

It looks more complicated but also more realistic, imho.

@ghost
Copy link

ghost commented Aug 12, 2014

So shall I merge this?

@pigoz
Copy link
Member

pigoz commented Aug 12, 2014

Yeah, it looks good to me.

@ghost
Copy link

ghost commented Aug 12, 2014

OK, pushed both commits.

@ghost ghost closed this Aug 12, 2014
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants