by 언제나19 2014. 12. 27. 17:34


올해는 wwdc video가 바로 모두에게 공개돼있네.

https://developer.apple.com/videos/wwdc/2014/


What's New in Cocoa Touch
Frameworks
iOS
What's New in Cocoa Touch
Session 202
Play
 
iOS 8 brings enhancements to the Cocoa Touch frameworks for making next generation apps on iOS. Learn about updates to view controllers, the introduction of size classes, and get an overview of all new APIs to help you create adaptive apps. Hear about new capabilities, such as extensions and handoff, which will enable you to create great experiences for users to keep them up to date at all times or allow them to continue their workflow when they move from one device to another. Find out which sessions you won't want to miss throughout the week.
Download: HD | SD



adaptive하게 돼서 iphone, ipad 동시 개발이 쉬워졌대.

AlertView도 양쪽에 동작한다고 하고,

simulator도 변경해서 쓰기가 쉬워졌대.


split view도 뭔가 좋아졌다고 한다.


UIBlurEffect

목욕탕 반투명 색깔

UIVibrancyEffect


TableView에서

variable row height

auto layout으로 자동으로 height를 알아낸다.


App Extensions


notification

승인 안받아도 notify할 수 있게 됐네.

push size가 256 --> 1k


hand off

mac os x을 쓸 때만 쓰려나


Core location

indoor location?? 뭐가 되려나







by 언제나19 2014. 6. 5. 08:19



www.dartlang.org 페이지에서 추천하는 tutorial

짧은 시간 동안에 dart의 특징을 알 수 있다.

dart가 얼마나 좋은지 신속하게 알 수 있고, getting started 로도 좋겠다.

Class 관련 내용은 10, 11편에서 가르쳐준다.

물론 실제로 code를 작성하려면, sample code를 더 봐야겠다.


type checking같은 기능이 (check mode 에서만이라도) 있어서 좋다.

ruby 등 최신 script 언어에 있는 기능들이 들어 있어서 좋네.





by 언제나19 2014. 5. 24. 00:14


android에서

google plus 로그인 하기.

단말기 account와 연결돼 있어서 좋네.


Getting started 설명서부터 보면서 동영상이랑 같이 보면서 쉽게 만들어 볼 수 있다.

https://developers.google.com/+/mobile/android/sign-in

Android





https://developers.google.com/events/io/sessions/332060543

android, ios, web 다 같이 로그인하려면, cross platform auth 과정을 아는 게 좋겠다.

위 영상 다음에 보기.

auth는 두 가지.

authentication, authorization

auth token은 1시간 유효. 유출되면 안된다.

refresh token은 오래 간다. offline에서도 쓸 수 있다. 유출돼도 다른 데서 쓸 수가 없다.


다음 영상

https://developers.google.com/events/io/sessions/332401735

이것도 매우 도움 되겠다.

자체 로그인, facebook 등 다른 서비스 로그인과 google plus sign-in을 섞어 쓰기

영국 발음.

꼭 필요한 내용인데 머리에 쏙쏙 들어오지는 않는다.

여러 서비스 merge해서 로그인하기


play services를 이용하는 거니까 playservice library에 대한 video를 보기.



이건 기획자 발표네.

좋다고 말은 하는데, 큰 감흥은 없다. 10분 보다가 말았다.



by 언제나19 2014. 2. 10. 00:40


초반은

graphic engine이 좋아진다는 얘기


10분 쯤에는 개발자 옵션 중 GPU관련 얘기

GPU에서 시간을 얼마나 쓰는지 즉시 그래프로 보여준다.

각 영역에 대해 몇 번을 redraw하는지 가르쳐주는 option도 있다. 이게 좋네.

red 3번, deep red(갈색) 4번 redraw한다는 의미.

Developer options

Show GPU overdraw

Blue 1x

Green 2x

Red 3x

Deep Red 4x


Profile GPU rendering

On screen as bars




20분 쯤부터 개발할 때 도움이 되는 얘기를 한다.

android는 기본적으로 windowBackground를 그리기 때문에

ListView에 background를 지정하면, redraw가 발생한다.

ListView에 android:background를

style에서 theme 색깔을 바꾸면, overdraw를 1번 줄일 수 있다.

<style name="AppTheme" parent="android:Theme.Light">

<item name="android:windowBackground">@color/dark/background</item>

</style>


for big bitmap

b.setHasMipMap(true);

<bitmap

 android:mipMap="true"

 android:src="@drawable/my_drawable" />



alpha를 쓰면, 부담이 되므로, 대안이 있으면 대안을 쓰기


alpha를 직접 계산할 수 있으면 직접 미리 계산해서 계산된 값을 쓰기

ImageView에서 setAlpha보다는 setImageAlpha를 쓰기

그 외에도 3가지 정도 방법이 있다.


canvas에서 rotation, clipping 등을 할 때, 사각형 모양으로 clip되게 하는 것이 더 좋다. (?)





성능을 높이기 위해서 한 번 이상 보고 모든 것을 다 익혀 놓는 것이 좋겠다.


마지막에 6개 정도 다른 link를 가르쳐준다. 이것들도 봐두면 좋겠다.


by 언제나19 2013. 12. 15. 13:34
| 1 2 |