Skip to content

Instantly share code, notes, and snippets.

View BertanT's full-sized avatar
🧃

M. Bertan Tarakçıoğlu BertanT

🧃
View GitHub Profile
@rxwei
rxwei / swift-charts-framework-internship.md
Last active December 6, 2023 16:58
Swift Charts Framework Internship at Apple

Swift Charts Framework Internship at Apple

Note: Applications are now closed.

Apple's Swift Charts team is now looking for interns for 2024!

This is a paid, in-person internship in Cupertino, California. While most internships last 3 months, starting in May or June, the start date and internship length are flexible. Internships are restricted to students pursuing a Bachelor's, Master's, or PhD degree. Students must be enrolled in school in

@lanserxt
lanserxt / LoopedPlayerView.swift
Last active October 25, 2023 16:18
Loop playback with AVQueuePlayer and AVPlayerLooper
final class LoopedVideoPlayerView: UIView {
fileprivate var videoURL: URL?
fileprivate var queuePlayer: AVQueuePlayer?
fileprivate var playerLayer: AVPlayerLayer?
fileprivate var playbackLooper: AVPlayerLooper?
func prepareVideo(_ videoURL: URL) {
let playerItem = AVPlayerItem(url: videoURL)