MacでObjective-Cを使い,壁紙を変更する方法.

Objective-Cで壁紙を取得したり変更するにはNSWorkspace Classを使う.

リファレンスはこちら. https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSWorkspace_Class/Reference/Reference.html

壁紙の取得には

desktopImageURLForScreen:

を 壁紙の設定には

setDesktopImageURL: forScreen: options: errors: 

を使う.

NSWorkspaceはシングルトンなので

[NSWorkspace sharedWorkspace] …];

みたいな感じになるはず.