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

360|iDev - Highlights - CocoaHeads Campinas

Salmo Junior
September 29, 2015

360|iDev - Highlights - CocoaHeads Campinas

Deck apresentado no 9º CocoaTalks Campinas: http://www.meetup.com/CocoaHeadsCPS/events/225404684/

Nesta talk abordei os highlights da conferência 360|iDev 2015, que tive o prazer de participar.

Salmo Junior

September 29, 2015
Tweet

More Decks by Salmo Junior

Other Decks in Technology

Transcript

  1. - Biggest independent iOS Conference - August 16-19, 2015 -

    Based in Denver, CO 360|iDev - 2015 Edition
  2. • Sessions divided into three tracks focused on ◦ Design

    ◦ Code ◦ Business • Talks based on three overarching themes ◦ The state of independent iOS developers ◦ Swift and functional programming ◦ Auto Layout and Adaptive Layout 360|iDev - Distribution
  3. • August 16th (hands-on) ◦ Debugging Tips & Techniques by

    Kendall Gelner ◦ Power up your animations by Marin Todorov • August 17th ◦ Still Here by Josh Michaels ◦ Solving Auto Layout Problems by Jack Cox ◦ Localization Explained by Ellen Shapiro ◦ Beyond White: Embracing the iOS Design Aesthetic by Janie Clayton ◦ WordPress for iOS – Under the Hood by Aaron Douglas ◦ Safer Swift Code with Value Types by Benjamin Encz ◦ Something Deep with mike by Mike Lee 360|iDev - Attended Lectures
  4. • August 18th ◦ Decision Fatigue by Daniel Haight ◦

    Bridging the Gap – Functional Programming in Objective C and Swift by Chris Woodard ◦ Bringing Swift into your Objective-C Projects by René Cacheaux ◦ The Last Job II by Kyle Richter ◦ Mastering Auto Layout by Justin Williams ◦ UISearchController with a UICollectionView by Jeremiah Gage ◦ Stump 360 Jr: Not Dead Yet by Tom Harrington 360|iDev - Attended Lectures
  5. • August 19th ◦ iOS Testing: Beyond the Model by

    Cate Huston ◦ Magic Words – Harnessing the Power of TextKit by Gene Whitaker ◦ All the (Tech) World’s a Stage by Michele Titolo ◦ Practical Declarative Programming by Kyle Fuller ◦ Jay Freeman speaks ◦ Speaker Panel 360|iDev - Attended Lectures
  6. Debugging Tips & Techniques by Kendall Gelner • Breakpoints ◦

    The simplest use of breakpoints is not to break 360|iDev - Highlights
  7. Debugging Tips & Techniques by Kendall Gelner • Watchpoints ◦

    Set property watchpoints (max two on device) watchpoint set variable self.myProp watchpoint delete <number> 360|iDev - Highlights
  8. Debugging Tips & Techniques by Kendall Gelner • Data Formatters

    ◦ Use to provide better view on your local variables 360|iDev - Highlights
  9. Debugging Tips & Techniques by Kendall Gelner • Simulator features

    ◦ Slow animations ◦ Color Blended ◦ Color Misaligned 360|iDev - Highlights
  10. Debugging Tips & Techniques by Kendall Gelner • Tools -

    REVEAL ◦ Shows breakout of views and allows manipulation. ◦ Trial version, costs $89 US. ◦ Find at RevealApp.com 360|iDev - Highlights
  11. Debugging Tips & Techniques by Kendall Gelner • Tools -

    Charles ◦ Examine, modify, or replay requests. ◦ Easily filter to see requests that matter 360|iDev - Highlights
  12. Localization Explained by Ellen Shapiro She showed that "Internationalization" is

    more than simply using of NSLocalizedString ◦ We need to be aware of different date formats not only timezones ◦ Numeric values and unit of measurement are often displayed and handled differently 360|iDev - Highlights
  13. Localization Explained by Ellen Shapiro • To handle these things

    in an easy way use subclasses of NSFormatter like ◦ NSNumberFormatter ◦ NSMassFormatter ◦ NSLengthFormatter ◦ NSEnergyFormatter ◦ NSDateIntervalFormatter ◦ MKDistanceFormatter 360|iDev - Highlights
  14. Localization Explained by Ellen Shapiro She also talked about two

    new great iOS9 internationalization features ◦ NSPersonNameComponentsFormatter ◦ And iOS 9 will automatically handle right-to-left language orientations 360|iDev - Highlights
  15. Bridging the Gap – Functional Programming in Objective C and

    Swift by Chris Woodard 360|iDev - Highlights
  16. Bridging the Gap – Functional Programming in Objective C and

    Swift by Chris Woodard The main topic of the talk was that code should be readable and a functional style should be used in complexible logics making your code more readable. He also gave a good tip for object-oriented developers switch to Swift. "Start creating short functions " 360|iDev - Highlights
  17. Bringing Swift into your Objective-C Projects by René Cacheaux René

    said the real benefits of using Swift are found in working with one file, without the need for .h or .m files or extensions. Based on that, his team studied and decided for a strategy to avoid these side effects to start their project migration. They decided to approach the project in a vertical strategy called: Vertical Slicing 360|iDev - Highlights
  18. Bringing Swift into your Objective-C Projects by René Cacheaux •

    Steps ◦ Start by converting / creating one VC and V ◦ Second convert your base VC and V ◦ Move your AppDelegate to Swift ◦ Create a extension of Persistence, Networking and Third Parties ◦ Once the first vertical slice has been converted, start to convert the other slices 360|iDev - Highlights
  19. Mastering Auto Layout by Justin Williams • He showed 4

    examples explaining in a simple way how to use ◦ Layout Margins ◦ Layout Anchors ◦ Layout Guides ◦ Debugging Auto Layout with Swift Demo codes on GitHub: https://github.com/justin/360iDev2015/ 360|iDev - Highlights
  20. Mastering Auto Layout by Justin Williams • Layout Margins ◦

    Require iOS 8 or above ◦ Adjust view's padding without adjusting constraints ◦ UIEdgeInset called layoutMargins on UIView 360|iDev - Highlights
  21. Mastering Auto Layout by Justin Williams • Layout Anchors ◦

    Require iOS 9 or above ◦ New way to copy anchors from a existing constraint 360|iDev - Highlights
  22. Mastering Auto Layout by Justin Williams • Layout Guides The

    UILayoutGuide class defines a rectangular area that can interact with Auto Layout. ◦ A replacement for spacing UIViews ◦ Simplify complex layout scenarios 360|iDev - Highlights
  23. Mastering Auto Layout by Justin Williams • Layout Guides To

    create a layout guide, you must perform the following steps ◦ Instantiate a new layout guide ◦ Add the layout guide to a view by calling the view’s addLayoutGuide method ◦ Define the position and size of the layout guide using Auto Layout 360|iDev - Highlights
  24. iOS Testing: Beyond the Model by Cate Huston • Basically

    she talked about ◦ Testing your Controller Layer ◦ How to see how much of your code's been tested 360|iDev - Highlights
  25. iOS Testing: Beyond the Model by Cate Huston • But

    XCode 7 has two new features to help us doing that ◦ Code Coverage ◦ UI Test 360|iDev - Highlights
  26. iOS Testing: Beyond the Model by Cate Huston • Code

    Coverage ◦ A tool to measuring the value of tests ◦ Show which code is exercised by unit tests ◦ Exposes areas of your code that are untested 360|iDev - Highlights
  27. iOS Testing: Beyond the Model by Cate Huston • Using

    Code Coverage ◦ Turn on code coverage in the scheme editor for a target. 360|iDev - Highlights
  28. iOS Testing: Beyond the Model by Cate Huston • Using

    Code Coverage ◦ It shows you which of your app’s code paths are being tested. 360|iDev - Highlights
  29. iOS Testing: Beyond the Model by Cate Huston • Using

    Code Coverage ◦ You also can see the number of times the unit tests call each code. 360|iDev - Highlights
  30. iOS Testing: Beyond the Model by Cate Huston • UI

    Test ◦ XCode 7 has the ability to record UI interactions into source code that you can transform into tests. 360|iDev - Highlights
  31. Magic Words – Harnessing the Power of TextKit by Gene

    Whitaker • TextKit ◦ A set of classes and protocols in the UIKit framework that gives us complete control over text rendering in user interface elements 360|iDev - Highlights
  32. Magic Words – Harnessing the Power of TextKit by Gene

    Whitaker • TextKit - Components ◦ NSTextStorage ◦ NSLayoutManager ◦ NSTextContainer 360|iDev - Highlights
  33. Magic Words – Harnessing the Power of TextKit by Gene

    Whitaker • TextKit - Object configuration for a single text flow 360|iDev - Highlights
  34. Magic Words – Harnessing the Power of TextKit by Gene

    Whitaker • TextKit - Object creation for a single text flow 360|iDev - Highlights
  35. Magic Words – Harnessing the Power of TextKit by Gene

    Whitaker • TextKit - Object configuration for paginated text 360|iDev - Highlights
  36. Magic Words – Harnessing the Power of TextKit by Gene

    Whitaker • TextKit - Object configuration for multiple views 360|iDev - Highlights
  37. Magic Words – Harnessing the Power of TextKit by Gene

    Whitaker • TestKit - Exclusion Paths 360|iDev - Highlights
  38. Magic Words – Harnessing the Power of TextKit by Gene

    Whitaker • TestKit - Exclusion Paths example 360|iDev - Highlights
  39. Take a look on the following links • Full schedule

    ◦ http://360idev.com/2015-schedule/ • Session Videos ◦ http://360idev.com/session-videos 360|iDev - Want to know more?
  40. ?