19
18

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

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

Last updated at Posted at 2015-05-18

[初心者向け/iOS開発/基本知識]
(http://qiita.com/kayo_h/items/ac73ba624a3fdff0b9cd)
[初心者向け/iOS開発/Swift構文]
(http://qiita.com/kayo_h/items/5250831b4fe3fb25114f)

Storyboardを使わないとき

[Xcode6でストーリーボードを使わないで開発する]
(http://scrtree.github.io/blog/2015/01/12/xcode6-dot-1-1-create-project-without-storyboard/)

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

[後から見つけたけど、これがよかった]
(http://lab.bizreach.co.jp/474/)

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

通常

[カウンターアプリ/swift]
(http://qiita.com/maximum80/items/e0bfa83cd132f72732a2)
[電卓アプリ/swift]
(http://wonderpla.net/blog/engineer/try_swift_in_cui/)

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
[連続番号の実装]
(http://qiita.com/moonkids/items/ea2488e78800c520746a)

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]
(http://qiita.com/sushichop/items/ac4ae99b905ce523c2fe)
[Response]
(http://stackoverflow.com/questions/26191377/how-to-check-response-statuscode-in-sendsynchronousrequest-on-swift)
[JSON]
(http://qiita.com/yukihamada/items/9b0067f905418105a2c6)

バリデーション

画面遷移

 @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移行のページ遷移指定
	
}

  • action

JSON

Swiftの名前空間について

getter,setter

エラー

  • error: this class is not key value coding-compliant for the key

  • 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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?