---
title: "[ios]categories 动态增加方法"
author: "119568242"
date: "2012-10-29T15:04:45Z"
tags: []
categories: ["移动开发"]
slug: "ios-categories"
draft: false
lastmod: "2012-10-29T15:04:45Z"
id: 1707361
url: "https://poolo.iteye.com/blog/1707361"
---

对Photo增加名为"AddOn"的 categories

@interface Photo (AddOn) //AddOn categories名

\- (UIImage \*)image

{

blablalbalba……

}

-(BOOL)isOld{

blablalbalba……

}

@end