对UIView动画和Core Animation的关系的一点理解

iOS 最全动画教程(基础) IOS 最全动画教程(基础)大家好,做了这么久的iOS开发,没有系统性的总结过iOS某方面的知识点,总觉得有些地方还是不太了解,查阅各种资料,加上平时开发的经验,因此准备写关于动画系列的总结。作为开发者,我希望大家能尽可能的提高自己在APP动画方面的一些体验,多玩玩一些比较好的APP,在了解iOS动画的知识后,可以试着仿写一些动画设计。本教程的前半部分,我会大概介绍下IOS动画的整体框架,分为哪几个 阅读详情

http://www.jianshu.com/p/72f4cca98b0e

1、UIView动画是应用在一个view上面的,一种是使用CATransition进行更低层次的控制,UIView方式可能在低层也是使用CATransition进行了封装。

2、CABasicAnimation动画是应用在一个layer上面的。

在iOS开发的时候,如果想给用户界面加入一些简单的动画,那UIView动画一定是很多人的首选。因为它写起来非常简洁,只需要把将要改变的property值放入UIView的animation block中,比如:

[UIView animateWithDuration:5.0
                 animations:^{
                     myView.alpha = 0.5;
                 }];

但是我也一直疑惑,这样的写法,和使用CAAnimation有什么不同呢?有人说,UIView动画只是把Core Animation的一些操作封装了起来。虽然我也这么猜测,但是我打算写代码验证一下。

根据这篇苹果官方文档,我们可以得知,每一个view.layer都以该view作为其delegate,并通过询问view的actionForLayer:forKey:方法来获得自己应该执行的CAAction对象。

所以我自定义了一个XSQView类,继承自UIView,仅仅重写了其中的actionForLayer:forKey:方法:

- (id<CAAction>)actionForLayer:(CALayer *)layer forKey:(NSString *)event {
    id<CAAction> action = [super actionForLayer:layer forKey:event];
    NSLog(@"action for layer: %@, for key:%@ is %@", layer, event, action);
    return action;
}

用于观察UIView对它的layer提供了什么样的CAAction对象。

用UIView动画改变XSQView对象的property,比如:

[UIView animateWithDuration:5.0
                 animations:^{
                     xsqView.alpha = 0.5;
                 }];

可以发现,此时,XSQView中的actionForLayer:forKey:方法被多次调用,产生了这样的输出:

2015-04-06 11:59:21.373 AnimationDemo[1023:44875] action for layer: <CALayer: 0x7fa952413150>, for key:bounds is <null>
2015-04-06 11:59:21.374 AnimationDemo[1023:44875] action for layer: <CALayer: 0x7fa952413150>, for key:opaque is <null>
2015-04-06 11:59:21.375 AnimationDemo[1023:44875] action for layer: <CALayer: 0x7fa952413150>, for key:position is <null>
2015-04-06 11:59:21.375 AnimationDemo[1023:44875] action for layer: <CALayer: 0x7fa952413150>, for key:onOrderIn is <null>
2015-04-06 11:59:21.408 AnimationDemo[1023:44875] action for layer: <CALayer: 0x7fa952413150>, for key:opacity is <CABasicAnimation: 0x7fa95275bc20>

<null>是[NSNull null]的输出。说明对于其他的几种key,UIView对象告诉它的layer,停止对CAAction对象的搜索。而对opacity这个key,UIView对象则给出了一个CABasicAnimation对象。

打印这个CABasicAnimation对象的部分信息,发现这可能就是由UIView animation block中的代码转换出的CAAnimation。

<CABasicAnimation:0x7fa95275bc20; delegate = <UIViewAnimationState: 0x7fd811c376b0>; fillMode = both; timingFunction = easeInEaseOut; duration = 5; fromValue = 1; keyPath = opacity>

(但是这个CABasicAnimation中的toValue和byValue都是nil)

另外,用类似的方式观察layer对象的行为(根据苹果官方文档,可以通过重载UIView中的layerClass方法来改变这个View使用的layer的类型。所以自定义一个CALayer的子类作为view的layerClass,并重写CALayer的部分方法起到监控CALayer行为的目的。),我发现layer的addAnimation:forKey:方法也被调用了,这个CABasicAnimation对象被加入到了layer中。

