Skip to content

Commit 708f9e1

Browse files
committed
Site updated: 2018-05-17 17:11:52
1 parent c381c4f commit 708f9e1

File tree

22 files changed

+9397
-702
lines changed

22 files changed

+9397
-702
lines changed

2018/05/17/iOS TextField 关于中文字数限制包含表情/index.html renamed to 2016/04/22/iOS TextField 关于中文字数限制包含表情/index.html

Lines changed: 141 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616

17-
<html class="theme-next muse use-motion" lang="zh-cn">
17+
<html class="theme-next mist use-motion" lang="zh-CN">
1818
<head>
1919
<meta charset="UTF-8"/>
2020
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
@@ -84,7 +84,7 @@
8484
var NexT = window.NexT || {};
8585
var CONFIG = {
8686
root: '/',
87-
scheme: 'Muse',
87+
scheme: 'Mist',
8888
version: '6.3.0',
8989
sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
9090
fancybox: false,
@@ -110,22 +110,22 @@
110110

111111
<meta name="description" content="##TextField 限制字数的方法 代理限制字数-(BOOL)textField:(UITextField )textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString )string;用这个方法来进行字数限制,但是这个方法到现在也不能限制中文,这个方法给我最多的就是用在做限制手机号码等">
112112
<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">
115115
<meta property="og:site_name" content="iOS小开发">
116116
<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">
119119
<meta name="twitter:card" content="summary">
120-
<meta name="twitter:title" content="iOS小开发">
120+
<meta name="twitter:title" content="iOS TextField 关于中文字数限制包含表情">
121121
<meta name="twitter:description" content="##TextField 限制字数的方法 代理限制字数-(BOOL)textField:(UITextField )textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString )string;用这个方法来进行字数限制,但是这个方法到现在也不能限制中文,这个方法给我最多的就是用在做限制手机号码等">
122122

123123

124124

125125

126126

127127

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 关于中文字数限制包含表情/"/>
129129

130130

131131

@@ -135,7 +135,7 @@
135135
};
136136
</script>
137137

138-
<title> | iOS小开发</title>
138+
<title>iOS TextField 关于中文字数限制包含表情 | iOS小开发</title>
139139

140140

141141

@@ -175,7 +175,7 @@
175175

176176
</head>
177177

178-
<body itemscope itemtype="http://schema.org/WebPage" lang="zh-cn">
178+
<body itemscope itemtype="http://schema.org/WebPage" lang="zh-CN">
179179

180180

181181

@@ -205,7 +205,7 @@
205205
</div>
206206

207207
<div class="site-nav-toggle">
208-
<button aria-label="Toggle navigation bar">
208+
<button aria-label="切换导航栏">
209209
<span class="btn-bar"></span>
210210
<span class="btn-bar"></span>
211211
<span class="btn-bar"></span>
@@ -225,19 +225,27 @@
225225

226226
<li class="menu-item menu-item-home">
227227
<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>
229229
</li>
230230

231231

232232

233233

234234
<li class="menu-item menu-item-archives">
235235
<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>
237237
</li>
238238

239239

240240

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+
241249
</ul>
242250

243251

@@ -247,6 +255,25 @@
247255

248256

249257

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+
250277
</nav>
251278

252279

@@ -284,12 +311,12 @@
284311

285312

286313
<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 关于中文字数限制包含表情/">
288315

289316
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
290317
<meta itemprop="name" content="峰峰">
291318
<meta itemprop="description" content="">
292-
<meta itemprop="image" content="/images/avatar.gif">
319+
<meta itemprop="image" content="/images/avatar.jpg">
293320
</span>
294321

295322
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
@@ -301,7 +328,7 @@
301328

302329

303330

304-
<h1 class="post-title" itemprop="name headline">
331+
<h1 class="post-title" itemprop="name headline">iOS TextField 关于中文字数限制包含表情
305332

306333

307334
</h1>
@@ -319,24 +346,54 @@ <h1 class="post-title" itemprop="name headline">
319346
<i class="fa fa-calendar-o"></i>
320347
</span>
321348

322-
<span class="post-meta-item-text">Posted on</span>
349+
<span class="post-meta-item-text">发表于</span>
323350

324351

325352

326353

327354

328355

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>
330357

331358

332359

333360

334361

335362

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+
336375

337376
</span>
338377

339378

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+
340397

341398

342399

@@ -345,8 +402,8 @@ <h1 class="post-title" itemprop="name headline">
345402
<span class="post-meta-item-icon">
346403
<i class="fa fa-comment-o"></i>
347404
</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>
350407
</a>
351408
</span>
352409

@@ -417,18 +474,14 @@ <h1 class="post-title" itemprop="name headline">
417474
<div class="post-nav">
418475
<div class="post-nav-next post-nav-item">
419476

420-
<a href="/2018/05/17/浅谈iOS生涯/" rel="next" title="">
421-
<i class="fa fa-chevron-left"></i>
422-
</a>
423-
424477
</div>
425478

426479
<span class="post-nav-divider"></span>
427480

428481
<div class="post-nav-prev post-nav-item">
429482

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>
432485
</a>
433486

434487
</div>
@@ -486,6 +539,10 @@ <h1 class="post-title" itemprop="name headline">
486539
<div class="site-overview">
487540
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
488541

542+
<img class="site-author-image" itemprop="image"
543+
src="/images/avatar.jpg"
544+
alt="峰峰" />
545+
489546
<p class="site-author-name" itemprop="name">峰峰</p>
490547
<p class="site-description motion-element" itemprop="description"></p>
491548
</div>
@@ -498,12 +555,29 @@ <h1 class="post-title" itemprop="name headline">
498555
<a href="/archives/">
499556

500557
<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>
502559
</a>
503560
</div>
504561

505562

506563

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+
507581

508582

509583
</nav>
@@ -512,6 +586,35 @@ <h1 class="post-title" itemprop="name headline">
512586

513587

514588

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+
515618

516619

517620

@@ -555,15 +658,15 @@ <h1 class="post-title" itemprop="name headline">
555658

556659

557660

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>
559662

560663

561664

562665
<span class="post-meta-divider">|</span>
563666

564667

565668

566-
<div class="theme-info">Theme &mdash; <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">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/theme-next/hexo-theme-next">NexT.Mist</a> v6.3.0</div>
567670

568671

569672

@@ -574,6 +677,15 @@ <h1 class="post-title" itemprop="name headline">
574677

575678

576679

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+
577689

578690

579691

0 commit comments

Comments
 (0)