自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Mamong's blog

某不知名开发者

  • 博客(273)
  • 资源 (10)
  • 收藏
  • 关注

原创 Flutter动画(一)Ticker、Animate 原理

在任何系统的UI框架中,动画原理都是类似的,即:在一段时间内,快速地多次改变UI外观;由于人眼会产生视觉暂留,所以最终看到的就是一个“连续”的动画。Flutter中对动画进行了抽象,主要涉及 Animation、Curve、Controller、Tween这四个角色,它们一起配合来完成一个完整动画。

2024-03-22 16:48:07 1087

原创 React/RN组件避免重复渲染的一些技巧

这里我们只讨论Component和函数组件。我们知道Component是否发生重渲染是由shouldComponentUpdate决定的,默认情况下返true。自定义的Component会根据自身state和props是否发生变化,来决定自身是否需要重新渲染,这个过程往往需要进行深度比较的。而相对应的,PureComponent会通过shadowEqual对state和props进行浅比较,来决定是否需要重新渲染。一般而言,如果state和props没有发生变化,组件本身是不需要重新渲染的。

2024-03-13 17:14:33 991

原创 Nest.js权限管理系统开发(七)用户注册

先用nest的命令创建一个 user 模块,

2024-02-26 15:41:21 483

原创 Nest.js权限管理系统开发(八)jwt登录

虽然仅使用@nestjs/jwt就能实现身份验证的功能,但是使用passport能在更高层次上提供更多便利。Passport 拥有丰富的生态系统,实现了各种身份验证机制。虽然概念简单,但你可以选择的 Passport 策略集非常丰富且种类繁多。Passport 将这些不同的步骤抽象为一个标准模式,模块将这个模式封装并标准化为熟悉的 Nest 结构。

2024-02-26 14:52:19 1060

原创 Nest.js权限管理系统开发(六)新建模块

这个注解表示的是路由路径前缀,UserController中的每个方法对应一个具体的路由,如果这些路由有相同的前缀,我们就可以将这个前缀上升到类本身,这样每个路由只要标注不同的后缀部分即可。方法参数中也存在着注解,例如findOne(@Param('id') id: string)表示id是路由中的参数值,同理@Query("id")就表示id是路由中的查询参数值。要启用这个转换,需要使用。每个方法都有例如@Post(),@Get(':id')之类的注解,Post、Get本身表示该路由支持的请求方法。

2024-02-25 20:01:34 868

原创 Nest.js权限管理系统开发(五)返回格式化