如果在UIView的animation block中,改变了一个view的多个property,则会有多个CAAnimation对象被加入到layer中。

我觉得到这里已经能表明,UIView动画其实就是对Core Animation的一种封装,向客户程序员呈现更简洁的接口。

但是我也发现了,在UIView的animation block中改变position或者bounds等属性,会有一些特别的行为。因为这些属性可能对应着多个animation key。所以,从actionForLayer:forKey:中返回的对象也不是一个CAAnimation对象了,而是一个(没有公开的)_UIViewAdditiveAnimationAction对象。随后,可能有多个CAAnimation对象被加入到layer中。

【iOS】一个取巧的弹出式动画实现以及后续的iOS动画学习(第一部分:基于CALayer的Core Animation框架) 二月中上班,开始开年需求,现在到三月初算是基本完成,也在测试之前趁着有那么一点空闲时间和精力记录下一些开发中遇到的问题。 这次记录下的是一个简单的动画效果实现。当时时间比较紧,用了一个取巧的动画实现(实际原因是没看懂CA动画怎么用),因此在这里记录下来,同时研究一下CA动画。 需求分析 (不知道怎么设置成循环,似乎只能刷新看一次) 这个动画效果分为两部分,要求其实有三: 1.图案从小... 阅读详情

相关推荐

iOS 核心动画(Core Animation)三:基础动画

核心动画(Core Animation)三:基础动画(CABasicAnimation) 简介CABasicAnimation与CAAnimation继承关系## CALayer 动画属性CABasicAnimation 属性列表CASpringAnimation 属性列表动画实例基础动画弹簧动画 简介 修改图层属性并提供基本的单关键帧动画功能的对象。 CABasicAnimation与CAAnimation继承关系 ## CALayer 动画属性 anchorPoint backgroundColor

wahkim的博客 542

iOS动画和特效(一)UIView动画和CoreAnimation

iOS动画和特效(一)UIView动画和CoreAnimation 一个简单的例子作为iOS动画系类的开始 QuickExampleViewController UIView的方法中有几个易用的静态方法可以做出动画效果,分别是UIView.beginAnimations() -> UIView.commitAnimations() 和UIView.animateWithDurati

li_yangyang_li的博客 1889

掌握Core Animation关键帧动画技巧

Core Animation是iOS开发中强大的动画框架,它为开发者提供了丰富且流畅的动画制作工具。利用Core Animation,开发者能够创建从简单到复杂的动画效果,增强应用的视觉体验。本章将概述Core Animation的基本概念,以及它在iOS应用开发中的重要性。我们将从Core Animation的组成、架构以及如何为应用中的元素添加动画效果进行初步介绍,为理解后续章节中关键帧动画等高级特性打下基础。关键帧动画是计算机图形和动画领域中的一个核心概念。

weixin_36444661的博客 1260

iOS开发之让你的应用“动”起来(动画)

在iOS中随处都可以看到绚丽的动画效果,实现这些动画的过程并不复杂,今天将带大家一窥iOS动画全貌。在这里你可以看到iOS中如何使用图层精简非交互式绘图,如何通过核心动画创建基础动画、关键帧动画、动画组、转场动画,如何通过UIView的装饰方法对这些动画操作进行简化等。在今天的文章里您可以看到动画操作在iOS中是如何简单和高效,很多原来想做但是苦于没有思路的动画在iOS中将变得越发简单: C

树上的男爵 1418

iOS开发实战:使用UIView Animation实现上中下移动动画效果

在iOS开发中,动画不仅是视觉装饰,更是用户体验的重要组成部分。UIKit通过UIView动画封装了底层Core Animation的复杂性,使开发者能以声明式方式实现流畅交互。其核心机制依赖于CALayer的属性驱动与隐式动画,配合事务管理,确保属性变化被自动包装为动画。当调用时,系统会在当前RunLoop周期中捕获视图属性的变化,并交由渲染服务合成帧。这一过程涉及主队列调度、图层树更新与GPU纹理上传,最终呈现平滑过渡效果。理解这一链路是掌握高性能动画的基础。

weixin_42502089的博客 748

深入理解UIViewAnimation与Core Animation的CATransition类

