Skip to content

Instantly share code, notes, and snippets.

import SwiftUI
public struct CirclerPercentageProgressViewStyle : ProgressViewStyle {
public func makeBody(configuration: LinearProgressViewStyle.Configuration) -> some View {
VStack(spacing: 10) {
configuration.label
.foregroundColor(Color.secondary)
ZStack {
Circle()
.stroke(lineWidth: 15.0)
.opacity(0.3)
//
// PieChart.swift
// NokiaGame
//
// Created by Prafulla Singh on 13/9/20.
// Copyright © 2020 Prafulla Singh. All rights reserved.
//
import SwiftUI
import SwiftUI
struct CardContent: View {
public var body: some View {
ZStack {
Color.gray
Text("Main View")
SlideOverView {
VStack {
//
// ChatBubble.swift
// ios14-demo
//
// Created by Prafulla Singh on 25/7/20.
//
import SwiftUI
struct ChatBubble<Content>: View where Content: View {
let direction: ChatBubbleShape.Direction
import SwiftUI
struct ContentView: View {
static var test:String = ""
static var testBinding = Binding<String>(get: { test }, set: { test = $0 } )
var body: some View {
NavigationView {
VStack(alignment: .leading) {
Text("Enter Review Comments:")
MultilineTextField("Type here", text: ContentView.testBinding, onCommit: {