iosに関するtana_bataのブックマーク (197)

  • 【iOS】UIWebView Hacks 〜ブラウザ開発テクニック〜


     Sleipnir Mobile for iPhone / iPad  調Sleipnir Mobile  2010963 API 使 3使 UIWebView UIWebView     UIWebView  API
    【iOS】UIWebView Hacks 〜ブラウザ開発テクニック〜
  • iOS6とNSDateFormatterと和暦と24時間表示オフで発生しやすいバグについて | Technology-Gym


    iOS6NSDateFormatter ios6  NSDateFormatter show wrong year  Stack Overflow YYYY使 yyyy使yyyy <strong>iOS6</strong><br />iOSNSDateFormmater  iOS.app ->  ->  ->  -> or  xxxxyyyy NSDateFor
  • Cloud-Powered HTML5 Hybrid Mobile App Development Tools | Monaca

    Mobile App Development Fast, Easy and Flexible.Cross-platform hybrid mobile app development platform and tools in the cloud GET STARTED FREE Monaca makes HTML5 hybrid mobile app development with Apache Cordova simple and easy. Monaca is the most open hybrid app development platform available and ready to be immediately plugged into your existing workflow and development environment. From Cloud IDE

    Cloud-Powered HTML5 Hybrid Mobile App Development Tools | Monaca
  • Cocoaの日々: [iOS] Keychain Services とは


     Keychain Services  Mac OS X iOS 使 iOS  iOS Mac OS X  iOS PC(keychain password)iOS Keychain Service 
    Cocoaの日々: [iOS] Keychain Services とは
  • 9ensanのLifeHack

  • いろいろな UIAlertView - アカベコマイリ


    iPhone 使 UIAlertView  2013/10/28   UIAlertView - addSubView iOS 7   iOS 7  UIAlertView   UIAlertView  UIAlertViewDelegate - clickedButtonAtIndex  UIAlertView  tag 
  • 知っていると便利な UIView の contentMode


    UIView  contentMode 使 contentMode  View UImageView  UIButton 使enum 使 UIViewContentModeScaleToFill View View UIImage  stretchableImage 使 UIViewContentModeScaleAspectFit 
    知っていると便利な UIView の contentMode
  • 『iPhoneアプリ開発、その(118) UIScrollViewはどうやって使うのか?』


    iPhoneUIScrollView使  UIScrollView Safari          Safari                                      
    『iPhoneアプリ開発、その(118) UIScrollViewはどうやって使うのか?』
  • サルでき.jp

  • plistの改行文字 - アルザえもんの手記


      plist(\n) \n   // info-plistInfoString NSString* str = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"InfoString"]; label.text = str;   NSStringstringWithFormat:plist  調\
  • サルでき.jp

    サルでき.jpは閉鎖しました。 今まで沢山の方々にお越しいただき当にありがとうございました。 新しいサイト「サルでき.com」はこちらです。 また皆様とお会い出来るのを楽しみにしております。 サルでき.jp管理人 カワサキタカシ

  • Cocoa と touch, Cocoa で touch: Table View セルのカスタマイズ


    Table View UITableViewCell    iPhone     UI subView      UILabel  subView  UILabel *cityLabel, *prefLabel; UITable
  • 自動的にサイズが決まるUILabel - UDONCHAN

    #import <UIKit/UIKit.h> @interface AutoSizingLabel : UILabel {} - (id) initWithText:(NSString *)text andFont:(UIFont *)font; @end @implementation AutoSizingLabel - (id) initWithText:(NSString *)text andFont:(UIFont *)font { CGSize size = [text sizeWithFont:font constrainedToSize:CGSizeMake([[UIScreen mainScreen] bounds].size.width, 10000) lineBreakMode:UILineBreakModeTailTruncation]; self = [super

    自動的にサイズが決まるUILabel - UDONCHAN
  • あんのたんのブログ : UIView - livedoor Blog(ブログ)

    2009年04月11日21:29 カテゴリプログラミングiPhone UIViewのフェードイン/フェードアウト ブログネタ:Objective-C に参加中! 良く使いそうなのでいつも通りカテゴリで追加。 UIView+Effect.h // // UIView+Effect.h // KeitaiEmuPro // // Created by あんのたん on 2009/04/11. // Copyright 2009 あんのたん. All rights reserved. // #import <Foundation/Foundation.h> @interface UIView (Effect) - (void)fadeInWithDuration:(NSTimeInterval)interval; - (void)fadeOutWithDuration:(NSTimeInterv

  • iPhone-Labo: 文字列サイズのボタンを作成する - UIButton

    Twitterアプリなどでよく見かける文字列サイズぴったりのボタンを良く見かけますよね。 今回はそれと同じような文字列サイズのボタンを作成してみます。 文字列からサイズを取得するにはこちらを参考 - 文字列からサイズを取得する //表示する文字 NSString *text = @"あいうえおあいうえおあいうえおあいうえおあいうえおあいうえお"; //表示最大サイズ CGSize bounds = CGSizeMake(100, 500); //フォント UIFont *font = [UIFontfontWithName:@"Helvetica-Bold"size:18]; //表示モード UILineBreakMode mode = UILineBreakModeWordWrap;//改行する //全体のサイズを取得 CGSize size = [text sizeWithFont:f

    iPhone-Labo: 文字列サイズのボタンを作成する - UIButton
  • UITabBar、UINavigationBarの高さ - すぎゃーんメモ


    UITabBarController, UINavigationController使TabBarNavigationBarView 調48020NavigationBar, TabBar UITabBarControllerrotatingFooterView, rotatingHeaderView使 UITabBarControllerUINavigationControllerUIViewController CGFloat navHeight = [[[self tabBarController] rotationgHeaderVie
    UITabBar、UINavigationBarの高さ - すぎゃーんメモ
  • UIScrollViewについて頭をスッキリさせてみよう。-contentSize編- - 定食屋おろポン


    UIScrollViewcontentSizeXcode  ScrollViewaddSubview    contentSize  UIScrollView* scrollView; (bounds.size320*480) UILabel* label; (bounds.
    UIScrollViewについて頭をスッキリさせてみよう。-contentSize編- - 定食屋おろポン
  • iPhone-Labo: 文字列からサイズを取得する - NSString

    //表示する文字 NSString *text = @"あいうえおあいうえおあいうえおあいうえおあいうえおあいうえお"; //表示最大サイズ CGSize bounds = CGSizeMake(100, 500); //フォント UIFont *font = [UIFontfontWithName:@"Helvetica-Bold"size:18]; //表示モード UILineBreakMode mode = UILineBreakModeWordWrap;//改行する //1行だけのサイズを取得 CGSize size = [text sizeWithFont:font forWidth:bounds.width lineBreakMode:mode]; //全体のサイズを取得 CGSize size2 = [text sizeWithFont:font constrainedToS

    iPhone-Labo: 文字列からサイズを取得する - NSString
  • 複数行にわたったテキストを含むUILabelを適切な高さに調節する。 | cocoa*life

  • Objective-CのnilとNULLの違いって何?

    自分用メモ。 nilは「Objective-Cの空のオブジェクト」、NULLは「C言語の空ポインタ」と解釈する。もっとも良い例がNSFileManagerのcreateDirectoryAtPath:withIntermediateDirectories:attributes:error:です。 (http://developer.apple.com/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSFileManager_Class/Reference/Reference.html#//apple_ref/occ/instm/NSFileManager/createDirectoryAtPath:withIntermediateDirectories:attributes:error:) リファレンスを読んでみると、attributes