Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B Bolts-ObjC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 34
    • Issues 34
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • BoltsFramework
  • Bolts-ObjC
  • Merge requests
  • !245

Add no-side-effects version of navigateToAppLink:error: and navigate:

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/biasedbit/master into master Mar 30, 2016
  • Overview 6
  • Commits 1
  • Pipelines 0
  • Changes 4

Created by: biasedbit

Rehash of #26

Summary

  • Allows app to know the type of navigation that would result of calling BFAppLinkNavigation's +navigateToAppLink:error: or -navigate: without having any side effects (i.e. no navigation)
  • Also adds a test to ensure same output as +navigateToAppLink:error: without the side effects.

Motivation

Relying on -navigate: completely hands off app behavior to Bolts. These no-side-effects functions allow apps to know what behavior Bolts is going to adopt with a given BFAppLink.

A developer might want to:

  • completely hand off behavior if it's an AppLink with eligible targets or;
  • use one of their own web views if it's just a regular link or a link that cannot be handled by any installed apps.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/biasedbit/master