14
14
15
15
16
16
17
- < html class ="theme-next muse use-motion " lang ="zh-cn ">
17
+ < html class ="theme-next mist use-motion " lang ="zh-CN ">
18
18
< head >
19
19
< meta charset ="UTF-8 "/>
20
20
< meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
84
84
var NexT = window . NexT || { } ;
85
85
var CONFIG = {
86
86
root : '/' ,
87
- scheme : 'Muse ' ,
87
+ scheme : 'Mist ' ,
88
88
version : '6.3.0' ,
89
89
sidebar : { "position" :"left" , "display" :"post" , "offset" :12 , "b2t" :false , "scrollpercent" :false , "onmobile" :false } ,
90
90
fancybox : false ,
110
110
111
111
< meta name ="description " content ="##TextField 限制字数的方法 代理限制字数-(BOOL)textField:(UITextField )textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString )string;用这个方法来进行字数限制,但是这个方法到现在也不能限制中文,这个方法给我最多的就是用在做限制手机号码等 ">
112
112
< meta property ="og:type " content ="article ">
113
- < meta property ="og:title " content ="iOS小开发 ">
114
- < meta property ="og:url " content ="chenfengfeng.github.io/2018/05/17 /iOS TextField 关于中文字数限制包含表情/index.html ">
113
+ < meta property ="og:title " content ="iOS TextField 关于中文字数限制包含表情 ">
114
+ < meta property ="og:url " content ="chenfengfeng.github.io/2016/04/22 /iOS TextField 关于中文字数限制包含表情/index.html ">
115
115
< meta property ="og:site_name " content ="iOS小开发 ">
116
116
< meta property ="og:description " content ="##TextField 限制字数的方法 代理限制字数-(BOOL)textField:(UITextField )textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString )string;用这个方法来进行字数限制,但是这个方法到现在也不能限制中文,这个方法给我最多的就是用在做限制手机号码等 ">
117
- < meta property ="og:locale " content ="zh-cn ">
118
- < meta property ="og:updated_time " content ="2018-05-17T06:33:18 .000Z ">
117
+ < meta property ="og:locale " content ="zh-CN ">
118
+ < meta property ="og:updated_time " content ="2018-05-17T09:05:00 .000Z ">
119
119
< meta name ="twitter:card " content ="summary ">
120
- < meta name ="twitter:title " content ="iOS小开发 ">
120
+ < meta name ="twitter:title " content ="iOS TextField 关于中文字数限制包含表情 ">
121
121
< meta name ="twitter:description " content ="##TextField 限制字数的方法 代理限制字数-(BOOL)textField:(UITextField )textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString )string;用这个方法来进行字数限制,但是这个方法到现在也不能限制中文,这个方法给我最多的就是用在做限制手机号码等 ">
122
122
123
123
124
124
125
125
126
126
127
127
128
- < link rel ="canonical " href ="chenfengfeng.github.io/2018/05/17 /iOS TextField 关于中文字数限制包含表情/ "/>
128
+ < link rel ="canonical " href ="chenfengfeng.github.io/2016/04/22 /iOS TextField 关于中文字数限制包含表情/ "/>
129
129
130
130
131
131
135
135
} ;
136
136
</ script >
137
137
138
- < title > | iOS小开发</ title >
138
+ < title > iOS TextField 关于中文字数限制包含表情 | iOS小开发</ title >
139
139
140
140
141
141
175
175
176
176
</ head >
177
177
178
- < body itemscope itemtype ="http://schema.org/WebPage " lang ="zh-cn ">
178
+ < body itemscope itemtype ="http://schema.org/WebPage " lang ="zh-CN ">
179
179
180
180
181
181
205
205
</ div >
206
206
207
207
< div class ="site-nav-toggle ">
208
- < button aria-label ="Toggle navigation bar ">
208
+ < button aria-label ="切换导航栏 ">
209
209
< span class ="btn-bar "> </ span >
210
210
< span class ="btn-bar "> </ span >
211
211
< span class ="btn-bar "> </ span >
225
225
226
226
< li class ="menu-item menu-item-home ">
227
227
< a href ="/ " rel ="section ">
228
- < i class ="menu-item-icon fa fa-fw fa-home "> </ i > < br /> Home </ a >
228
+ < i class ="menu-item-icon fa fa-fw fa-home "> </ i > < br /> 首页 </ a >
229
229
</ li >
230
230
231
231
232
232
233
233
234
234
< li class ="menu-item menu-item-archives ">
235
235
< a href ="/archives/ " rel ="section ">
236
- < i class ="menu-item-icon fa fa-fw fa-archive "> </ i > < br /> Archives </ a >
236
+ < i class ="menu-item-icon fa fa-fw fa-archive "> </ i > < br /> 归档 </ a >
237
237
</ li >
238
238
239
239
240
240
241
+ < li class ="menu-item menu-item-search ">
242
+
243
+ < a href ="javascript:; " class ="st-search-show-outputs ">
244
+
245
+
246
+ < i class ="menu-item-icon fa fa-search fa-fw "> </ i > < br /> 搜索</ a >
247
+ </ li >
248
+
241
249
</ ul >
242
250
243
251
247
255
248
256
249
257
258
+ < div class ="site-search ">
259
+
260
+ < form class ="site-search-form ">
261
+ < input type ="text " id ="st-search-input " class ="st-search-input st-default-search-input " />
262
+ </ form >
263
+
264
+ < script type ="text/javascript ">
265
+ ( function ( w , d , t , u , n , s , e ) { w [ 'SwiftypeObject' ] = n ; w [ n ] = w [ n ] || function ( ) {
266
+ ( w [ n ] . q = w [ n ] . q || [ ] ) . push ( arguments ) ; } ; s = d . createElement ( t ) ;
267
+ e = d . getElementsByTagName ( t ) [ 0 ] ; s . async = 1 ; s . src = u ; e . parentNode . insertBefore ( s , e ) ;
268
+ } ) ( window , document , 'script' , '//s.swiftypecdn.com/install/v2/st.js' , '_st' ) ;
269
+
270
+ _st ( 'install' , 'qNyetiNsnbVZa9iYBxt6' , '2.0.0' ) ;
271
+ </ script >
272
+
273
+
274
+
275
+ </ div >
276
+
250
277
</ nav >
251
278
252
279
284
311
285
312
286
313
< div class ="post-block ">
287
- < link itemprop ="mainEntityOfPage " href ="chenfengfeng.github.io/2018/05/17 /iOS TextField 关于中文字数限制包含表情/ ">
314
+ < link itemprop ="mainEntityOfPage " href ="chenfengfeng.github.io/2016/04/22 /iOS TextField 关于中文字数限制包含表情/ ">
288
315
289
316
< span hidden itemprop ="author " itemscope itemtype ="http://schema.org/Person ">
290
317
< meta itemprop ="name " content ="峰峰 ">
291
318
< meta itemprop ="description " content ="">
292
- < meta itemprop ="image " content ="/images/avatar.gif ">
319
+ < meta itemprop ="image " content ="/images/avatar.jpg ">
293
320
</ span >
294
321
295
322
< span hidden itemprop ="publisher " itemscope itemtype ="http://schema.org/Organization ">
301
328
302
329
303
330
304
- < h1 class ="post-title " itemprop ="name headline ">
331
+ < h1 class ="post-title " itemprop ="name headline "> iOS TextField 关于中文字数限制包含表情
305
332
306
333
307
334
</ h1 >
@@ -319,24 +346,54 @@ <h1 class="post-title" itemprop="name headline">
319
346
< i class ="fa fa-calendar-o "> </ i >
320
347
</ span >
321
348
322
- < span class ="post-meta-item-text "> Posted on </ span >
349
+ < span class ="post-meta-item-text "> 发表于 </ span >
323
350
324
351
325
352
326
353
327
354
328
355
329
- < time title ="Created: 2018-05-17 14:20:13 / Modified: 14:33:18 " itemprop ="dateCreated datePublished " datetime ="2018-05-17T14:20:13 +08:00 "> 2018-05-17 </ time >
356
+ < time title ="创建时间:2016-04-22 13:22:00 " itemprop ="dateCreated datePublished " datetime ="2016-04-22T13:22:00 +08:00 "> 2016-04-22 </ time >
330
357
331
358
332
359
333
360
334
361
335
362
363
+
364
+ < span class ="post-meta-divider "> |</ span >
365
+
366
+
367
+ < span class ="post-meta-item-icon ">
368
+ < i class ="fa fa-calendar-check-o "> </ i >
369
+ </ span >
370
+
371
+ < span class ="post-meta-item-text "> 更新于</ span >
372
+
373
+ < time title ="修改时间:2018-05-17 17:05:00 " itemprop ="dateModified " datetime ="2018-05-17T17:05:00+08:00 "> 2018-05-17</ time >
374
+
336
375
337
376
</ span >
338
377
339
378
379
+ < span class ="post-category " >
380
+
381
+ < span class ="post-meta-divider "> |</ span >
382
+
383
+ < span class ="post-meta-item-icon ">
384
+ < i class ="fa fa-folder-o "> </ i >
385
+ </ span >
386
+
387
+ < span class ="post-meta-item-text "> 分类于</ span >
388
+
389
+
390
+ < span itemprop ="about " itemscope itemtype ="http://schema.org/Thing "> < a href ="/categories/iOS经验/ " itemprop ="url " rel ="index "> < span itemprop ="name "> iOS经验</ span > </ a > </ span >
391
+
392
+
393
+
394
+
395
+ </ span >
396
+
340
397
341
398
342
399
@@ -345,8 +402,8 @@ <h1 class="post-title" itemprop="name headline">
345
402
< span class ="post-meta-item-icon ">
346
403
< i class ="fa fa-comment-o "> </ i >
347
404
</ span >
348
- < a href ="/2018/05/17 /iOS TextField 关于中文字数限制包含表情/#comments " itemprop ="discussionUrl ">
349
- < span class ="post-meta-item-text "> Comments: </ span > < span class ="post-comments-count valine-comment-count " data-xid ="/2018/05/17 /iOS TextField 关于中文字数限制包含表情/ " itemprop ="commentCount "> </ span >
405
+ < a href ="/2016/04/22 /iOS TextField 关于中文字数限制包含表情/#comments " itemprop ="discussionUrl ">
406
+ < span class ="post-meta-item-text "> 评论数: </ span > < span class ="post-comments-count valine-comment-count " data-xid ="/2016/04/22 /iOS TextField 关于中文字数限制包含表情/ " itemprop ="commentCount "> </ span >
350
407
</ a >
351
408
</ span >
352
409
@@ -417,18 +474,14 @@ <h1 class="post-title" itemprop="name headline">
417
474
< div class ="post-nav ">
418
475
< div class ="post-nav-next post-nav-item ">
419
476
420
- < a href ="/2018/05/17/浅谈iOS生涯/ " rel ="next " title ="">
421
- < i class ="fa fa-chevron-left "> </ i >
422
- </ a >
423
-
424
477
</ div >
425
478
426
479
< span class ="post-nav-divider "> </ span >
427
480
428
481
< div class ="post-nav-prev post-nav-item ">
429
482
430
- < a href ="/2018/05/17/iOS年龄识别APP开源项目 / " rel ="prev " title ="">
431
- < i class ="fa fa-chevron-right "> </ i >
483
+ < a href ="/2016/06/07/浅谈iOS生涯 / " rel ="prev " title ="浅谈iOS生涯 ">
484
+ 浅谈iOS生涯 < i class ="fa fa-chevron-right "> </ i >
432
485
</ a >
433
486
434
487
</ div >
@@ -486,6 +539,10 @@ <h1 class="post-title" itemprop="name headline">
486
539
< div class ="site-overview ">
487
540
< div class ="site-author motion-element " itemprop ="author " itemscope itemtype ="http://schema.org/Person ">
488
541
542
+ < img class ="site-author-image " itemprop ="image "
543
+ src ="/images/avatar.jpg "
544
+ alt ="峰峰 " />
545
+
489
546
< p class ="site-author-name " itemprop ="name "> 峰峰</ p >
490
547
< p class ="site-description motion-element " itemprop ="description "> </ p >
491
548
</ div >
@@ -498,12 +555,29 @@ <h1 class="post-title" itemprop="name headline">
498
555
< a href ="/archives/ ">
499
556
500
557
< span class ="site-state-item-count "> 6</ span >
501
- < span class ="site-state-item-name "> posts </ span >
558
+ < span class ="site-state-item-name "> 日志 </ span >
502
559
</ a >
503
560
</ div >
504
561
505
562
506
563
564
+
565
+
566
+ < div class ="site-state-item site-state-categories ">
567
+
568
+
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+ < span class ="site-state-item-count "> 3</ span >
577
+ < span class ="site-state-item-name "> 分类</ span >
578
+
579
+ </ div >
580
+
507
581
508
582
509
583
</ nav >
@@ -512,6 +586,35 @@ <h1 class="post-title" itemprop="name headline">
512
586
513
587
514
588
589
+ < div class ="links-of-author motion-element ">
590
+
591
+ < span class ="links-of-author-item ">
592
+ < a href ="
mailto:[email protected] "
target ="
_blank "
title ="
E-Mail "
> < i class ="
fa fa-fw fa-microsoft "
> </ i > E-Mail
</ a >
593
+
594
+ </ span >
595
+
596
+ < span class ="links-of-author-item ">
597
+ < a href ="https://github.com/chenfengfeng " target ="_blank " title ="GitHub "> < i class ="fa fa-fw fa-github "> </ i > GitHub</ a >
598
+
599
+ </ span >
600
+
601
+ < span class ="links-of-author-item ">
602
+ < a href ="https://twitter.com/yourname " target ="_blank " title ="Twitter "> < i class ="fa fa-fw fa-twitter "> </ i > Twitter</ a >
603
+
604
+ </ span >
605
+
606
+ < span class ="links-of-author-item ">
607
+ < a href ="https://www.facebook.com/yourname " target ="_blank " title ="Facebook "> < i class ="fa fa-fw fa-facebook "> </ i > Facebook</ a >
608
+
609
+ </ span >
610
+
611
+ < span class ="links-of-author-item ">
612
+ < a href ="https://instagram.com/dd031068 " target ="_blank " title ="Instagram "> < i class ="fa fa-fw fa-instagram "> </ i > Instagram</ a >
613
+
614
+ </ span >
615
+
616
+ </ div >
617
+
515
618
516
619
517
620
@@ -555,15 +658,15 @@ <h1 class="post-title" itemprop="name headline">
555
658
556
659
557
660
558
- < div class ="powered-by "> Powered by < a class ="theme-link " target ="_blank " href ="https://hexo.io "> Hexo</ a > v3.7.1</ div >
661
+ < div class ="powered-by "> 由 < a class ="theme-link " target ="_blank " href ="https://hexo.io "> Hexo</ a > 强力驱动 v3.7.1</ div >
559
662
560
663
561
664
562
665
< span class ="post-meta-divider "> |</ span >
563
666
564
667
565
668
566
- < div class ="theme-info "> Theme — < a class ="theme-link " target ="_blank " href ="https://github.com/theme-next/hexo-theme-next "> NexT.Muse </ a > v6.3.0</ div >
669
+ < div class ="theme-info "> 主题 — < a class ="theme-link " target ="_blank " href ="https://github.com/theme-next/hexo-theme-next "> NexT.Mist </ a > v6.3.0</ div >
567
670
568
671
569
672
@@ -574,6 +677,15 @@ <h1 class="post-title" itemprop="name headline">
574
677
575
678
576
679
680
+ < script type ="text/javascript ">
681
+ ( function ( ) {
682
+ var hm = document . createElement ( "script" ) ;
683
+ hm . src = "//tajs.qq.com/stats?sId=65845993" ;
684
+ var s = document . getElementsByTagName ( "script" ) [ 0 ] ;
685
+ s . parentNode . insertBefore ( hm , s ) ;
686
+ } ) ( ) ;
687
+ </ script >
688
+
577
689
578
690
579
691
0 commit comments