Home
AARONCHEN
Cancel

IOS-Deleopment-Summary-4

this Week I have implement the first tab and most of second tab.add some new things to make it feel good. these are the problems I have faced and also found the solution: chart 重复显示。 root cause:...

IOS项目与学习周记

IOS-Summary-20151228 add new controller in the tab application create an tab application add the view controller control - drag to the new view controller choose vie...

IOS-summary-CoreData&Notification

Question1: In method application:handleActionWithIdentifier:forLocalNotification:completionHandler: the completioHandler have to be called in the end. but why is that? what did it do? In the arti...

ios-summary-point

注意: you should alloc init the object, the property just define the pointer,the actual object you should alloc and init why the UI element not needed? because the UI element init when rendering the ...

ios-alert-share

IOS-Summary-Alert-Activiy-Share-web-API-week2 Create an Alert Action In IOS first you should create an AlertController Create an Action Add the Action to the AlertController present the C...

IOS-Development-Summary

1 you should alloc init when using the object in OC,even when you are using the property. e.g: @property(nonatomic) BSRecord *record; you define the property in the viewController h file. the reco...

[译]理解和掌握JavaScript中的this

西安天凉了,冬天要来了。 最近在看javascript的书,之前没用系统的看过js方面的书,虽然也看了网上的不少教程,也一直在用,但是总没有体系的感觉,所以最近在补这方面的课程,下面就是看到的一篇关于this的文章,觉得讲的不错,翻译过来。 JavaScript中的this的keyword对于很多初学者,甚至是有经验的js开发人员来说,有时候会难以理解。这篇文章的目的就是解决这个问题,阅读...

Ionic 项目总结与分享

IONIC 是较为红火的mobile app 开发框架,所以花了点时间研究了一下,一下就是对于具体实施的一些项目中的总结和分享。 app的设计思想 与web不同的是,在app中的设计的思想是要注意数据的cache的,从本质上来讲,app就是原来的desktop上的软件,但是在目前的情况下,所有的app基本上都是有网络请求的,实际上的产品结构师CS的。所以app是client端,那么有cl...

CSStricks Time-让video响应式原理分析

上一篇分享到了如何让video可以做的响应式,那么今天我们具体来分析一下到底是如何做到的。首先现在的目前的video都是有固定的比例的,一如4:3,一如16:9。无论我们如何缩放,我们也要保证这个比例是不会变化的。所以这是视频缩放的前提。 首先给介绍一个css tricks 那就是padding property,padding property 可以让一个box有一个固定的比例。这既是当...

CSStricks Time-如何让你的video响应式

做前端的同学不知道对于CSS感觉怎么样,反正我的感觉是挺酸爽的。尤其是mobile first后,一个页面要适应多种客户端。虽然已经有想bootstrap.fundation之类的东西可以帮助我们,但是在一些时候要做到响应式还是挺麻烦的事情,有时候还有一些tricks的东西。最近在玩一些东西的时候,发现了一些,记录在这里。 当我们在web page里要嵌入一个video的时候,如何做到让他...