UIStackView, Storyboard Reference, CoreSpotlight API - iOS 9 bootcamp

UIStackView, Storyboard Reference, CoreSpotlight API - iOS 9 bootcamp

9bf923e39671cde83584e3e926296c13?s=128

Kishikawa Katsumi

October 01, 2015
Tweet

Transcript

  1. 4.

    Agenda • What’s new in StoryBoard & AutoLayout - UIStackView

    - StoryBoard Reference • Spotlight API
  2. 13.

    AutoLayoutͷ໰୊ w ࠩ෼͕֬ೝͮ͠Β͍  ίʔυϨϏϡʔͮ͠Β͍ w ଞਓ͕ϝϯςφϯεͰ͖ͳ͍  6*ͷ໰୊͕େ͖͍ w

    Ϗϡʔಉ࢜Ͱ੍͔͠໿͕͚ͭΒΕͳ͍  ϏϡʔΛ࡟আͨ࣌͠ʹ෇͚ସ͑Δඞཁ͕͋Δ  μϛʔ7JFXͳͲ8PSLBSPVOEͷ૿Ճ
  3. 19.
  4. 21.
  5. 23.

    References • 218 Mysteries of Auto Layout, Part 1- WWDC

    2015 • UIStackView Tutorial: Introducing Stack Views - raywenderlich.com • Playing With UIStackView - swiftandpainless.com/playing-with-uistackview/ • OAStackView - github.com/oarrabi/OAStackView
  6. 25.
  7. 26.
  8. 30.
  9. 33.
  10. 36.

    CSSearchableItemAttributeSet *attributeSet = [[CSSearchableItemAttributeSet alloc] initWithItemContentType:…]; attributeSet.title = program.title; attributeSet.contentDescription

    = [NSString stringWithFormat:@"%@ %@\n%@", ...]; attributeSet.startDate = program.startDate; attributeSet.endDate = program.endDate; CSSearchableItem *item = [[CSSearchableItem alloc] initWithUniqueIdentifier:program.identifier domainIdentifier:@“programs" attributeSet:attributeSet]; [searchableItems addObject:item]; CSSearchableIndex *searchableIndex = [CSSearchableIndex defaultSearchableIndex]; [searchableIndex indexSearchableItems:@[searchableItem] completionHandler:...] ݕࡧΠϯσοΫεʹ௥Ճɾߋ৽
  11. 39.
  12. 40.
  13. 42.
  14. 44.