本文还有配套的精品资源,点击获取 简介:在iOS开发中,动画增强了用户界面的交互性和视觉吸引力。本文深入探讨 UIViewAnimation 和 Core Animation ,特别是 CATransition 类,解释它们如何协同工作创建动态效果。 UIViewAnimation 提供了基础动画API,用于实现简单的...

weixin_42103128的博客 1086

ReplaceAnimation动画原理详解:从UIView动画到Core Animation

ReplaceAnimation是一个基于Swift实现的iOS动画框架,专注于在UICollectionView中实现带有粘性头部布局的下拉刷新动画效果。本文将深入解析其动画实现原理,从基础的UIView动画到高级的Core Animation技术应用,帮助开发者理解如何构建流畅自然的交互体验。 ## 动画实现的核心技术栈 ReplaceAnimation的动画系统主要依赖两大技术:UIKi

gitblog_00015的博客 395

UIViewAnimation与Core Animation的CATransition类

NULL 博文链接:https://andydufresneone.iteye.com/blog/1073265

Core Animation(三)动画详解

一、概要 前两篇Core Animation(一)iOS图形和动画的初步认识和Core Animation(二)动画基础部分从动画的核心库架构、基本用法、效果、分类等几方面简单的描述了iOS动画,并举了几个简单的例子,通过例子来看,iOS动画学习貌似也挺容易的,所以这一篇我们深入且系统的了解下Core Animation。 二、核心动画 1、UIView和CALayer 先看一

阿福的专栏 2594

深度学习12—VGG19实现

state_dict = load_state_dict_from_url(model_urls['vgg19'],model_dir='./model' ,progress=progress)#预训练模型地址。accuracy=((out.argmax(1)==label).sum()).clone().detach().cpu().numpy()#正确预测的总和比测试集的长度,即预测正确的精度。image=torch.reshape(image,(1,3,224,224))#四维图形,RGB三个通。

m0_55196097的博客 2445

深入解析TOM模块的PWM输出与ADC触发机制:从配置到DMA数据传输

本文深入解析了TOM模块在嵌入式系统中的核心应用,详细阐述了如何配置其PWM输出功能,并实现与ADC模块的硬件触发同步。重点介绍了通过DMA机制高效传输ADC采样数据的完整流程,涵盖时钟配置、工作模式选择、引脚映射及联调实战,为电机控制、数字电源等实时系统提供了一套硬件自动化的高效解决方案。

weixin_29227585的博客 385

SXWaveAnimate源码解析:Core Animation与UIView动画的完美结合,打造惊艳iOS波浪动画效果

SXWaveAnimate是一个专为iOS开发者设计的开源动画库,它通过巧妙结合Core Animation和UIView动画技术,实现了令人惊艳的波浪灌水动画效果。这个轻量级库不仅提供了流畅的波浪动画,还支持多种动画类型和高度自定义配置,是提升iOS应用UI体验的绝佳选择。本文将深入解析SXWaveAnimate的核心实现原理,帮助开发者理解如何利用iOS动画框架创建优雅的视觉效果。 ## ?

gitblog_00363的博客 1105

图解凸函数与凹函数:别再被数学定义搞晕了!

本文通过图解和生活化类比,深入浅出地解释了凸函数与凹函数的数学定义及其与日常直觉的差异。文章详细介绍了凸函数的图像特征、数学定义(包括二阶导数判断)、在机器学习中的重要性,以及常见误区和实际应用中的判断技巧,帮助读者彻底理解这一关键数学概念。

weixin_29159441的博客 701

Core Animation学习总结

