E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
implementation
六、isa走位图实例分析
isa流程图.pngLGPerson@interfaceLGPerson:NSObject-(void)sayNB;+(void)sayHappay;@end@
implementation
LGPerson
KB_MORE
·
2023-02-17 00:56
未定义行为(Undefined behavior)
Implementation
-defined、Unspecified和Undefined
Implementation
-definedC标准没有明确规定char是有符号的还是无符号的,但是要求编译器必须对此做出明确规定
ninedreams
·
2023-02-07 11:24
导航栏返回按钮
整体替换导航栏按钮@interfaceCustomNavigationVC:UINavigationController@end///////@
implementation
CustomNavigationVC
橡树花香
·
2023-02-07 05:27
Retrofit+rxjava的封装
前言基于以下参考进行改良封装一、接入前准备,将下面的依赖导入工程里面
implementation
'io.reactivex.rxjava2:rxjava:2.1.0'//必要rxjava2依赖
implementation
'io.reactivex.rxjava2
Yobin_He
·
2023-02-07 03:26
Android studio 多渠道打包(友盟)
第一步首先进入友盟官网注册开发者账号,然后创建u-app应用获得appkey,然后去清单文件配置appkey然后加上所需要权限加上依赖
implementation
'com.umeng.analytics
陆陆陆陆_9d5f
·
2023-02-07 03:29
iOS block总结 (二)
变量例子一首先看一个简单的例子定义一个类YZPerson,里面只有一个dealloc方法@interfaceYZPerson:NSObject@property(nonatomic,assign)intage;@end@
implementation
YZPerson
贾小敏1234
·
2023-02-07 01:18
react-native-charts-wrapper安装
react-native-charts-wrapper上的安装步骤进行安装,这里补充三个安装时遇到的问题1.安装时需要更新版本,所以需要将其他gradle文件里的版本改成更新后的2.添加依赖之后将所有gradle文件里的compile改为
implementation
能吃饭也能吃苦1236
·
2023-02-07 01:37
iOS设计模式之单例模式
三、使用#import"Singleton.h"staticSingleton*_instance=nil;@
implementation
Singleton+(instanc
窗内户外
·
2023-02-06 20:59
2020年GitHub 上那些优秀Android开源库,这里是Top10!
导入以下Gradle依赖项:
implementation
'
迪士尼在逃程序员
·
2023-02-06 17:33
Flutter王者之路-填坑篇
使用FlutterWebViewPlugin插件No
implementation
foundformethodcloseonchannelflutter_webview_plugin解决办法:尝试关掉APP
有时间多读书
·
2023-02-06 17:40
六大手势
#import"ViewController.h"@interfaceViewController(){UIImageView*img;}@end@
implementation
ViewController
没得到的是你没遇到呢
·
2023-02-06 15:46
AndroidStudio 编译错误: 程序包com.android.billingclient.api不存在
com.android.billingclient.api不存在原因Android支付用的系统库没有引入解决办法解决办法.png在项目对应的build.gradle文件,dependencies下添加一行
implementation
'com.android.billingclient
恰饭工房
·
2023-02-06 13:44
Retrofit源码分析
一.基本使用https://square.github.io/retrofit/#introduction//retrofit
implementation
'com.squareup.retrofit2:
hjfstory
·
2023-02-06 12:35
46. Room数据库的使用
引用:
implementation
"androidx.room:room-runtime:2.0.0-beta01"annotationProcessor"androidx.room:room-compiler
任振铭
·
2023-02-06 11:12
Android AndroidJUnit4 单元测试
【配置】defaultConfig{......testInstrumentationRunner"androidx.test.runner.AndroidJUnitRunner"}test
Implementation
'junit
不会看源码
·
2023-02-06 10:54
Banner 的基本使用
这里总结一下各种实现方案依赖:
implementation
'com.youth.banner:banner:1.4.10'布局:之后就是实现的代码由于我
ItemWang
·
2023-02-06 09:07
架构师(四)——组件化子模块交互
假设有两个子模块order和persional,以及公共库commonimage.png由于是子模块,他们没有互相依赖(就是在build.gradle中
implementation
project(':personal
王志强_9380
·
2023-02-06 07:01
coredata
import"AppDelegate.h"@interfaceDataManager(){//声明一个AppDelegate对象属性,调用里面的被管理的对象上下文保存方法AppDelegate*myDelegate;}@end@
implementation
DataManager
小美788
·
2023-02-06 06:45
std::unique_ptr使用incomplete type的报错分析和解决
Pimpl(Pointerto
implementation
)很多同学都不陌生,但是从原始指针升级到C++11的独占指针std::unique_ptr时,会遇到一个incompletetype的报错,本文来分析一下报错的原因以及分享几种解决方法
MistEO
·
2023-02-06 05:30
iOS 只能输入英文字母汉字
definekMaxLength20@interfaceViewController()@property(weak,nonatomic)IBOutletUITextField*demoTextField;@end@
implementation
ViewContr
yuezishenyou
·
2023-02-06 03:36
谈
implementation
vs api maven vs GradleMetadata
详情查看https://dim.red/2019/12/26/
implementation
_api_maven_gradle_metadata/
轻微
·
2023-02-06 01:19
Xcode 10 iOS12 nav导航栏的Subviews奔溃
navBarBgAlpha;@end#import"UIViewController+Cloudox.h"#import#import"UINavigationController+Cloudox.h"@
implementation
UIView
冷了年度
·
2023-02-05 18:53
ViewPager 设置wrap_content无效的问题
@OverrideprotectedvoidonMeasure(intwidthMeasureSpec,intheightMeasureSpec){//Forsimple
implementation
,ourinternalsizeisalways0
Showdy
·
2023-02-05 10:40
【线程】线程安全-多读单写
一、采用dispatch_barrier实现;@interfaceTest(){dispatch_queue_tcurrent_queue;NSMutableDictionary*dic;}@end@
implementation
MeteorCode
·
2023-02-05 09:19
NSObject 的消息转发机制
截屏2020-12-16上午11.49.46.pngStep1///Dynamicallyprovidesan
implementation
foragivenselectorforaclassmethod
穷小子
·
2023-02-05 09:24
iOS UIView Frame 剖析
上代码@
implementation
UIView(MGPrivate)-(void)setFrame:(CGRect)frame{if(self.tag==10000
wnido
·
2023-02-05 08:26
not respond selector 的处理
notrespondselector的处理注意点:交换方法在+(void)load中添加,实例方法class_getInstanceMethod,类方法class_getClassMethod,交换用method_exchange
Implementation
s
jay_丶
·
2023-02-05 06:14
Objective-C isa指针探秘
NSObject->Class->objc_class->objc_object新建一个最简单的空类:@interfacePerson:NSObject@end@
implementation
Person
milawoai
·
2023-02-05 04:18
macOS NSTableView
NSTableView结构结构NSTableView简单创建#import"ViewController.h"@interfaceViewController()@end@
implementation
ViewController
木马不在转
·
2023-02-05 03:21
Android Glide4.0+图片加载进度监听
一、准备工作笔者Glide为://Glide4.7.1:https://github.com/bumptech/glide
implementation
('com.github.bumptech.glide
徘徊0_
·
2023-02-05 03:20
NSObject
19at9.04.57PM.pngtogglethebuttontocheckthewholecallheapstack.WhenrunthecodeABCRobot*r=[ABCRobotalloc];Youwillfindbeforeitcallsthe//Baseclass
implementation
of
Justin_S_Wang
·
2023-02-05 00:46
UISplitViewController
UISplitViewController+(instancetype)share;@endNS_ASSUME_NONNULL_END#import"CCSplit.h"@interfaceCCSplit()@end@
implementation
CCSplit
牧_e50d
·
2023-02-04 23:29
iOS字节网易面试题(带答案)
不可以,先看一下NSString的alloc方法@classNSPlaceholderString;@interfaceNSString:(NSObject)+(id)alloc;@end@
implementation
NSString
话说很不错
·
2023-02-04 21:45
剖析 Android 架构组件之 ViewModel
1.依赖库
implementation
"androidx.fragment:fragme
吴下阿吉
·
2023-02-04 21:33
android的搜索功能
现在大部分的有关商城的列表或者其他方便的列表都会包含有搜索功能如下图:image.png我这里用的是SearcheditText导入依赖://搜索
implementation
'com.wenwenwen888
心中有梦丶身边有你
·
2023-02-04 20:40
锁
一、synchronized@interfaceViewController()@property(nonatomic,assign)NSUIntegerticketCount;@end@
implementation
ViewController
howhyone
·
2023-02-04 20:29
记录一次更新npm i之后,原来兼容IE的程序,又报语法错误,app.js包语法错误: “exports.destroy = (() => { ... }); const let”等未被转义
app.js/***Thisisthewebbrowser
implementation
of`debug()`.*///...exports.destroy=(()=>{letwarned=false;return
蓝with黑
·
2023-02-04 14:43
bug解决记录
javascript
npm
webpack
graph theory - tarjan's algorithm
implementation
reference:https://codeforces.com/blog/entry/71146https://www.geeksforgeeks.org/articulation-points-or-cut-vertices-in-a-graph/articulationpoints#include#includeusingnamespacestd;intap_dfs(vector>&adj,
酒桶九筒
·
2023-02-04 14:15
Android二维码生成与识别
导入库
implementation
'com.google.zxing:core:3.4.1'publicclassQrCodeUtil{publicstaticStringdecode(Contextcontext
明日未期
·
2023-02-04 10:09
Kotlin协程使用
目录协程的用法协程同步异步请求与Rxjava,原生写法的区别与优势对于协程的理解1.协程的用法在安卓中添加引用,引用里面也包括了协程核心库
implementation
'org.jetbrains.kotlinx
syimo
·
2023-02-04 10:19
Randomized priority queue
Describehowtoaddthemethods\mathtt{sample()}sample()and\mathtt{delRandom()}delRandom()toourbinaryheap
implementation
.Thetwomethodsreturnakeythatischosenuniformlyatrandomamongtheremainingkeys
一叶夏幕
·
2023-02-04 06:23
iOS UIDocumentPickerViewController
interfaceSUViewController()@property(nonatomic,strong)UIDocumentPickerViewController*documentPickerVC;@end@
implementation
SUViewController
微笑城ios
·
2023-02-04 06:50
NSSecureCoding协议demo
strong)NSString*user;@property(nonatomic,strong)NSArray*books;@property(nonatomic,assign)intage;@end@
implementation
User
ONE2
·
2023-02-04 06:45
linux下编译geth源码
以太坊有两个主要的客户端软件Geth和ParityGoEthereumisoneofthethreeoriginal
implementation
s(alongwithC++andPython)oftheEthereumprotocol.ItiswritteninGo
collinPan
·
2023-02-04 05:57
IOS. 自动生成model属性。
h文件@interfaceNSObject(Property)+(void)createPropertyCodeWithDict:(NSDictionary*)dict;@end.m文件@
implementation
NSObject
彼岸花下的暗影
·
2023-02-04 04:51
Future系列(CompletableFuture与retrofit)使用和解析
一、在Android中的使用1.gradle依赖
implementation
"io.reactivex.rxjava2:rxjava:2.0.8"
implementation
'io.reactivex.rxjava2
勇敢地追
·
2023-02-04 03:06
(效果)RecyclerView使用自定义的LayoutManger管理器(复制直接可用)
先看效果capture.gif一、recyclerview依赖//RecyclerView
implementation
'com.android.support:recyclerview-v7:28.0.0
小慧sir
·
2023-02-04 01:29
DLTool解决MVP、Http、UI、Util、高效扫码等问题(一)
DLToolgitee地址1.使用方法:Step1allprojects{repositories{...maven{url'https://jitpack.io'}}}Step2dependencies{
implementation
'com.gitee.toune.DLTool
英勇的骑士_d175
·
2023-02-03 23:42
EventBus 3.X源码分析
依赖
implementation
'org.greenrobot:eventbus:3.1.1'基本使用1.定义事件publicclassMessageEvent{privateStringmsg;publicMessageEvent
zYoung_Tang
·
2023-02-03 23:45
简单封装Retrofit2+Rxjava2+OkHttp3
一、需要添加的依赖包//Retrofit+OKHttp
implementation
'com.squareup.retrofit2:retrofit:2.5.0'
implementation
'com.squareup.retrofit2
liliLearn
·
2023-02-03 19:24
上一页
54
55
56
57
58
59
60
61
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他