牛客849267284号
牛客849267284号
全部文章
分类
技术教程(7)
归档
标签
去牛客网
登录
/
注册
Junhao Luo
这里放置了许多项目中遇到的技术问题包括基于Swift的iOS开发和基于Java的后端开发
全部文章
(共7篇)
HTTP 请求方法
什么是HTTP? The Hypertext Transfer Protocol (HTTP) is designed to enable communications between clients and servers. HTTP works as a request-response pr...
http
2022-03-24
0
392
Java创建线程的三种方式及对比
1、继承Thread类创建线程类 定义Thread类的子类,并重写该类的run方法,该run方法的方法体就代表了线程要完成的任务。因此把run()方法称为执行体。 创建Thread子类的实例,即创建了线程对象。 调用线程对象的start()方法来启动该线程。 示例代码为: package com.t...
Java
2022-03-17
1
286
MySQL中删除表的三种方式
drop table drop 是直接删除表信息,速度最快,但是无法找回数据 例如删除 user 表: drop table user; runcate (table) truncate 是删除表数据,不删除表的结构,速度排第二,但不能与where一起使用 例如删除 user 表: truncat...
数据库
2022-03-17
0
427
关于数据库的三范式
一、第一范式 1NF是对属性的原子性,要求属性具有原子性,不可再分解; 表:字段1、 字段2(字段2.1、字段2.2)、字段3 ...... 如学生(学号,姓名,性别,出生年月日),如果认为最后一列还可以再分成(出生年,出生月,出生日),它就不是一范式了,否则就是; 二、第二范式 2NF是对记录...
数据库
2022-03-17
0
299
How to open a URL in Safari in Swift (使用URL打开Safari)
Swift version: 5.4 If you want the user to exit your app and show a website in Safari, it's just one line of code in Swift. I'll make it three here be...
Swift
2022-03-14
0
315
Passing Image to another View Controller (Swift)(图片传递)
In prepare(for:) you can't access the @IBOutlets of the destination view controller because they haven't been set up yet. You should assign the image ...
Swift
2022-03-14
0
347
String To Url and Url To String Swift Tutorial (类型转换)
Creating a URL from a String To create a url from a string, simply call the URL constructor: let url = URL(string: "https://www.zerotoappstore.com/")...
Swift
2022-03-14
0
602