Skip to content

Commit

Permalink
170829 - search navigation 때문에 생긴 변경점 해결 #207
Browse files Browse the repository at this point in the history
  • Loading branch information
JuneBuug committed Aug 29, 2017
1 parent 99f7701 commit f39aaa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions iOSProject/pyunrihae/pyunrihae/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import GoogleSignIn

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate,GIDSignInDelegate{
var ref : DatabaseReference! = Database.database().reference()
var window: UIWindow?
var productList : [Product] = []
let category = ["전체","도시락","김밥","베이커리","라면","식품","스낵","아이스크림","음료"]
Expand All @@ -25,7 +24,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate,GIDSignInDelegate{
GIDSignIn.sharedInstance().clientID = FirebaseApp.app()?.options.clientID
GIDSignIn.sharedInstance().delegate = self


return true
}
func applicationWillResignActive(_ application: UIApplication) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ open class YNSearchViewController: UIViewController, UITextFieldDelegate {
}

open func ynSearchinit() {
self.ynSearchTextfieldView = YNSearchTextFieldView(frame: CGRect(x: 20, y: 64, width: width-40, height: 50))
self.ynSearchTextfieldView = YNSearchTextFieldView(frame: CGRect(x: 20, y: 0, width: width-40, height: 50))
self.ynSearchTextfieldView.ynSearchTextField.delegate = self
self.ynSearchTextfieldView.ynSearchTextField.addTarget(self, action: #selector(ynSearchTextfieldTextChanged(_:)), for: .editingChanged)
self.ynSearchTextfieldView.cancelButton.addTarget(self, action: #selector(ynSearchTextfieldcancelButtonClicked), for: .touchUpInside)
self.ynSearchTextfieldView.searchButton.addTarget(self, action: #selector(ynSearchTextfieldsearchButtonClicked), for: .touchUpInside)
self.view.addSubview(self.ynSearchTextfieldView)

self.ynSearchView = YNSearchView(frame: CGRect(x: 0, y: 114, width: width, height: height-70))
self.ynSearchView = YNSearchView(frame: CGRect(x: 0, y: 50, width: width, height: height-70))
self.view.addSubview(self.ynSearchView)
}

Expand Down

0 comments on commit f39aaa8

Please sign in to comment.