这样做之后我们会发现请求成功的 code 只能是 200,一般项目中请求成功还需要很多业务异常状态码返回给前端,所以我们需要新建一个抛出业务异常的类我们先创建/** 公共错误 *//** 服务器出错 *//** 数据为空 *//** 参数有误 */在common/filter/http-exception下新建创建一个类继承,接受三个参数错误信息错误码codehttp状态码(默认是200)) {然后我们可以在需要的地方抛出相应的异常了。

2024-02-25 16:18:33 881

原创 Nest.js权限管理系统开发(四)Swagger API接入

Swagger 是一个规范和完整的框架,用于生成、描述、调用和可视化 RESTful 风格的 Web 服务()。它的主要作用是:1. 使得前后端分离开发更加方便,有利于团队协作2. 接口的文档在线自动生成,降低后端开发人员编写接口文档的负担3. 功能测试。

2024-02-25 16:14:42 566

原创 Nest.js权限管理系统开发(三)环境变量与配置文件

这样生成环境的NODE_ENV 就是命令中指定的值了,我们可以根据这个加载不同配置文件。想要加载配置文件,NestJS 给我们提供了我们创建一个config文件夹来专门存放配置文件。在其中创建不同环境对应的配置文件:创建一个ts文件来读取和解析 YAML 文件,我们可以利用js-yaml包。安装包后,我们使用yaml#load在构建过程中,Nest CLI 不会自动将 "assets"(非 TS 文件)移动到dist文件夹。为了确保你的 YAML 文件被复制,你必须在文件的对象中指定它。例如,如果。

2024-02-24 19:42:40 591

原创 Nest.js权限管理系统开发(二)连接MySQL、Redis

前往下载最新版本的MySQL。打开系统设置,拉到最下方可以看到MySQL,打开看到两个绿点表示安装成功,也可以在这里修改MySQL密码。

2024-02-24 19:38:06 1059

原创 Nest.js权限管理系统开发(一)新建项目

nestjs要求node版本大于等于16。生成的 Nest 项目预装了代码 linter 和格式化程序(分别为和。

2024-02-23 13:13:21 401

原创 Flutter 滚动布局:sliver模型

Flutter中可滚动布局基本都来自Sliver模型,本文探讨sliver模型原理。

2024-01-22 22:08:27 1642

原创 Flutter 0-1常用三方库清单

flutter项目中常用的三方库

2024-01-20 00:15:23 464 1

原创 《现代C++语言核心特性解析》笔记草稿

《现代C++语言核心特性解析》记录c++11-20新特性

2024-01-13 15:53:30 959

原创 《深入理解C++11:C++11新特性解析与应用》笔记八

深入理解C++11 第八章 融入实际应用

2024-01-02 16:27:57 960

原创 《深入理解C++11:C++11新特性解析与应用》笔记七

深入理解C++11 第七章 为改变思考方式而改变

2023-12-31 15:25:32 1117

原创 《深入理解C++11:C++11新特性解析与应用》笔记六

深入理解C++11 第六章 提高性能及操作硬件的能力

2023-12-31 14:08:49 350

原创 《深入理解C++11:C++11新特性解析与应用》笔记五

深入理解C++11 第五章 提高类型安全

2023-12-30 16:24:06 636

原创 《深入理解C++11:C++11新特性解析与应用》笔记四

深入理解C++11 第四章 新手易学,老兵易用

2023-12-27 21:20:44 1026

原创 《深入理解C++11:C++11新特性解析与应用》笔记三

深入理解C++11 第三章 通用为本 专用为末

2023-12-25 20:40:50 800

原创 理解SwiftUI中的matchedGeometryEffect

理解SwiftUI中matchedGeometryEffect的作用

2023-12-19 20:27:27 465

原创 使用AppleScript自动滚动预览

使用AppleScript实现预览自动滚动

2023-12-17 22:32:51 223

原创 React hooks(一):useState

React hooks是什么?useState的使用细节探讨。

2023-11-13 22:13:45 573

原创 Flutter实践二:repository模式

Flutter项目实践中的repository模式的运用

2023-11-13 18:19:27 888

原创 微信小程序开发坑记录

小程序开发中的问题记录

2023-11-12 19:36:58 171

原创 Flutter实践一:package组织

通过比较不同的包组织架构的优劣,来选择Flutter项目实践中采用的包组织方式

2023-11-12 16:54:56 528 1

原创 第十三章《搞懂算法:神经网络是怎么回事》笔记

《从零开始:机器学习的数学原理和算法实践》搞懂算法:神经网络是怎么回事

2023-11-11 16:49:37 1826 1

原创 第五章《数据降维:深入理解 PCA 的来龙去脉》笔记

《从零开始:机器学习的数学原理和算法实践》数据降维:深入理解 PCA 的来龙去脉

2023-11-10 10:49:22 133

原创 第六章《凸优化核心过程:真正搞懂梯度下降过程》

《从零开始:机器学习的数学原理和算法实践》凸优化核心过程:真正搞懂梯度下降过程

2023-11-09 13:10:47 164

原创 第三章《补基础:不怕学不懂概率统计》笔记

《从零开始:机器学习的数学原理和算法实践》补基础:不怕学不懂概率统计

2023-11-08 19:53:53 154

原创 第二章《补基础:不怕学不懂线性代数》笔记

《从零开始:机器学习的数学原理和算法实践》补基础:不怕学不懂线性代数

2023-11-08 15:39:39 958

原创 第一章《补基础:不怕学不懂微积分》笔记

《从零开始:机器学习的数学原理和算法实践》补基础:不怕学不懂微积分

2023-11-07 11:38:17 134

原创 第四章《全景图:机器学习路线图》笔记

《从零开始:机器学习的数学原理和算法实践》全景图:机器学习路线图

2023-11-07 10:49:13 529

原创 第八章《搞懂算法:逻辑回归是怎么回事》笔记

《从零开始:机器学习的数学原理和算法实践》搞懂算法:逻辑回归是怎么回事

2023-11-06 17:31:26 515

原创 第七章《搞懂算法:线性回归是怎么回事》笔记

《从零开始:机器学习的数学原理和算法实践》搞懂算法:线性回归是怎么回事

2023-11-06 11:51:24 122

原创 第十二章《搞懂算法:朴素贝叶斯是怎么回事》笔记

《从零开始:机器学习的数学原理和算法实践》搞懂算法:朴素贝叶斯是怎么回事

2023-11-06 11:13:38 109

原创 第十一章《搞懂算法:聚类是怎么回事》笔记

《从零开始:机器学习的数学原理和算法实践》搞懂算法:聚类是怎么回事

2023-11-06 10:43:37 470

原创 第十章《搞懂算法:支持向量机是怎么回事》笔记

《从零开始:机器学习的数学原理和算法实践》搞懂算法:支持向量机是怎么回事

2023-11-06 09:36:00 57

原创 第九章《搞懂算法:决策树是怎么回事》笔记

《从零开始:机器学习的数学原理和算法实践》搞懂算法:决策树是怎么回事

2023-11-05 11:54:09 613

翻译 翻页着色器分析

翻页效果背后的原理

2023-11-02 22:17:53 66

原创 KMP算法

KMP算法和next数组的简单理解

2023-10-18 19:33:46 215

[cnswift.org翻译]最新swift 5.5中文翻译

文档来源:https://www.cnswift.org/ 更新: 2021-06-22 同步更新官网 6 月 7 日最新修订, Swift 5.5 2021-05-06 同步更新官网 4 月 26 日最新修订, Swift 5.4 2021-01-27 同步更新官网 9 月 16 日最新修订。 2020年07月02日 同步更新到官网 6 月 22 日最新修订,Swift 5.3 制作日期2021/8/24,在Safari下纯手工制作,包含页眉页脚。文档的特色是保持了网页原汁原味的排版和彩色字体,正文带目录,按章节分开,没有合并。格式已大体经过浏览和校验,内容、格式有误可报告给我。

2021-08-24

[cnswift.org翻译]最新swift 5.3中文翻译

文档来源:https://www.cnswift.org/ 更新: 2021-01-27 → 同步更新官网 9 月 16 日最新修订。 2020年07月02日 → 同步更新到官网 6 月 22 日最新修订,Swift 5.3 2020年3月30日 → 同步更新到官网 3 月 24 日最新修订,Swift 5.2 制作日期2021/4/6,在Safari下纯手工制作,包含页眉页脚。文档的特色是保持了网页原汁原味的排版和彩色字体,正文带目录,按章节分开,没有合并。格式已大体经过浏览和校验,内容、格式有误可报告给我。

2021-04-06

[cnswift.org翻译]最新swift 5.1中文翻译

文档来源:https://www.cnswift.org/ 2019年06月12日 → 修复了部分页面包含的 emoji 变为?的错误 2019年06月10日 → 更新了页面排序,现与官网同步 2019年06月06日 → 同步更新到了 Swift 5.1 制作日期2019/7/7,在Safari下纯手工制作,相对于原先火狐插件,修复了因分页导致的内容丢失情况,包含页眉页脚。文档的特色是保持了网页原汁原味的排版和彩色字体,正文带目录,按章节分开,没有合并。

2019-07-07

ARKit by Tutorials, 2nd Edition

Learn ARKit, Apple’s New Augmented Reality Development Framework! With ARKit, you can create immersive, engaging experiences by mixing virtual 2D and 3D content with the live camera feed of the world around you. If getting started with this new framework sounds difficult and time-consuming, don’t worry, we’ve got you covered. ARKit by Tutorials helps you learn ARKit the quick and easy way: by following fun and easy-to-read tutorials. Who This Book Is For This book is for intermediate to advanced developers who want to create ARKit apps and learn about the intricacies of developing for Augmented Reality on iOS. Topics Covered in ARKit by Tutorials Introduction to ARKit: Get a basic introduction to Augmented Reality and the ARKit framework concepts. Session Management: Discover what’s required to manage an AR session properly; this includes error handling and tracking issues. Adding Objects: Learn how to place 3D Objects into augmented space. Materials & Lighting: Explore the concepts of Physical Based Rendering, textures and light estimation. Creating 3D Assets: Get creative with the SceneKit editor and make your own 3D assets right inside Xcode. Face-based Apps: Find out what it takes to develop and ship Face-Based AR apps. And much, much more! After reading this book, you’ll be prepared to take advantage of the new ARKit framework and create your own AR-based games and apps.

2019-05-21

[cnswift.org翻译]最新swift 5中文翻译

文档来源:https://www.cnswift.org/ 2019年01月30日 → 同步更新到了 Swift 5。 在火狐插件支持下,纯手工本制作。文档的特色是保持了网页原汁原味的排版。

2019-03-09

Apress.Beginning.Machine.Learning.in.iOS.CoreML.Framework

Implement machine learning models in your iOS applications. This short work begins by reviewing the primary principals of machine learning and then moves on to discussing more advanced topics, such as CoreML, the framework used to enable machine learning tasks in Apple products. Many applications on iPhone use machine learning: Siri to serve voice-based requests, the Photos app for facial recognition, and Facebook to suggest which people that might be in a photo. You'll review how these types of machine learning tasks are implemented and performed so that you can use them in your own apps. Beginning Machine Learning in iOS is your guide to putting machine learning to work in your iOS applications. What You'll Learn Understand the CoreML components Train custom models Implement GPU processing for better computation efficiency Enable machine learning in your application Who This Book Is For Novice developers and programmers who wish to implement machine learning in their iOS applications and those who want to learn the fundamentals about machine learning.

2019-02-22

[cnswift.org翻译]最新swift 4.2 alpha中文翻译

文档来源:https://www.cnswift.org/ 2018年07月18日 → 同步更新到了 Swift 4.2。 在火狐插件支持下,纯手工本制作。文档的特色是保持了网页原汁原味的排版。

2018-08-06

iOS Programming: The Big Nerd Ranch Guide (4th Edition) (Big Nerd Ranch Guides)

epub制作,带标签,制作精良,谢绝转发 Book Description Updated and expanded to cover iOS 7 and Xcode 5, iOS Programming: The Big Nerd Ranch Guide leads you through the essential concepts, tools, and techniques for developing iOS applications. After completing this book, you will have the know-how and the confidence you need to tackle iOS projects of your own. Based on Big Nerd Ranch's popular iOS Bootcamp course and its well-tested materials and methodology, this bestselling guide teaches iOS concepts and coding in tandem. The result is instruction that is relevant and useful. Throughout the book, the authors explain what's important and share their insights into the larger context of the iOS platform. You get a real understanding of how iOS development works, the many features that are available, and when and where to apply what you've learned. Here are some of the topics covered: Xcode 5, Instruments, and Storyboards Building interfaces using the iOS 7 aesthetic ARC and strong and weak references Handling touch events and gestures Toolbars, navigation controllers, and split view controllers Using Auto Layout to scale user interfaces Using Dynamic Type to scale fonts Localization and Internationalization Block syntax and use Saving/loading data: Archiving and Core Data Core Location and Map Kit Communicating with web services using JSON Using the Model-View-Controller-Store design pattern

2014-03-04

iOS 7 App Development Essential

谢绝转发,仅供个人学习使用 Fully updated for iOS 7 and Xcode 5 and consisting of 89 in-depth chapters, the aim of this book is to teach you the skills necessary to build your own iOS 7 apps for the iPhone, iPad and iPod Touch. Beginning with the basics, this book provides an outline of the steps necessary to set up an iOS development environment. An introduction to the architecture of iOS 7 and programming in Objective-C is provided, followed by an in-depth look at the design of iOS applications and user interfaces. More advanced topics such as file handling, database management, in-app purchases, graphics drawing and animation are also covered, as are touch screen handling, gesture recognition, multitasking, iAds integration, location management, local notifications, camera access and video and audio playback support. Other features are also covered including Auto Layout, Twitter and Facebook integration, event reminders, App Store hosted in-app purchase content, collection views and much more. New features of iOS 7 are also covered, including Sprite Kit-based 2D game development, local map search and user interface animation using UIKit Dynamics. Assuming you are ready to download the iOS 7 SDK and Xcode, have an Intel-based Mac and some ideas for some apps to develop, you are ready to get started.

2013-11-27

Effective Objective-C 2.0

作者: Matt Galloway 出版社: Addison-Wesley Professional 副标题: 52 Specific Ways to Improve Your iOS and OS X Programs 出版年: 2013-5-26 页数: 320 定价: USD 44.99 装帧: Paperback ISBN: 9780321917010 个人原创作品,谢绝转发!

2013-11-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除