Skip to content

jacobkosmart/PunchZoom-ios-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔎 PunchZoom-ios-practice

스크린샷

📌 기능 상세

  • SwiftUI Gestures : long-press, double-tap, drag gesture and magnification

  • SwiftUI Materials : Apply blur effect plus vibrancy to a view that appears behind another view by adding a material with tha background

🔑 Check Point !

🔷 UI Structure

image

🔷 Model

//  PageModel.swift

import Foundation

// Swift Protocol : A protocol defines a blueprint of methods, properties, and
// other requirements that suit a particular task or piece of functionality
struct Page: Identifiable {
	let id: Int // ID: Specifying the identified Item
	let imageName: String
}

extension Page {
	var thumbnailName: String {
		// Concatenating Strings: String values can be added together (or concatenated)
		// with the addition operator (+)
		return "thumb-" + imageName
	}
}

🔶 🔷 📌 🔑 👉

🗃 Reference

How to use gestures in SwiftUI - https://www.hackingwithswift.com/books/ios-swiftui/how-to-use-gestures-in-swiftui

Udemy SwiftUI Masterclass 2022 - https://www.udemy.com/course/swiftui-masterclass-course-ios-development-with-swift/

About

To practice Puch and Zoom featuure with various gestures

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages