LoginSignup
19
18

More than 5 years have passed since last update.

初心者向け/iOS開発/実装・tutorial

Last updated at Posted at 2015-05-18

初心者向け/iOS開発/基本知識
初心者向け/iOS開発/Swift構文

Storyboardを使わないとき

Xcode6でストーリーボードを使わないで開発する

  • Deployment InfoMain Interfaceの中の"Main"を削除するとありますが、消さなくても動きました。

後から見つけたけど、これがよかった

(project作る時もデフォルトでstoryboard入っているし、使わない場合は削除しないといけないので、
Appleはstoryboard推奨って認識でいいのか?)

通常

カウンターアプリ/swift
電卓アプリ/swift

webViewの実装

http://qiita.com/drobune/items/17295b2de6663b56785a
http://kzy52.com/entry/2015/02/20/000838

でたエラー

日付取得の実装

ドラムロール、セレクトボックスの実装(PickerView)

http://suxisuxido.com/uitextfield_uipickerview/
http://swiftdev.blog.fc2.com/blog-entry-13.html
連続番号の実装

canvasの実装

(http://www.atmarkit.co.jp/ait/articles/1012/15/news118_2.html
http://qiita.com/moonkids/items/4f89701dbc397107a867)

popup画面の実装(Alert)

http://tech.eversense.co.jp/23
http://qiita.com/Night___/items/f2877236a4182c566eed

HTTPリクエスト

GET,POST
Response
JSON

バリデーション

画面遷移

 @IBAction func runButton(sender: AnyObject) {
    var answerValue = 1
    // 2枚目のviewを登録
    var appDelegate:AppDelegate = UIApplication.sharedApplication().delegate as! AppDelegate

    let secondViewController: UIViewController = SecondViewController()
    secondViewController.modalTransitionStyle = UIModalTransitionStyle.PartialCurl //めくるようなアニメーション
    self.presentViewController("secondViewController", animated: true, completion: nil) //iOS6移行のページ遷移指定

}

http://www.web4life.jp/archives/122
- redeclaration of `変数名'

同じ名前の宣言が複数個あった。

  • Thread 1:signal SIGABRT

結局IB変数の紐付けが不要なものが残っていた。

  • Value of optional type

バックスラッシュが入力できない!

option + ¥で入力できた。

テスト

実機テスト

http://techacademy.jp/magazine/2521
http://tokyo.supersoftware.co.jp/blog/staff/20130909_1.html

xcodeにIDを登録する手順

developper権限

参考

19
18
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
19
18