Cocoa

Docset Icon

picture credit: Apple, Inc.

What is ESSVideoShare?

ESSVideoShare is a framework Cocoa (Touch) developers can use in their projects to easily implement uploading videos to the popular video sharing services YouTube, Vimeo, Flickr and Facebook.

With a few lines of code, developers can implement this functionality and the framework will do all the heavy lifting.

Now available for iOS, additionally to OS X Lion

Originally, I had designed this framework for OS X Lion only. However, since the code base is mainly dependent on the Foundation framework which is available on both the Mac and iOS, I figured it would be a) really neat and b) easy to bring this framework to iOS as well.

The actual process of implementing the framework in your iOS project is a little different than for OS X – on OS X, you build the framework from the source and then add that framework to your project, on iOS, you take the source files of the framework directly and copy them to your project. Other than that, everything else remains the same.

Sample Projects and Links

ESSVideoShare open source project on GitHub

OS X Lion Sample Project (~250 KB)

OS X Lion How To

iOS Sample Project (~3 MB)

iOS How To

ย 

Enjoy – and please let me know if you use this in your projects, I’d be happy to hear about it ๐Ÿ™‚

ย 

[twitter-follow screen_name=’eternalstorms’ show_count=’yes’]

[twitter-follow screen_name=’flickeryapp’ show_count=’yes’]

[twitter-follow screen_name=’screenfloatapp’ show_count=’yes’]

[twitter-follow screen_name=’gimmesometune’ show_count=’yes’]

Read more

Logo

Hi, everyone.

I wanted to try something new, so instead of a blog post, I’ve recorded this ~6 minute podcast for your listening (dis-)pleasure.

Here are the relevant links and time codes in case you want to jump to a specific section:

00:00 – Intro
00:25 – New website (http://www.eternalstorms.at)
00:47 – Yoink (http://www.eternalstorms.at/yoink)
02:46 – ScreenFloat (http://www.screenfloatapp.com)
03:21 – flickery (http://www.flickeryapp.com)
04:06 – GimmeSomeTune (http://www.gimmesometune.com)
05:09 – New apps (http://www.eternalstorms.at)
05:39 – Outro

I hope you enjoy it ๐Ÿ™‚

Podcast-download (best viewed in QuickTime Player or iTunes for chapter selection)

Take care,
Matt

[twitter-follow screen_name=’eternalstorms’ show_count=’yes’]

[twitter-follow screen_name=’flickeryapp’ show_count=’yes’]

[twitter-follow screen_name=’screenfloatapp’ show_count=’yes’]

[twitter-follow screen_name=’gimmesometune’ show_count=’yes’]

Read more

Yoink

The Feature Request

One of the most requested features for Yoink is being able to drag files from a Stack in the Dock to Yoink’s window. It sounds very simple and were I not the developer of this app, I myself would ask why Yoink hasn’t been able to do that from version 1.0.

Sadly, it’s not that simple.

ย 

stacks in dock

The Problem

For a reason unknown to me and maybe even a few people at Apple, the Dock does not use the general NSPasteboard used for dragging (NSPasteboard is responsible for being able to copy, cut and paste content from one document to another, but it also handles file drags, most generally with the NSDragPboard type).

No, the Dock uses a custom NSPasteboard for dragging (probably using NSPasteboard’s -pasteboardWithUniqueName method). The thing is, NSPasteboard doesn’t keep a public list around (and I don’t know of a private one, either)ย of the names of these unique pasteboards, which makes it impossible to check if a drag occurs on those uniquely named pasteboards.

This is not only the problem with the Dock, but also with iTunes – it also uses a unique pasteboard for its drags.

The Solution(s)

The thing is, even though the Dock uses a private pasteboard for its dragging handling purposes, if the Yoink window is visible, it still recognizes those drags. Which is a good thing, because knowing that, I can look for a solution.

As I see it, there are two possible solutions to this problem:

Possible solution #1: Have a hotkey to force Yoink’s window to show.

Although I like it, it does have its drawbacks. For starters, while you’re dragging with one hand, you don’t want to have to press a complex keyboard shortcut with the other. Many people I know use two hands to press shortcuts, so it would have to be an F-key, maybe. But pretty much all F keys are taken by default, and if not, other applications use them.
It’s more obvious than the second solution, but also harder to do while dragging.

Possible solution #2: Have hot corners or hot areas to drag to to force Yoink’s window to show

This one brings up several questions:
Should all corners be hot?
Should the user be able to define them?
Should it be corners only or should it be the entire edge of the screen?
And once the user drags an item to the hot corner to show Yoink’s window, they still would have to drag it from the corner to the window. So it’s a longer way for the mouse.
And of course, in those corners, files can’t be dropped. They corners would be small areas, yes, and even if it’s a rare case that you’d want to drop in a corner (I don’t think I’ve ever done it), it’s still a possible case.

The Decision

I’m leaning towards using hot corners, it kind of feels more natural to me for Yoink.

I’d like to implement hot corners in all four corners of all of your screens. And whichever hot corner you use, on that corner’s screen’s edge the Yoink window will show for you to drag to.

What do you think? Does that make sense? Please leave a note in the comments below, it means a lot to me ๐Ÿ™‚

Addendum: General state of Yoink

Aside from the issue above, the next update for Yoink is coming along nicely.

x) Yoink will allow the creation of clippings (when you drag a selection of text out of an application), accept items from your Browser (images, text, links) or drag out pages of a pdf file in, say, Preview – Clipping Creation Video
x) You’ll have the option to collect several files dragged at once into one item in Yoink (here a video which explains it far better). This way you can more easily drag out several files at once. And yes, there’ll be a button to split those “file clusters” up again ๐Ÿ™‚
x) I’ve also added new position options for Yoink’s window – not only can you put it on the center right or left edge of your screen, but also the top or bottom right and left. I didn’t implement the top center or bottom center (where the Dock is by default), because Yoink uses a tableview to display its items, and tables are based on rows, one below each other. That doesn’t work if the window is not vertical but horizontal.

The Decision – [UPDATEd]

Even though I stated above that I’m leaning towards hot corners, after a good night’s rest, I’m now more and more for a hotkey instead of hot corners.
First off, it is far more obvious for users since there’s a preference for the hotkey. The hot corners would be just there, whether people knew it or not. ย Also I believe the principle of hotkeys is better known than hot corners, but don’t quote me on that.
Additionally, a hotkey would give the user the benefit to be able to hide Yoink’s window even if it’s got files in it, which has been another requested feature.

The more I think about it, a hotkey does make more sense. Wouldn’t you agree?

Thank you and take care,
Matthias

Read more

NewImage

Today I released my first open source framework for OS X Lion – ESSVideoShare.

What is ESSVideoShare

It’s a framework for OS X Lion that makes it very easy to implement video publishing to these services:

YouTube, Vimeo, Facebook and Flickr

What you need

Import ESSVideoShare into your project, make sure ti’s being copied to your app’s bundle in a build copy phase.
And of course, for each service, you need an API key.

I explain the process of implementing ESSVideoShare step by step on its github page.

In-Depth

If you’re interested in how it all works, please head on over to the public github repository.

Support

If you have any questions or suggestions for improvement, be sure to let me know either through the comments below or by mail ๐Ÿ™‚

Take care,
Matthias

[twitter-follow screen_name=’eternalstorms’ show_count=’yes’]

[twitter-follow screen_name=’flickeryapp’ show_count=’yes’]

[twitter-follow screen_name=’screenfloatapp’ show_count=’yes’]

[twitter-follow screen_name=’gimmesometune’ show_count=’yes’]

Read more