Skip to content

Instantly share code, notes, and snippets.

View DeveloperMaris's full-sized avatar

Maris Lagzdins DeveloperMaris

View GitHub Profile
@DeveloperMaris
DeveloperMaris / remove-from-dictionary.swift
Created February 16, 2023 06:57
How to set dictionary values to nil
//
// main.swift
// RemoveFromDictionary
//
// Created by Maris Lagzdins on 16/02/2023.
//
import Foundation
var oscarWinners = [
@DeveloperMaris
DeveloperMaris / PlayerViewController.swift
Last active January 13, 2022 08:37
experiment-weak-or-strong-self-capture
//
// PlayerViewController.swift
// Player
//
// Created by Maris Lagzdins on 12/01/2022.
//
import UIKit
class PlayerViewController: UIViewController {
@DeveloperMaris
DeveloperMaris / privacy_policy_NameDay.md
Last active January 31, 2023 10:32
Privacy Policy for iOS application "Name Day"

PRIVACY POLICY

Maris Lagzdins built the "Vārda diena" application as a Free app. This application is provided by Maris Lagzdins at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my application.

If you choose to use my application, then you agree to the collection and use of information in relation to this policy.

INFORMATION COLLECTION AND USE

@DeveloperMaris
DeveloperMaris / DecodableEnumAssociatedValues.swift
Last active February 22, 2021 15:36
Decodable enum with associated values
//
// Original idea's author is Donny Wals.
// https://twitter.com/DonnyWals/status/1363840790322102275
//
// Example modified by Maris Lagzdins on 22/02/2021.
//
import Foundation
// Decodable enum with associated values.
@DeveloperMaris
DeveloperMaris / PRIVACY_POLICY_To_Time.md
Created December 1, 2020 09:13
Privacy Policy for iOS application "To Time"

Privacy Policy

Maris Lagzdins built the To Time app as an Open Source app. This SERVICE is provided by Maris Lagzdins at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy.

Information Collection and Use

@DeveloperMaris
DeveloperMaris / PRIVACY_POLICY_ToolReleases.md
Created June 30, 2020 07:20
Privacy Policy for macOS app "Tool Releases"

Privacy Policy

Maris Lagzdins built the Tool Releases app as an Open Source app. This SERVICE is provided by Maris Lagzdins at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Tool Releases unless otherwise defined in this Privacy Policy.