Skip to content

Instantly share code, notes, and snippets.

View CodeSlicing's full-sized avatar
😎
Busy feeling awesome

CodeSlicing

😎
Busy feeling awesome
View GitHub Profile
@CodeSlicing
CodeSlicing / EditingUserWithAgeValidationDemo.swift
Created June 4, 2021 10:03
Source code for CodeSlicing episode on Property Wrappers Part 04: Age Validation with a Property Wrapper
//
// EditingUserWithAgeValidationDemo.swift
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
// of the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions:
//
@CodeSlicing
CodeSlicing / CodeWithoutResumingDemoNative.swift
Created June 17, 2021 22:06
Native source code from CodeSlicing episode: Quick Tips - Code Without Resuming
//
// CodeWithoutResumingDemoNative.swift
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
// of the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions:
//
@CodeSlicing
CodeSlicing / CodeWithoutResumingDemo.swift
Created June 17, 2021 22:07
Source code from CodeSlicing episode: Quick Tips - Code Without Resuming
//
// CodeWithoutResumingDemo.swift
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
// of the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions:
//
@CodeSlicing
CodeSlicing / AppleTVRemoteMainDialNative.swift
Created June 25, 2021 11:34
Native source code for advanced design in SwiftUI - Apple TV Remote Dial
//
// AppleTVRemoteMainDialNative.swift
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
// of the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions:
//
@CodeSlicing
CodeSlicing / AppleTVRemoteMainDial.swift
Created June 25, 2021 11:36
Source code for advanced design in SwiftUI - Apple TV Remote Dial
//
// AppleTVRemoteMainDial.swift
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
// of the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions:
//
@CodeSlicing
CodeSlicing / HomePodTopViewNative.swift
Last active August 3, 2021 23:15
Native source code for advanced design in SwiftUI - HomePod
//
// HomePodTopViewNative.swift
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
// of the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions:
//
@CodeSlicing
CodeSlicing / HomePodTopView.swift
Last active August 3, 2021 23:16
Source code for advanced design in SwiftUI - HomePod
//
// HomePodTopView.swift
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
// of the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions:
//
@CodeSlicing
CodeSlicing / PowerUpYourPreviewsNative.swift
Last active August 3, 2021 23:14
Native source code for Quick Tips episode: Power-Up Your Previews
//
// PowerUpYourPreviewsNative.swift
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
// of the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions:
//
@CodeSlicing
CodeSlicing / PowerUpYourPreviews.swift
Created July 9, 2021 16:45
Source code for Quick Tips episode: Power-Up Your Previews
//
// PowerUpYourPreviews.swift
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
// of the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions:
//
@CodeSlicing
CodeSlicing / custom-shortcuts.txt
Last active December 16, 2021 07:33
Dictionary entries for CodeSlicing episode on custom shortcuts
<key>User Defined</key>
<dict>
<key>Insert New Line Above Current Line</key>
<string>moveUp:, moveToEndOfLine:, insertNewline:</string>
<key>Insert New Line Below Current Line</key>
<string>moveToEndOfLine:, insertNewline:</string>
<key>Duplicate Current Lines Down</key>
<string>selectParagraph:, delete:, yank:, moveToBeginningOfParagraph:, yank:, moveUp:, moveToEndOfParagraph:</string>
</dict>