Slide 1

Slide 1 text

Pixels Everywhere Vladimir Pouzanov

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

Эволюция iOS

Slide 4

Slide 4 text

Ожидания пользователей

Slide 5

Slide 5 text

Красивые приложения

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

Красиво

Slide 17

Slide 17 text

Удобно

Slide 18

Slide 18 text

Ожидания разработчиков

Slide 19

Slide 19 text

Быстро

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

Современно

Slide 22

Slide 22 text

iOS 3? O RLY?

Slide 23

Slide 23 text

iPhone 5?

Slide 24

Slide 24 text

Legacy

Slide 25

Slide 25 text

if  (NSClassFromString(@”...”)){      Лапша }  else  {      Еще  больше  лапши }

Slide 26

Slide 26 text

Странные политики

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

ARC

Slide 29

Slide 29 text

ARC

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

Быстро

Slide 33

Slide 33 text

Эффективно

Slide 34

Slide 34 text

Код в ruby-стиле* * Код на ruby, в общем-то

Slide 35

Slide 35 text

Другой взгляд на iOS?

Slide 36

Slide 36 text

class  HomeScreen  <  ProMotion::Screen    title  "Home"    def  on_load        #  Load  data    end    def  will_appear        #  Set  up  the  elements  in  your  view  with  add        @label  ||=  add  UILabel.alloc.initWithFrame([                5,  5,  20,  20        ])    end    def  on_appear        #  Everything's  loaded  and  visible    end end

Slide 37

Slide 37 text

class  HomeScreen  <  ProMotion::Screen    title  "Home"    def  on_load        #  Load  data    end    def  will_appear        #  Set  up  the  elements  in  your  view  with  add        @label  ||=  add  UILabel.alloc.initWithFrame([                5,  5,  20,  20        ])    end    def  on_appear        #  Everything's  loaded  and  visible    end end

Slide 38

Slide 38 text

class  HomeScreen  <  ProMotion::Screen    title  "Home"    def  on_load        #  Load  data    end    def  will_appear        #  Set  up  the  elements  in  your  view  with  add        @label  ||=  add  UILabel.alloc.initWithFrame([                5,  5,  20,  20        ])    end    def  on_appear        #  Everything's  loaded  and  visible    end end

Slide 39

Slide 39 text

def  on_load(app,  options)    @home          =  MyHomeScreen.new(nav_bar:  true)    @settings  =  SettingsScreen.new    @contact    =  ContactScreen.new(nav_bar:  true)    open_tab_bar  @home,  @settings,  @contact end

Slide 40

Slide 40 text

def  on_load(app,  options)    @home          =  MyHomeScreen.new(nav_bar:  true)    @settings  =  SettingsScreen.new    @contact    =  ContactScreen.new(nav_bar:  true)    open_tab_bar  @home,  @settings,  @contact end

Slide 41

Slide 41 text

def  on_load(app,  options)    @home          =  MyHomeScreen.new(nav_bar:  true)    @settings  =  SettingsScreen.new    @contact    =  ContactScreen.new(nav_bar:  true)    open_tab_bar  @home,  @settings,  @contact end

Slide 42

Slide 42 text

def  on_load    set_tab_bar_item  title:  "Hello",  icon:  "star.png" end

Slide 43

Slide 43 text

def  on_load    set_tab_bar_item  title:  "Hello",  icon:  "star.png" end

Slide 44

Slide 44 text

Цените своё время!

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

{    title:  "Email",    key:  :email,    placeholder:  “[email protected]",    type:  :email,    auto_correction:  :no,    auto_capitalization:  :none }

Slide 47

Slide 47 text

@form.render =>  {    email:  "[email protected]",    password:  "password",    confirm:  "password",    remember:  true,    account_type:  :pro }

Slide 48

Slide 48 text

Data persistence

Slide 49

Slide 49 text

Красивая упаковка!

Slide 50

Slide 50 text

'#FF8A19'.to_color =>  #

Slide 51

Slide 51 text

Device.iphone? =>  true

Slide 52

Slide 52 text

Device.iphone? =>  true Device.camera.front? =>  true

Slide 53

Slide 53 text

Device.iphone? =>  true Device.camera.front? =>  true Device.retina? =>  false

Slide 54

Slide 54 text

observe(@label,  :text)  do  |old,  new|    puts  "#{@label}  new  text:  #{new}" end

Slide 55

Slide 55 text

Time.iso8601("2012-­‐05-­‐31T19:41:33Z") =>  2012-­‐05-­‐31  21:41:33  +0200

Slide 56

Slide 56 text

BW::HTTP.get("http://...")  do  |resp|    p  resp.body.to_str end

Slide 57

Slide 57 text

No content

Slide 58

Slide 58 text

Зачем это всё?

Slide 59

Slide 59 text

Зачем я пишу код?

Slide 60

Slide 60 text

Выживание

Slide 61

Slide 61 text

Удовольствие

Slide 62

Slide 62 text

Рутинные задачи Выживание Удовольствие

Slide 63

Slide 63 text

Крутые ништяки Выживание Удовольствие

Slide 64

Slide 64 text

CSS

Slide 65

Slide 65 text

Ваш веб-дизайнер может заняться iOS

Slide 66

Slide 66 text

Или наоборот?

Slide 67

Slide 67 text

No content

Slide 68

Slide 68 text

#button1,  #button2,  #button3  {    border-­‐radius      :  5px;    font-­‐family          :  "Helvetica";    font-­‐size              :  13px;    font-­‐weight          :  bold;    color                      :  #ffffff;    background-­‐color:  linear-­‐gradient(#3c4145,  #585e62);    border-­‐width        :  1px;    border-­‐color        :  #212325;    box-­‐shadow            :  inset  0  1px  0  rgba(255,255,255,0.3),                                                    0  1px  1px  rgba(0,0,0,0.5); } #button2  {    box-­‐shadow            :  inset  0  2px  5px  rgba(0,0,0,0.6),                                                    0  1px  0  rgba(255,255,255,0.1); }

Slide 69

Slide 69 text

No content

Slide 70

Slide 70 text

No content

Slide 71

Slide 71 text

Внешний вид

Slide 72

Slide 72 text

Позиционирование

Slide 73

Slide 73 text

Ещё причины?

Slide 74

Slide 74 text

No content

Slide 75

Slide 75 text

Вокруг столько интересного!

Slide 76

Slide 76 text

Вопросы?

Slide 77

Slide 77 text

Спасибо! http://vfp.in/pixels [email protected]