码迷,mamicode.com
首页 > 2016年05月30日 > 全部分享
github上很好的iOS资源集锦
系统基础库 Category/Util  sstoolkit 一套Category类型的库,附带很多自定义控件 功能不错~  BlocksKit 将Block风格带入UIKit和Founcation  cocoa-helpers 一些Cocoa的扩展 2年前的工程  Co...
分类:移动开发   时间:2016-05-30 15:35:44    阅读次数:306
Google推荐的图片加载库Glide介绍
原文链接:Google推荐的图片加载库Glide介绍 作者 : nuuneoi 译者 : jianghejie 校对者 : chaossss 状态 : 完成在泰国举行的谷歌开发者论坛上,谷歌为我们介绍了一个名叫 Glide 的图片加载库,作者是bumptech。这个库被广泛的运用在google的开源项目中,包括2014年google I/O大会上发布的官方app。 毫无疑问,这个库引起了我的兴趣。于...
分类:其他好文   时间:2016-05-30 15:36:47    阅读次数:243
手把手教你做视频播放器(四)
做一个自己的视频播放器 学技能的同时带来满满的成就感....
分类:其他好文   时间:2016-05-30 15:35:26    阅读次数:250
C语言终极面试宝典
第一部分:基本概念及其它问答题 3 1、关键字static的作用是什么? 3 2、“引用”与指针的区别是什么? 3 3、.h头文件中的ifndef/define/endif 的作用? 4 4、#include 与 #include "file.h"的区别? 4 5、描述实时系统的基本特性 4 6、全局变量和局部变量在内存中是否有区别?如果有,是什么区别? 4 7、什么是...
分类:编程语言   时间:2016-05-30 15:33:29    阅读次数:444
android分析之自定义圆形头像
package de.hdodenhof.circleimageview; public class CircleImageView extends ImageView {     private static final ScaleType SCALE_TYPE = ScaleType.CENTER_CROP;//决定了图片在View上显示时的样子,如进行何种比例的缩放,及显示图片的整体还...
分类:移动开发   时间:2016-05-30 15:33:30    阅读次数:282
iOS网络编程开发—JSON解析与XML解析
一、什么是JSON JSON是一种轻量级的数据格式,一般用于数据交互 服务器返回给客户端的数据,一般都是JSON格式或者XML格式(文件下载除外)   JSON的格式很像OC中的字典和数组 {"name" : "jack", "age" : 10} {"names" : ["jack", "rose", "jim"]} 标准JSON格式的注意点:key必须用双引号   要想从JS...
分类:移动开发   时间:2016-05-30 15:34:01    阅读次数:207
Android5.0更新内容简介
2014/6/26 凌晨Google IO 2014大会准时开幕,在本次大会上可以说发布出很多项目,发布的产品非常少。那么重点介绍的当然是我们最新的Android 5.0系统,本次Android 5.0系统代号为Lollipop(棒棒糖),所以大家也很亲切的称呼它为Android L系统。   那么Android 5.0都做出哪些改变或是升级呢? 1、全新的Material Des...
分类:移动开发   时间:2016-05-30 15:35:54    阅读次数:242
android 游戏 碰撞检测
矩形碰撞 原理: 两个矩形位置 的四种情况 不是这四中情况 则碰撞圆形碰撞 原理: 利用两个圆心之间的距离进行判定.当两个圆心的距离小于半径之和则碰撞.像素碰撞 :不适用 遍历所有像素 检测 太多了多矩形碰撞: 设置多个矩形碰撞检测区域 检测碰撞矩形数组 与另一碰撞矩形数组之间的位置关系....
分类:移动开发   时间:2016-05-30 15:35:48    阅读次数:240
cocos2d-x android 直接加载下载到sd的zip里的资源文件
最近公司要做的一个cocos-x项目,这个项目用的是2.2.6版的cocos-x c++ 版,cocos比较老的版本。由于打包出来的apk超过了300M,而且资源无法热更新。面临这两条问题。我们讨论了一下如何尽快的把包改到50m以内和在线更新新的主题,对此研究了一下cocos的底层。了解到cocos可以通过 CCFileUtils::sharedFileUtils()->addSearc...
分类:移动开发   时间:2016-05-30 15:33:54    阅读次数:252
【53】java的多线程同步剖析
synchronized关键字介绍:synchronized锁定的是对象,这个很重要例子:class Sync { public synchronized void test() { System.out.println("test开始.."); try { Thread.sleep(1000); }...
分类:编程语言   时间:2016-05-30 15:34:31    阅读次数:195
【Leetcode】Longest Substring Without Repeating Characters
题目链接:https://leetcode.com/problems/longest-substring-without-repeating-characters/ 题目: Given a string, find the length of the longest substring without repeating characters. Examples: Give...
分类:其他好文   时间:2016-05-30 15:33:33    阅读次数:195
【Leetcode】Spiral Matrix
题目链接:https://leetcode.com/problems/spiral-matrix/ 题目: Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. For example, Given the followin...
分类:其他好文   时间:2016-05-30 15:31:54    阅读次数:137
【Leetcode】Reverse Vowels of a String
题目链接:https://leetcode.com/problems/reverse-vowels-of-a-string/ 题目: Write a function that takes a string as input and reverse only the vowels of a string. Example 1: Given s = "hello", return...
分类:其他好文   时间:2016-05-30 15:31:58    阅读次数:95
【Leetcode】Maximum Product Subarray
题目链接:https://leetcode.com/problems/maximum-product-subarray/ 题目: Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, give...
分类:其他好文   时间:2016-05-30 15:32:29    阅读次数:139
【Leetcode】Increasing Triplet Subsequence
题目链接:https://leetcode.com/problems/increasing-triplet-subsequence/ 题目: Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. Formally the fu...
分类:其他好文   时间:2016-05-30 15:33:57    阅读次数:200
【Leetcode】Perfect Squares
题目链接:https://leetcode.com/problems/perfect-squares/ 题目: Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. For examp...
分类:其他好文   时间:2016-05-30 15:34:19    阅读次数:156
linux内核工程导论-网络:tcp拥塞控制
这篇文章本来是在tcp那篇里面的,但是那篇太长了,不专一。就完善了一下提取出来了。TCP拥塞控制       拥塞控制讨论的是很多个同时存在的tcp连接应该怎么规划自己的数据包发送和接收速度,以在彼此之间共享带宽,同时与其他实体的机器公平的竞争带宽,而不是自己全占。        拥塞控制的核心是AIMD(additive-increase/multiplicative-decrease ),线...
分类:系统相关   时间:2016-05-30 15:34:09    阅读次数:180
1735条   上一页 1 ... 40 41 42 43 44 45 46 ... 103 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!