An open API service indexing awesome lists of open source software.

https://github.com/jacobkosmart/punchzoom-ios-practice

To practice Puch and Zoom featuure with various gestures
https://github.com/jacobkosmart/punchzoom-ios-practice

drawer pinch-to-zoom resuable-component swiftui

Last synced: 8 months ago
JSON representation

To practice Puch and Zoom featuure with various gestures

Awesome Lists containing this project

README

          

# πŸ”Ž 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](https://user-images.githubusercontent.com/28912774/148867512-fb08ca56-b50f-415d-943f-484ca141a0ee.png)

### πŸ”· Model

```swift
// 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
}
}

```

#### πŸ‘‰ [1.Double Tap Gesture](https://github.com/jacobkosmart/PunchZoom-ios-practice/blob/main/MD/1.DoubleTab.md)

#### πŸ‘‰ [2.Drag Gesture](https://github.com/jacobkosmart/PunchZoom-ios-practice/blob/main/MD/2.DragGesture.md)

#### πŸ‘‰ [3.Long Press Gesture](https://github.com/jacobkosmart/PunchZoom-ios-practice/blob/main/MD/3.LongPressGesture.md)

#### πŸ‘‰ [4.Control Interface](https://github.com/jacobkosmart/PunchZoom-ios-practice/blob/main/MD/4.ControlInterface.md)

#### πŸ‘‰ [5.Magnification Gesture](https://github.com/jacobkosmart/PunchZoom-ios-practice/blob/main/MD/5.MagnificationGesture.md)

#### πŸ‘‰ [6.User Interface](https://github.com/jacobkosmart/PunchZoom-ios-practice/blob/main/MD/6.DrawerUI.md)

#### πŸ‘‰ [7.Page Thumbnails](https://github.com/jacobkosmart/PunchZoom-ios-practice/blob/main/MD/7.PageThumbnails.md)

---

πŸ”Ά πŸ”· πŸ“Œ πŸ”‘ πŸ‘‰

## πŸ—ƒ Reference

How to use gestures in SwiftUI - [https://www.hackingwithswift.com/books/ios-swiftui/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/](https://www.udemy.com/course/swiftui-masterclass-course-ios-development-with-swift/)