目录: The Layer Beneath The Layer Tree(图层树)The Backing Image(寄宿层)Layer Geometry(图层几何学)Visual Effects(视觉效果)Transforms(变换)Specialized Layers(专有图层) Setting Things in Motion Implicit Animations(隐式

luozhiwei_iOS的博客 2401

osgEarth shapefile矢量生成三维模型案例 2.boston.earth

osgEarth shapefile矢量生成三维模型案例 2.boston.earth 波士顿城市建筑、路灯、公园、道路shp矢量生成三维模型案例。

qq_24934183的博客 3552

Unity Android平台下插件/SDK开发通用流程

本文主要面向对Android开发不甚了解的Unity开发者,介绍了基于最新的Android Studio的标准Android开发环境与项目结构的配置流程,在此基础上,开发者可以快速的进行SDK的接入与插件的开发。

ZhangDi2017的博客 1万+

【iOS进阶】之深入浅出理解和使用 Core Animation的隐式动画

目录 1 何为隐式动画 1.1特点 1.2 隐式动画如何进行?何时产生? 2 开发者如何利用隐式动画 2.1 CATransaction 没有实例方法,只有类方法。 2.2 UIView的动画方法的实现 3 UIView与隐式动画那若即若离的关系 3.1 CALayer的隐式动画如何产生? 3.2 UIView如何禁用其layer的隐式动画 4 控制UIView或CALayer...

jifaliwo123的博客 1120

25、量子计算:中性原子与约瑟夫森结量子比特

本文详细探讨了中性原子和约瑟夫森结两种量子比特在量子计算中的应用。中性原子量子比特利用光晶格实现量子态的操控,具有长相干时间的优势,但面临可扩展性和多量子比特操作的挑战;而约瑟夫森结量子比特基于超导技术,结合半导体制造工艺,具有低耗散和潜在的高可扩展性,但在参数控制和环境干扰方面存在难题。文章还比较了这两种方案的性能、应用场景及未来发展趋势,展望了它们在量子计算发展中的潜力与突破方向。

ol789012的博客 215

UIView和CALayer的区别

CALayer属于Core Animation部分的内容,比较重要而不太好理解。以下是园子中看到的一篇文章的摘录: 以下摘自>: 两者最大的区别是,图层不会直接渲染到屏幕上。 在模型-视图-控制器(model-view-controller)概念里面NSView和UIView是典型的视图部分,但是在核心动画里面图层是模型部分。图层封装了几何、时间、可视化属性,同时它提供了

把握自己。 9190

PCB板设置20H 原则理解

20H原则是PCB设计中抑制EMI辐射的关键方法,要求电源层比相邻地层内缩20倍介质厚度(20H)。在四层板中实现20H原则需采用S-G-P-S层叠结构,确保GND与PWR紧邻。具体步骤包括:确定GND-PWR间介质厚度H,计算20H值(通常80-120mil),并在设计软件中将电源层四周内缩20H,同时保持地层完整不内缩。注意避免常见误区,如混淆介质厚度、地层内缩等。该原则能有效限制边缘场辐射,降低EMI干扰,是四层板EMC设计的重要规范。

qq_37999850的博客 708

这5组白月光少女三视图提示词直接用

今天分享5组治愈系白月光少女女主提示词,适合用于AI漫剧角色设计、角色库搭建和人物设定参考,所有提示词均是完整可复刻。

欢迎来到鸾姝淡月博客,专为程序员和编程爱好者打造的技术博客。我们分享编程语言趋势、开发工具、编程哲学、职业发展等,助你掌握新技术,优化技能,激发编程热情。 191

核心动画(Core Animation)

最近了解了一下核心动画 ,跟大家分享一下 核心动画(Core Animation) 一、Core animation简单介绍      1.Core Animation,中文翻译为核心动画,是一套包含图形绘制,投影,动画的Objective–C类集合。它是一组非常强大的动画处理API,使用它能做出非常炫丽的动画效果,而且往往是事半功倍。也就是说,使用少量的代码就

雷雨降临的博客 1148

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

IOS中的动画——Core Animation

一、基础动画 CABasicAnimation 1 //初始化方式 CABasicAnimation * cabase=[CABasicAnimation animation]; 2 //通过keyPath设置需要实现动画的属性,此处设为bounds cabase.keyPath=@"bounds"; 3 //通过toValue设置动画结束时候的状态 cabase.t

无名 929

Devexpress16.2.6破解工具

Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

探索 iOS Core Animation:解锁动画之美

探索 iOS Core Animation:解锁动画之美 iOS 应用开发中,Core Animation 是一个至关重要的框架,它赋予开发者强大的能力去创建出流畅、细腻的视觉效果。今天我们要深入了解一下由社区成员 AlfredTheBest 维护的开源项目 ,它是一个专为 iOS 开发者打造的 Core Animation 实践教程和示例库。 项目简介 项目是一个集合了多种 Core Anim...

gitblog_00019的博客 839

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

上一篇: iOS之类别(category)在静态库中不能使用的问题
下一篇: Cocoapods搜不到库的问题
小米渣的逆袭
博客等级 码龄17年 62粉丝 101原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值