[android] button 에 shake anim 효과 주기 [android] button 에 shake anim 효과 주기 참조 : http://frogermcs.github.io/InstaMaterial-concept-part-3-feed-and-comments-buttons/ CycleInterpolator 는 api level 1 부터 있던 녀석.정해진 숫자의 cycle 로 animation 을 반복한다.변경은 사인 곡선을 따른다. btn.startAnimation(AnimationUtils.loadAnimation(this, R.anim.shake_anim)); Android, anim, animation, animationutils, api level, Button, cycleinterpolator, cycles.. 2016. 9. 22. [iOS Study] 델리게이션과 텍스트 입력 [iOS Study] 델리게이션과 텍스트 입력 출처 : 아론 힐리가스의 iOS 프로그래밍 -UITextField 인스턴스는 사용자가 텍스트를 수정할 수 있게 해준다. -UIResponder 는 UIKit 프레임워크에 존재하는 추상 클래스이다.다음 세 클래스는 UIResponder 의 하위 클래스이다. UIView, UIViewController, UIApplication UIResponse 는 이벤트를 제어하는 메소드들을 정의한다.이벤트에는 터치 이벤트, 흔들기와 같은 모션 이벤트, 재생/정지와 같은 원격 제어 이벤트 등이 있다.하위 클래스들은 이런 이벤트에 응답하기 위해 각각에 따라 이들 메소드를 재정의한다. -UIWindow 는 다른 이벤트들에 응답할 객체를 가리키는 퍼스트 리스폰더 (first re.. 2016. 2. 19. 반응형 이전 1 다음