WWDC 2011 Session Videos - HD
Session 100 - What's New in Cocoa Touch 47:15 11. 6. 16. Apple Developer Developer on iTunes
를 안봤었다. 새로 나온 것들을 써봤자, ios4 하위 호환이 안되는 것이 대부분이기 때문에 필요 없을 거라 생각했었다.
그런데, 그렇지 않더라.. 동향에 대해 미리 알 수 있고, 어떤 기능이 기존에 지원안됐는지도 알 수 있다.
그리고, 어떤 기능은 이제는 지원될 것이니 크게 신경 쓰지 않기로 결정할 수도 있다.
게다가, issue가 되는 기능들이 대부분 내가 애타게 찾던 기능들이어서, 의사 결정 및 사례 공부에 도움이 된다.

UINavigationController 에 해당하는 view controller를 담을 수 있는 component를 만들려고 했다.
jump bar 가 필요해서.
그런데, custom UIViewControllerController가 ios5부터는 지원되네.
Session 102 - Implementing UIViewController Containment 58:43 11. 6. 16. Apple Developer Developer on iTunes

처음에는 View Controller basics를 좀 설명해준다.
containment에 대해서 설명해준다.
add/removeChildViewController 같은 api가 생겼다.
willMoveToParentViewController 같은 callback 도 있다.
View, Controller 간 inconsistency가 생기면 exception이 발생한다.

viewWillAppear는 
view hierarchy에 들어가기 전이랑 vc.view layoutSubviews (if necessary) 전에 불린다.

viewDidAppear 다음에 불릴 callback을 block으로 등록하는 것도 생겼다. dialog에서 활용할 수 있는 거.

39'에 demo 준비를 잘못했네. 이런 실수는 또 처음 봤다.

theme에 따라서 다른 모양으로 보이게 전환되게 하고 싶었는데,
UIAppearance proxy도 일부 비슷한 기능을 하는 것 같다. 배워두고, 따로 구현해서 쓸 지 생각해봐야겠다.
Session 114 - Customizing the Appearance of UIKit Controls 47:12 11. 6. 16. Apple Developer Developer on iTunes

15'쯤 있는 발표가 약간 방정맞다. 조금 민망하다.
ui component의 속성을 계속 바꾸는 것만 반복. 내용도 별로 없어 보인다.

21'부터 appearance proxy
appkit에는 animation proxy라는 게 이미 있었다.
24'부터 27'까지 다시 demo. demo는 안봤다.
appearanceWhenContainedIn 도 있네. 어디 들어갔을 때만 appearance를 활성화하도록.

kwac같은 게 ios에서 먼저 뜨게 생겼다. web application을 만들 때 어디를 target 으로 할까 정하기 전에 ios에서 얼마나 지원되는지, 얼마나 편한지 알아야겠다.
Session 504 - Building Newsstand Apps 42:18 11. 6. 16. Apple Developer Developer on iTunes








by 언제나19 2011. 11. 18. 13:15

block을 callback으로 쓰기 위해서 video로 다시 배워본다.

WWDC 2010 Session Videos - HD
Session 206 - Introducing Blocks and Grand Central Dispatch on iPhone 49:52 10. 6. 16. Apple Developer Developer on iTunes

이 때 말하기로는 blocks가 c++, objective c++ 에서 아직은 덜 지원되고 있다고 하네. 지금은 어떤지 모르겠다.

lambda calculus 가능.
block은 objective c object.

automatic reference counting이 잘 되려나 모르겠네. 

[block copy]  는 다시 봐도 어렵다.
objective c garbage collection session에서 더 자세히 가르쳐준다. 

18' 부터는 grand central dispatch 설명. 

twitter 내용 list에서 image를 비동기로 update하는 걸 dispatch_async( , ^{ }) 를 통해서 쉽게 처리할 수 있다.
이거 알아둬야겠다. 

WWDC 2011 Session Videos - HD
Session 308 - Blocks and Grand Central Dispatch in Practice 45:03 11. 6. 16. Apple Developer Developer on iTunes
는 지난 번에 봤었는데, 이해를 잘 못했었다.


다시 보니, 좀 낫다.
function과 block을 바로 옆에 두고 비교해가면서 설명해주니 좋다.
__block int cnt = 0; 도 block 안으로 쉽게 넘길 수 있다. 대신 memory management에는 신경써야 한다.

12' 부터는 또 grand central dispatch
중간에 dispatch_apply, dispatch_async 를 설명하는 부분은 집중하지 않았다. 나중에 필요할 때 봐야지.

34' 부터 다시 block memory management
Block_copy() 못알아듣겠다.
[obj setHandler: ^{ [obj doSomething]; }]; 라고 쓰면 retain cycle이 생기니까
__block NSThingy *tmp = obj;
[obj setHandler: ^[tmp doSomething]; }];
로 바꿔 쓰래. 어려워 -0-; Block_copy 를 안쓸 꺼면 신경쓰지 않아도 되나?

related sessions가
simplifying iphone app development with grand central dispatch
working effectively with objective-c on iphone os
advanced objective-c and garbage collection techniques
라는데, wwdc2010 에서 찾을 수가 없다.

block 포함 gcd 관련 list

WWDC 2010 Session Videos - HD
Session 206 - Introducing Blocks and Grand Central Dispatch on iPhone 49:52 10. 6. 16. Apple Developer Developer on iTunes
Session 211 - Simplifying iPhone App Development with Grand Central Dispatch 54:03 10. 6. 16. Apple Developer Developer on iTunes

WWDC 2011 Session Videos - HD
Session 308 - Blocks and Grand Central Dispatch in Practice 45:03 11. 6. 16. Apple Developer Developer on iTunes
Session 210 - Mastering Grand Central Dispatch 42:48 11. 6. 16. Apple Developer Developer on iTunes

 
by 언제나19 2011. 11. 12. 18:43

