Upgrade to Pro — share decks privately, control downloads, hide ads and more …

UIStackView, Storyboard Reference, CoreSpotligh...

UIStackView, Storyboard Reference, CoreSpotlight API - iOS 9 bootcamp

Kishikawa Katsumi

October 01, 2015
Tweet

More Decks by Kishikawa Katsumi

Other Decks in Programming

Transcript

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

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

    Ϗϡʔಉ࢜Ͱ੍͔͠໿͕͚ͭΒΕͳ͍  ϏϡʔΛ࡟আͨ࣌͠ʹ෇͚ସ͑Δඞཁ͕͋Δ  μϛʔ7JFXͳͲ8PSLBSPVOEͷ૿Ճ
  3. 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
  4. 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:...] ݕࡧΠϯσοΫεʹ௥Ճɾߋ৽