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.8k
Renovateで実現するライブラリの自動更新生活 / Automated Library Updates with Renovate
ikesyo
3
500
XcodeのDevelopment Assets探訪
ikesyo
1
930
RenovateによるiOSライブラリーの自動更新
ikesyo
2
3.3k
2019年のSwiftモック事情
ikesyo
3
7.8k
5分でわかる!Xcode 11から使えるXCFrameworks
ikesyo
2
3.5k
Travis CIのBuild Matrixを活用して、Swift製ライブラリをLinux対応させる
ikesyo
3
2.4k
Swift Packages and XCFrameworks in Xcode 11
ikesyo
1
1.1k
How to Mock Protocols in Swift
ikesyo
1
2.8k
Other Decks in Programming
See All in Programming
快適な開発と高セキュリティを実現するCryptoKitを活用したCoreDataのデータ暗号化術
grandbig
1
300
Wallet API, Verifier APIで実現するIDカード on iPhoneの世界
shitamori1272
1
320
Playwrightから始めるVisual Regression Testingのススメ by とっと
totto2727
2
1.8k
長期運用プロダクトの開発速度を維持し続けるためのリファクタリング実践例
wataruss
8
2.5k
『ドメイン駆動設計をはじめよう』中核の業務領域
masuda220
PRO
5
840
実践 Advanced CallKit 〜快適な通話の実現に向けて〜
mot_techtalk
3
110
Ebitengineの1vs1ゲーム WebRTCの活用
ponyo877
0
330
月間4.5億回再生を超える大規模サービス TVer iOSアプリのリアーキテクチャ戦略 - iOSDC2024
techtver
PRO
1
570
Desafios e Lições Aprendidas na Migração de Monólitos para Microsserviços em Java
jessilyneh
2
130
健康第一!MetricKitで始めるアプリの健康診断 / App Health Checkups Starting with MetricKit
nekowen
4
790
connect-go で面倒くささと戦う / 2024-08-27 #newmo_layerx_go
izumin5210
2
590
めざせ!WKWebViewマスター! / WKWebView Master
marcy731
3
480
Featured
See All Featured
Designing for Performance
lara
604
68k
Building a Scalable Design System with Sketch
lauravandoore
458
32k
How GitHub Uses GitHub to Build GitHub
holman
472
290k
How to Think Like a Performance Engineer
csswizardry
15
910
Into the Great Unknown - MozCon
thekraken
28
1.4k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
165
48k
Fireside Chat
paigeccino
31
2.9k
Clear Off the Table
cherdarchuk
90
320k
What’s in a name? Adding method to the madness
productmarketing
PRO
21
3k
Optimizing for Happiness
mojombo
375
69k
Building Flexible Design Systems
yeseniaperezcruz
324
37k
RailsConf 2023
tenderlove
26
790
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