Skip to content

Instantly share code, notes, and snippets.

View jaywcjlove's full-sized avatar

小弟调调 jaywcjlove

View GitHub Profile
@jaywcjlove
jaywcjlove / WeatherView.swift
Created November 10, 2023 05:26 — forked from unixzii/WeatherView.swift
A demo of implementing iOS Weather card in SwiftUI.
import SwiftUI
struct HeaderView: View {
var body: some View {
HStack {
Image(systemName: "info.circle.fill")
.resizable()
.frame(width: 12, height: 12)
Text("Section Header")
.font(.system(size: 13))
package main
import (
"crypto/tls"
"flag"
"io"
"log"
"net"
"net/http"
"net/http/httputil"
@jaywcjlove
jaywcjlove / 点击关闭按钮关闭应用程序代理方法
Last active December 29, 2015 15:19
//点击关闭按钮关闭应用程序代理方法
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender{
return YES;
}