I have the following code: UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom]; button.frame = CGRectMake(0.0, 0.0, 25, 25); [[button layer] setCornerRadius:5.0f]; [[button layer] setMasksToBounds:YES]; [[button layer] setBackgroundColor:[[UIColor redColor] CGColor]]; [button.titleLabel setFrame:CGRectMake(0,0, 25, 25)]; [button setTitle:[NSString stringWithFormat:@"%@", [[topics objec
Publication Quality. Build the graphics you imagine. Easily select data, add labels, customize colors, and specify exact sizes. DataGraph takes the fuss and frustration out of creating custom, publication quality graphics. Immediate feedback. Make changes and see results. Use sliders and menus to quickly edit. No need to run code or learn a programming language. Manage your data and design all in
UIView Background Queue Debugging をみてこれいいなと思ってたんですけど、 swizzle を使ってたり別途クラスを定義したりとしてたのでもっと手軽にできたりしないのかなーと思ってたところで「BlockInjectionで元のソースコードを汚さないで振る舞い追加」を見てこれだ!! となったわけでさっそく試してみました。 インストールも Cocoapods を使えば簡単にいけますね。 [BILib injectToSelector:@selector(setNeedsLayout) forClass:[UIView class] preprocess:^(UIView *view) { if (dispatch_get_current_queue() != dispatch_get_main_queue()) NSLog(@"[%@ setNeedsLayou
With the introduction of the retina displays, Apple implemented a few changes when loading images that allowed the SDK to look for the corresponding retina image (named with a @2x convention) automatically. This was a relief for developers, as they do not needed to change the code in their apps. All an iOS developer needs to do is provide the corresponding @2x images of the non-retina ones. Nowada
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く