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.5k
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
Open Source Swift Workshop - Foundation and first party libraries
ikesyo
0
1.3k
Renovateで実現するライブラリの自動更新生活 / Automated Library Updates with Renovate
ikesyo
3
450
XcodeのDevelopment Assets探訪
ikesyo
1
780
RenovateによるiOSライブラリーの自動更新
ikesyo
2
3.1k
2019年のSwiftモック事情
ikesyo
3
7.6k
5分でわかる!Xcode 11から使えるXCFrameworks
ikesyo
2
3.3k
Travis CIのBuild Matrixを活用して、Swift製ライブラリをLinux対応させる
ikesyo
3
2.3k
Swift Packages and XCFrameworks in Xcode 11
ikesyo
1
1k
How to Mock Protocols in Swift
ikesyo
1
2.7k
Other Decks in Programming
See All in Programming
TypeScriptでもLLMアプリケーション開発 / LLM Application In Typescript
rkaga
2
950
哲学史とモデリング
tanakahisateru
2
240
Inner Source@DB: Eine Geschichte über Open-Source-Praktiken im DB Konzern
morl99
1
100
Introducing Kotlin Multiplatform in an existing mobile app - Workshop Edition | AndroidMakers Paris
prof18
0
170
Ruby on Fails - effective error handling with Rails conventions
talyssonoc
0
210
Implementing Design Systems in Swift
seyfoyun
2
510
パフォーマンスを求めてDBに機能を寄せる戦略
aoyagikouhei
0
120
GNU Makeの使い方 / How to use GNU Make
kaityo256
PRO
12
4.3k
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
490
Going beyond Apache Parquet's default settings
xhochy
0
140
Scalable Customer Journey Orchestration (CJO)
lewuathe
0
460
Domain-Driven Transformation
hschwentner
2
1.5k
Featured
See All Featured
Happy Clients
brianwarren
92
6.4k
A designer walks into a library…
pauljervisheath
201
23k
The Cult of Friendly URLs
andyhume
74
5.7k
GraphQLとの向き合い方2022年版
quramy
33
12k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
A Philosophy of Restraint
colly
197
16k
4 Signs Your Business is Dying
shpigford
176
21k
Code Review Best Practice
trishagee
56
15k
Principles of Awesome APIs and How to Build Them.
keavy
121
16k
Why Our Code Smells
bkeepers
PRO
331
56k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
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