전화해서 물어봤다.
처음에는 한국산업공단 1644-8000 - 2 - 0 으로 전화했는데, 고용노동부 담당이라고 해서
고용노동부 1350 - 1
으로 전화했다.

실업자일 때 교육을 받으려고 미리 문의해 봤는데,
실업상태에서 신청할 수 있고,
서류도 준비해야 하고,
어떤 훈련과정이 필요한지 상담도 받아야 한대네.
게다가, 상담 결과에 따라서 훈련 과정이 필요 없다고 판단되면, 실업자 계좌제 신청을 못할 수도 있다고 한다. -0-

교육도 아무나 시켜주는 게 아니구나.
별로 기대하지 말아야겠다.

그 동안 꼬박 내 온 고용보험금이 아까워질 지도 모르겠다.

'조사 > 준비' 카테고리의 다른 글

짜잘한 올레 대회  (0) 2012.07.19
삼성에서 tablet 앱 대회  (0) 2012.05.20
커져가는 공개sw 공모대전  (0) 2012.04.25
공모전 모음 sites  (0) 2011.12.22
해외 마케팅 지원 사업  (0) 2011.12.05
sk planet에서 개발자에 돈 풀었네  (0) 2011.11.09
카페베네에서 인도네시아에 보내주네  (0) 2011.11.06
삼성 bada 대회 또 하나  (1) 2011.10.20
2011 해외취업박람회 구경  (0) 2011.10.11
evernote 개발자 대회  (0) 2011.06.12
by 언제나19 2011. 11. 11. 13:30

WWDC 2011 Session Videos - HD 에서 autolayout 얘기 보기.

Session 302 - Using Interface builder in Xcode 4 53:44 11. 6. 16. Apple Developer Developer on iTunes
에서 auto layout 소개를 조금 들었었다. 
2011/09/16 17:05 쯤.

Session 103 - Cocoa Autolayout 59:16 11. 6. 16. Apple Developer Developer on iTunes
를 꼭 봐야 했었네.

interface builder로 조작도 가능하면서도,
in-code layout도 가능하다.

guide:
http://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/AutolayoutPG/Articles/Introduction.html

이런 거 꼭 필요하다~.
autolayout으로 안된다면, 비슷한 걸 만들어야겠다.

springs and struts에서 이미 있는 개념인가보네.

핵심은 NSLayoutConstraint를 지정해둘 수 있고,
이 constraints가 실행 시간에 적용이 된다는 것.

controller가 layout에 대해서 모르게 하고 싶다. 나도!

헉, 그런데, ios에서 지원이 안되나보다.
http://developer.apple.com/library/mac/#documentation/AppKit/Reference/NSLayoutConstraint_Class/NSLayoutConstraint/NSLayoutConstraint.html
가 mac에서만 지원이 되네.

언젠가 ios에도 들어오겠지..

Update Constraints
NSWindow updateConstraintsIfNeeded
NSView updateConstraintsSubtreeIfNeeded
NSView updateConstraints
NSView needsUpdateConstraints
NSView setNeedsUpdateConstraints:
은 새로 나온 거겠지?

layout, display는 원래 있었던 mechanism대로 동작할 것 같다.
Layout
NSWindow layoutIfNeeded
NSView layoutSubtreeIfNeeded
NSView layout
NsView needsLayout
NSView setNeedsLayout:

Display
NSWindow displayIfNeeded
NSView displayIfNeeded
NSView drawRect:
NSView needsDisplay
NSView setNeedsDisplay:

그 외에도 baseline 을 지정하고, 이것을 이용해서 맞춰주는 기능도 있나보다.
alignment rect를 통해서, 직사각형 모양으로 맞추기
NSViewShowAlignmentRects 를 통해서 맞추는 것을 확인할 수도 있나보다.

demo를 보여주는데, ui debugging 기능이 정말 좋네.
설정만 하면, 어떤 object와 관련이 있는 alignment lines를 보여주고, 실제 내용을 알려준다.

constraint solving algorithm으로 
http://www.cs.washington.edu/research/constraints/cassowary/
을 추천해주는데, 어떤 역할을 하는지 모르겠다.

---

26' 부터 다시 본다.
Display mechanism은  top-down ~> 이게 from View to Super-view??
update constraints path는 bottom-up ~> 이게 leaf --> super --> super
layout은 top down (setFrame) . 이지만 실제 layout 계산은 꼭 그렇지만은 않다고 한다. 동시에 일어나는 것도 있다.

layoutIfNeeded 가 updateConstraints 를 부른대.

이제는 setFrame 하지 말고, constraint를 update해야 한다.

animation 할 때도 constraint를 바꿔야 한다.

autolayout 을 직접 구현한다고 했을 때, 이런 게 부담이 될 수도 있겠네.


slide를 보는 것이 최고.











 

'공부 > Computers' 카테고리의 다른 글

spring seminar 스크랩  (0) 2011.12.20
ios memory management 한글 문서 읽기  (0) 2011.11.30
ios 설정 구현하기 위해 필요한 video 찾기  (0) 2011.11.25
ios5 ui 새 기능들  (0) 2011.11.18
video about blocks in wwdc  (0) 2011.11.12
Pittarese javascript 배우기  (0) 2011.11.03
node js 관련 자료  (0) 2011.10.29
iphone foundation video는 기초부터  (0) 2011.10.25
Core data video  (0) 2011.10.20
Xcode Instruments tutorials  (0) 2011.10.13
by 언제나19 2011. 11. 10. 17:13
by 언제나19 2011. 11. 9. 01:11