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
230
Open Source Swift Workshop - Foundation and first party libraries
ikesyo
0
2.2k
Renovateで実現するライブラリの自動更新生活 / Automated Library Updates with Renovate
ikesyo
3
560
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
Amazon ECS とマイクロサービスから考えるシステム構成
hiyanger
2
490
Honoをフロントエンドで使う 3つのやり方
yusukebe
4
2.1k
ASP. NET CoreにおけるWebAPIの最新情報
tomokusaba
0
360
SwiftUIで単方向アーキテクチャを導入して得られた成果
takuyaosawa
0
260
SwiftUI Viewの責務分離
elmetal
PRO
0
140
Software Architecture
hschwentner
6
2.1k
Rails アプリ地図考 Flush Cut
makicamel
1
110
GitHub Actions × RAGでコードレビューの検証の結果
sho_000
0
240
動作確認やテストで漏れがちな観点3選
starfish719
6
1k
Formの複雑さに立ち向かう
bmthd
1
720
Pulsar2 を雰囲気で使ってみよう
anoken
0
230
“あなた” の開発を支援する AI エージェント Bedrock Engineer / introducing-bedrock-engineer
gawa
11
1.8k
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
400
Done Done
chrislema
182
16k
Scaling GitHub
holman
459
140k
BBQ
matthewcrist
86
9.5k
Documentation Writing (for coders)
carmenintech
67
4.6k
Music & Morning Musume
bryan
46
6.3k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.6k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
The World Runs on Bad Software
bkeepers
PRO
67
11k
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