class Program { static List lastFiles = new List(); static List errorfiles = new List(); static void Main(string[] args) ...
分类:
其他好文 时间:
2015-11-12 17:38:46
阅读次数:
158
- (void)viewDidLoad { ? ? [super viewDidLoad]; ? ? [_plantCollectionView registerNib:[UINib nibWithNibName:@"PlantCollectionViewCell" bundle:nil] forCellWithReuseIdentifier:CellIdentifier]; ? ...
分类:
其他好文 时间:
2015-11-12 16:22:30
阅读次数:
316
#import?"ViewController.h"
@interface?ViewController?()
{
????NSInteger?_cnt;
????NSLock?*_lock;
}
@end
@implementation?ViewController
-?(void)viewDidLoad?{
????[super?viewD...
分类:
移动开发 时间:
2015-11-12 16:20:12
阅读次数:
287
public partial class _20151112 : DbMigration { public override void Up() { DropForeignKey("dbo.T_RoleProductModule", "Pro...
分类:
数据库 时间:
2015-11-12 13:16:15
阅读次数:
254
开始时调用了方法 object_getInstanceVariable(idobj,constchar*name,void**outValue),使用该方法确实可以获取到另一个类私有变量的值,但是只能在非ARC环境中使用(配置方法:点击 工程名->Build Settings->搜索Automati...
分类:
其他好文 时间:
2015-11-12 11:48:48
阅读次数:
198
public void on(View view){ //创建一个Stringuffer实例对象用来拼接HTML文件 StringBuffer sbf=new StringBuffer(); sbf.append(""); sbf.append(""); for (Sm...
分类:
其他好文 时间:
2015-11-12 11:43:32
阅读次数:
163
增加@Test public void addTest(){ String resource = "mybatis-config.xml"; SqlSession sqlSession = null; try { User use...
分类:
其他好文 时间:
2015-11-12 11:42:30
阅读次数:
195
解决方法:重写cell的setFrame方法即可-(void)setFrame:(CGRect)frame{ frame.size.width=self.window.frame.size.width; [supersetFrame:frame]; }
分类:
其他好文 时间:
2015-11-12 11:39:26
阅读次数:
165
//毫秒转换为日期public static void main(String[] args) {DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");long now = System.currentTimeMilli...
分类:
编程语言 时间:
2015-11-12 11:26:47
阅读次数:
300
1.创建一个Java工程,工程结构为 2.需要的jar包 链接:http://pan.baidu.com/s/1gd2jNDh 密码:pyux 3.GeneratorSqlmap public class GeneratorSqlmap { ?????public void generator() throws Exceptio...
分类:
移动开发 时间:
2015-11-12 10:09:35
阅读次数:
501