首页
AI Coding
沸点
课程
直播
活动
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
登录
注册
Silence_xl
掘友等级
iOS
获得徽章 0
动态
文章
专栏
沸点
收藏集
关注
作品
赞
211
文章 211
沸点 0
赞
211
返回
|
搜索文章
Silence_xl
iOS
·
1年前
关注
鸿蒙Grid使用
``` @Entry @Component struct GridExample { @State Number: String[] = ['0', '1', '2', '...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
鸿蒙loading
``` // 定义一个名为 LoadingDialog 的自定义组件,用于显示加载对话框 @Component struct LoadingDialog { // 定义一个...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
鸿蒙代码回调
``` @Entry @Component struct Parent { @State cnt: number = 0 submit: () => void = () =...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
emitter发通知
``` // xxx.ets import emitter from '@ohos.events.emitter'; let NextID: number = 0; cla...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
鸿蒙HarmonyOS开发:List列表组件的使用详解及案例演示
``` const alphabets = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M'...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
鸿蒙HarmonyOS开发:List组件结合Badge、swipeAction实现微信消息列表侧滑删除效果
``` interface SwipeInterface { username: string, info: string, date: string, noRead: n...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
鸿蒙HarmonyOS开发:Grid网格组件结合Swiper组件实现微信朋友圈布局及图片预览效果
``` import router from '@ohos.router'; class MomentClass { public nickName: string; //...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
鸿蒙HarmonyOS开发:tabs结合tabContent实现底部tabBar导航栏页面布局
``` @Entry @Component struct TabsPage2 { build() { Column() { Tabs() { TabContent() { ...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
鸿蒙HarmonyOS开发:Scroll组件结合属性动画实现导航背景色切换效果
``` class ArticleItem { id: number; title: string; img: ResourceStr; author: string; d...
1
2
分享
Silence_xl
iOS
·
1年前
关注
鸿蒙加载网络图片
``` @Entry @Component struct Index { @State message: string = 'Hello World!!' build() ...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
鸿蒙网络请求
``` import http from '@ohos.net.http'; @Entry @Component struct MyText { // 声明写在build之...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
音视频测试地址
``` http://downsc.chinaz.net/Files/DownLoad/sound1/201906/11582.mp3 http://downsc.chin...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
Alamofire 的基本用法
1. Alamofire 的请求方式 1.1 GET 请求 (默认就是get请求) 1.2 其他方式请求 1.3 Alamofire 的request 2. Alamofi...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
iOS Swift 适配HTTPS(单向验证)
前言 注意!!! 如果您使用的不是自签名的证书则不需要如下配置,比如顶级域名提供的证书、各种云服务提供的证书。 1.使用Alamofire 2.使用Alamofire + ...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
URL解析-URLComponents
let components = URLComponents(url: fakeUrl, resolvingAgainstBaseURL: false)! http...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
JSONPlaceholder 基本使用
一、认识 JSONPlaceholder 官网地址:http://jsonplaceholder.typicode.com/ JSONPlaceholder 是一个提在线 ...
1
评论
分享
Silence_xl
iOS
·
1年前
关注
NSObjectProtocol
'weak' must not be applied to non-class-bound 'any LBFMListenFooterViewDelegate'; cons...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
【iOS-Swif】 Call can throw, but it is not marked with 'try' and the error is not
报错:Call can throw, but it is not marked with 'try' and the error is not handled。 因为没有使...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
URLRequest设置`Content-Type`请求头
1. Alamofire中的范例代码 Alamofire的ParameterEncoding文件中,分别进行了URLEncoding, JSONEncoding以及Prop...
0
评论
分享
Silence_xl
iOS
·
1年前
关注
Alamofire入门指南:基本概念和使用方法
1. 认识Alamofire 1.1 什么是Alamofire? Alamofire是一个基于Swift语言开发的优秀网络请求库。它封装了底层的网络请求工作,提供了更简单、...
1
评论
分享
下一页
个人成就
文章被点赞
366
文章被阅读
208,190
掘力值
5,012
关注了
11
关注者
32
收藏集
0
关注标签
1
加入于
2020-04-26