6
4
2014
6

iOS开发者证书-详解/生成/使用

本文假设你已经有一些基本的Xcode开发经验, 并注册了iOS开发者账号.

相关基础

加密算法

现代密码学中, 主要有两种加密算法: 对称密钥加密公开密钥加密.

对称密钥加密

对称密钥加密(Symmetric-key algorithm)又称为对称加密, 私钥加密, 共享密钥加密.

这类算法在加密和解密时使用相同的密钥.

例如: 最常见的应用场景 - 系统登陆.

要成功登陆系统, 你必须输入正确的密码, 这密码是唯一的, 是与创建时一样的. 同样 的, 其他人要成功登陆, 他也要输入这唯一的正确的密码.

公开密钥加密

公开密钥加密(public-key cryptography, 也称为非对称密钥加密).

这类算法在加密和解密时使用不相同的密钥.

这类加密算法对应有两个密钥: 公钥和私钥. 公钥, 是公开的, 任何人都可以获得; 私钥 , 是私密的, 只由持有者所有.

这类加密算法的特点是: 用公钥加密的内容只能用私钥解密, 用私钥加密的内容只能 用公钥解密.

这类加密算法的特点决定了, 它即可以用于实现数据加密, 又可以用于实现身份认证 (数字签名).

Category: iOS | Tags: Tools Xcode ios objc
5
28
2014
15

CocoaPods再使用

安装 CocoaPods

CocoaPods 是基于 Ruby 开发的, 其安装需要 Ruby 环境. 幸运的是 MAC 默认都是预装 好 Ruby 的.

在开始安装前, 我们有两点需要准备:

  • 确定 Ruby 环境是好的, 并配置好环境变量PATH.

编辑~/.profile~/.bash_profile , 配置PATH:

export PATH=$HOME/.rvm/bin:$PATH

Category: iOS | Tags: Tools Xcode iOS objc Pods
11
20
2013
2

如何在多台机器上共享IOS证书

1. 下载.cer文件到别的机器。就是在IDP上的那个。
2. 从发送申请文件(certificate Request,后缀名为certSigningRequest)的机器上把证书对应的private key(.p12文件)导出,密码自己定,要记住,后面导入的时候要用。
3. 在你需要的机器上安装证书(.cer),导入私钥文件(.p12)。安装对应App的provisioning profile。
4. Over,你可以用其他机器开发了。

注:必须得从申请机器上导出private key.到其他机器上

Category: iOS | Tags: push ios
11
20
2013
7

@我的印象笔记 自动同步微博到印象笔记

@我的印象笔记 是一个微博账号,关注后会收到私信,点击链接绑定印象笔记账户,之后你就可以:

  • 自己的微博:写微博 @我的印象笔记 ,就能轻松保存;
  • 别人的微博:在评论或转发中@我的印象笔记 就好啦!

其实这与 twitter & evernote 的设置是一样的...

Category: Tools-Tips | Tags: evernote
11
20
2013
32

iOS开发者工具(收集)

  • 四款后端服务工具

    后端服务加速了移动应用的开发,改进了可扩展性并减少了开发者对服务器端编码的需求。

  • 五大编程类工具

    iOS开发工具多如牛毛,选择一款功能强劲且实用的编程工具对开发者来说可谓是大有裨益。

  • 六大图标处理工具

    在本文中N为广大的iOS设计师整理了6款简约而不简单的图像和图标处理工具。

  • 七款Debug工具

    本文会列举几个比较有效的调试诊断工具,可以帮助你寻根究底,以最快的速度发现、解决Bug。

  • 九大设计类工具

    对于开发者和设计师来说,拥有一款功能强大且实用的开发工具能够极大提升他们的工作效率。

  • 简化开发流程的工具

    这里推荐20个可以帮你简化app开发流程的工具,涉及原型和设计、编程、测试以及最后的营销。

  • 24款免费iPad UI工具

    本文搜集了24款免费的iPad应用的用户界面开发工具,以帮助开发者提高开发效率。

  • 75个必知工具

    本文介绍了75个开发者必知的工具,按类分别列出,对开发者来说,必定要收藏啊!

 

 

Category: iOS | Tags: Tools ios objc
11
20
2013
262

About UIView content mode (UIViewContentMode)

From the documentation:

The content mode specifies how the cached bitmap of the view’s layer is adjusted when the view’s bounds change.

  • For an image view, this is talking about the image.
  • For a view that draws its content, this is talking about the drawn content. It does not affect the layout of subviews.

 

Category: iOS-Tips | Tags: ios objc uiview
11
20
2013
122

How to rotate image to arbitrary angle with FFMpeg filter?

A rotate filter was recently added to FFmpeg, which allows rotation by an arbitrary angle. To use it, you can build the lastest version from git or download a recent snapshot build.

The angle is specified in radians; positive is clockwise and negative is counterclockwise. If you have degrees, multiply by PI/180 to convert to radians. For example, to rotate 3° counterclockwise:

ffmpeg -i in.mp4 -vf "rotate=-3*PI/180" out.mp4

Check out the documentation for more details and additional examples.

 

Another solution(but only for 90*n degrees):

Category: FFMpeg | Tags: Video image ffmepg
11
20
2013
12

iOS Dev Tools List

FROM: http://www.alexcurylo.com/blog/2013/11/17/ios-dev-tools-list/

Here’s a handy site to add to your feeds collection:

iOS Dev Tools

iOS Dev Tools is a list showcasing the greatest iOS development tools, including websites, desktop and mobile apps, and back-end services. I’ve tried to group the tools into logical categories and will mark any newly added tools as NEW.

Think most everything there of great interest we’ve bothered mentioning at some point over the years — with the notable exception of the ‘Networking and APIs’ section, have to check those out sometime —but it certainly is nice to have them all nicely curated in one place!

While we’re on the subject, here’s a recentish list along the same lines:

75 Essential Tools for iOS Developers

Category: iOS-Tips | Tags: ios tools objc

Host by is-Programmer.com | Power by Chito 1.3.3 beta | Theme: Aeros 2.0 by TheBuckmaker.com