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
Open Source Swift Workshop - Foundation and first party libraries
ikesyo
0
2.1k
Renovateで実現するライブラリの自動更新生活 / Automated Library Updates with Renovate
ikesyo
3
540
XcodeのDevelopment Assets探訪
ikesyo
1
1.1k
RenovateによるiOSライブラリーの自動更新
ikesyo
2
3.5k
2019年のSwiftモック事情
ikesyo
3
7.9k
5分でわかる!Xcode 11から使えるXCFrameworks
ikesyo
2
3.6k
Travis CIのBuild Matrixを活用して、Swift製ライブラリをLinux対応させる
ikesyo
3
2.5k
Swift Packages and XCFrameworks in Xcode 11
ikesyo
1
1.2k
How to Mock Protocols in Swift
ikesyo
1
2.9k
Other Decks in Programming
See All in Programming
RWC 2024 DICOM & ISO/IEC 2022
m_seki
0
210
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
250
Spatial Rendering for Apple Vision Pro
warrenm
0
110
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
Beyond ORM
77web
7
870
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
260
テストケースの名前はどうつけるべきか?
orgachem
PRO
0
140
tidymodelsによるtidyな生存時間解析 / Japan.R2024
dropout009
1
790
今年一番支援させていただいたのは認証系サービスでした
satoshi256kbyte
1
260
42 best practices for Symfony, a decade later
tucksaun
1
180
Zoneless Testing
rainerhahnekamp
0
120
クリエイティブコーディングとRuby学習 / Creative Coding and Learning Ruby
chobishiba
0
3.9k
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
520
39k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
A better future with KSS
kneath
238
17k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
The Cost Of JavaScript in 2023
addyosmani
45
7k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
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