Thumbnail of post image 125

Swift

概要 1〜2000のランダム値の連続具合を調べる。 ソース Playgroundで実行 連続しても2回、3回続くことはなかった 結果

Thumbnail of post image 111

Swift

概要 1〜2000のランダム値の分散具合を調べる。 ソース Playgroundで実行 選択されないものが700くらい。 意外と分散されない 結果

Thumbnail of post image 083

Swift

概要 Swift MediaPlayer ミュージック検索 MPMediaPropertyPredicate init init(value: Any?, fo ...

Thumbnail of post image 044

Swift

概要 ミュージック検索で取得。 example 検索用ベース アーティスト名で検索 MPMediaPropertyPredicateを使用する。 フィルタはAn ...

Thumbnail of post image 148

Swift

概要 ミュージックのArtist一覧取得。 Apple Musicで追加したAlbumも対象にしたい。 ソース example 注意 Info.plistに「P ...

Thumbnail of post image 100

Swift

概要 ミュージックのPlaylist一覧取得。 ソース example 自分で作成したPlaylistはMPMediaType 1(MPMediaType.mu ...

Thumbnail of post image 052

Algorithm,Swift

改訂新版 C言語による標準アルゴリズム事典をSwiftでコーディング アルゴリズム 階乗進法 factorial representation 実行 Playg ...

Thumbnail of post image 001

Algorithm,Swift

改訂新版 C言語による標準アルゴリズム事典をSwiftでコーディング アルゴリズム 黄金分割法 golden section search 実行 Playgro ...

Thumbnail of post image 110

Swift

概要 ミュージックライブラリのアルバムをシャッフルするアプリです。 シャッフルで決定されたアルバム内全曲を再生キューに追加、再生します。 再生後の操作は本アプリ ...

Thumbnail of post image 196

Algorithm,Swift

概要 READMEより(Google翻訳) ここでは、一般的なアルゴリズムとデータ構造の実装が、みんなのお気に入りの新しい言語Swiftで見つかり、それらがどの ...