- The Mac client’s Media tab now has pagination and a preview/play area.
What changed in [main.m](/Users/tyemeclifford/Documents/GH/blog/macclient/AppKitClient/main.m): Media list now paginates with Previous/Next and 10/25/50/100 per page. Selecting an image loads an inline preview. Selecting audio/video loads an AVPlayerView with native playback controls. Added an Open button and double-click support to open media in the default Mac app. Media file sizes now display as readable values like 1.4 MB. I also updated [build-app.sh](/Users/tyemeclifford/Documents/GH/blog/macclient/build-app.sh) to link AVKit and AVFoundation, and to honor the app’s CFBundleExecutable from Info.plist so the rebuilt bundle launches with the expected TCMS executable.
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>TCMSMacClient</string>
|
||||
<string>TCMS</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.tyclifford.tcms.macclient</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>TCMS Mac Client</string>
|
||||
<string>TCMS</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
|
||||
Reference in New Issue
Block a user