Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
UISearchBarとの付き合い方
Search
Sho Ikeda
November 21, 2017
Programming
0
1.6k
UISearchBarとの付き合い方
関西モバイルアプリ研究会 in 関東での発表資料です #関モバ
https://kanmoba.connpass.com/event/70685/
Sho Ikeda
November 21, 2017
Tweet
Share
More Decks by Sho Ikeda
See All by Sho Ikeda
Package Traits
ikesyo
2
240
Open Source Swift Workshop - Foundation and first party libraries
ikesyo
0
2.2k
Renovateで実現するライブラリの自動更新生活 / Automated Library Updates with Renovate
ikesyo
3
570
XcodeのDevelopment Assets探訪
ikesyo
1
1.1k
RenovateによるiOSライブラリーの自動更新
ikesyo
2
3.6k
2019年のSwiftモック事情
ikesyo
3
8k
5分でわかる!Xcode 11から使えるXCFrameworks
ikesyo
2
3.7k
Travis CIのBuild Matrixを活用して、Swift製ライブラリをLinux対応させる
ikesyo
3
2.5k
Swift Packages and XCFrameworks in Xcode 11
ikesyo
1
1.2k
Other Decks in Programming
See All in Programming
Conform を推す - Advocating for Conform
mizoguchicoji
3
700
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
180
Ruby on cygwin 2025-02
fd0
0
150
ML.NETで始める機械学習
ymd65536
0
190
データの整合性を保つ非同期処理アーキテクチャパターン / Async Architecture Patterns
mokuo
53
17k
PHP ステートレス VS ステートフル 状態管理と並行性 / php-stateless-stateful
ytake
0
110
Grafana Loki によるサーバログのコスト削減
mot_techtalk
1
130
Pulsar2 を雰囲気で使ってみよう
anoken
0
240
Rubyで始める関数型ドメインモデリング
shogo_tksk
0
120
法律の脱レガシーに学ぶフロントエンド刷新
oguemon
5
740
さいきょうのレイヤードアーキテクチャについて考えてみた
yahiru
3
760
楽しく向き合う例外対応
okutsu
0
400
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
22
1.4k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Raft: Consensus for Rubyists
vanstee
137
6.8k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.1k
Documentation Writing (for coders)
carmenintech
67
4.6k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
The World Runs on Bad Software
bkeepers
PRO
67
11k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
970
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Transcript
UISearchBar ͱͷ͖߹͍ํ @ikesyo ؔϞόΠϧΞϓϦݚڀձ in ؔ౦ 2017-11-21 Tue #ؔϞό
@ikesyo • ͍͚͠ΐʔʗా ᠳ • ͯͳ@ژ • https://twitter.com/ikesyo • https://github.com/ikesyo
UISearchBar
UISearchBar https://developer.apple.com/ios/human-interface-guidelines/bars/search-bars/
UISearchBar • tableView.tableHeaderView = serachBar • navigationItem.titleView = searchBar •
navigationItem.serachController = searchController • ” NEW in iOS 11!
tableView.tableHeaderView
tableView.tableHeaderView
navigationItem.titleView
navigationItem.titleView (iOS 10)
navigationItem.titleView (iOS 11)
navigationItem.titleView (iOS 11) • എܠ৭ • ߴ͕͞େ͖͍
!
navigationItem.serachController (iOS 11)
navigationItem.serachController (iOS 11)
navigationItem.serachController (iOS 11)
!
navigationItem.serachController (iOS 11) searchController.searchBar.backgroundColor = someColor
!
Change searchBar's backGroundColor • swift - UISearchController iOS 11 Customization
- Stack Overflow if let textField = searchBar.value(forKey: "searchField") as? UITextField { textField.textColor = UIColor.blue if let backgroundView = textField.subviews.first { // Background color backgroundView.backgroundColor = UIColor.white // Rounded corner backgroundview.layer.cornerRadius = 10; backgroundview.clipsToBounds = true; } }
!
❓ How to Be Happy with UISearchBar ❓
!
! Happy Search Life!! !
Thank you❗" Sho Ikeda @ikesyo