{"id":13990682,"url":"https://github.com/IdeasOnCanvas/Aiolos","last_synced_at":"2025-07-22T13:30:52.702Z","repository":{"id":41176167,"uuid":"96895035","full_name":"IdeasOnCanvas/Aiolos","owner":"IdeasOnCanvas","description":"A floating panel for your iOS Apps","archived":false,"fork":false,"pushed_at":"2023-09-29T07:05:40.000Z","size":956,"stargazers_count":1610,"open_issues_count":1,"forks_count":67,"subscribers_count":26,"default_branch":"main","last_synced_at":"2024-11-21T04:11:21.616Z","etag":null,"topics":["ios","ios-ui","panel","swift","uikit"],"latest_commit_sha":null,"homepage":"https://mindnode.com","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IdeasOnCanvas.png","metadata":{"files":{"readme":"Readme.mdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-07-11T13:17:38.000Z","updated_at":"2024-11-19T08:22:50.000Z","dependencies_parsed_at":"2023-01-19T14:15:41.663Z","dependency_job_id":"1cb00981-fc21-4787-aebc-3624a719dc7e","html_url":"https://github.com/IdeasOnCanvas/Aiolos","commit_stats":null,"previous_names":[],"tags_count":110,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IdeasOnCanvas%2FAiolos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IdeasOnCanvas%2FAiolos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IdeasOnCanvas%2FAiolos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IdeasOnCanvas%2FAiolos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IdeasOnCanvas","download_url":"https://codeload.github.com/IdeasOnCanvas/Aiolos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227098922,"owners_count":17730670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ios","ios-ui","panel","swift","uikit"],"created_at":"2024-08-09T13:03:06.212Z","updated_at":"2024-11-29T10:31:19.161Z","avatar_url":"https://github.com/IdeasOnCanvas.png","language":"Swift","funding_links":[],"categories":["iOS Apps (Search Results)","Swift","uikit"],"sub_categories":[],"readme":"# Aiolos\n#### Yet another iOS Floating Panel\n\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![SPM compatible](https://img.shields.io/badge/SPM-compatible-4BC51D.svg?style=flat)](https://swift.org/package-manager)\n![Platform iOS](https://img.shields.io/badge/Platform-iOS%2011+-blue.svg \"Platform iOS\")\n![Language Swift](https://img.shields.io/badge/Language-Swift%204.2-orange.svg \"Swift 4.2\")\n[![Twitter: @myell0w](https://img.shields.io/badge/Twitter-@myell0w-red.svg?style=flat)](https://twitter.com/myell0w)\n\nAiolos, ancient greek for *quick-moving*/*nimble*, is a Swift UI framework inspired by the floating panel, that was introduced to Maps app in iOS 11.  Give it a try in [MindNode 5 for iOS](https://itunes.apple.com/app/mindnode-5/id1218718027?l=en\u0026mt=8\u0026pt=14265\u0026uo=4\u0026at=11l5H7\u0026ct=web) (free trial available).\n\nIt is fully **gesture-driven**, takes **safe area** insets into account, has support for **right-to-left languages** baked in and automatically reacts to the on-screen **keyboard**. Compared to many other open source panel solutions, Aiolos is designed to be an always-visible child view controller, and therefore does not use the custom view controller transition API of iOS.\n\n![MindNode for iPad and iPhone](Screenshot.png)\n\n## Integration with Carthage\n\nAdd this line to your Cartfile.\n```\ngithub \"IdeasOnCanvas/Aiolos\"\n```\n\n## Integration with Swift Package Manager\n\nAiolos can be integrated with [Swift Package Manager](https://swift.org/package-manager) directly [within Xcode](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app).\n\n## Usage in Code\n\nThere's a demo app, that demonstrates how the Panel can be set up with a different configuration for iPhones and iPads.\n\n```swift\nfunc makePanel(with contentViewController: UIViewController) -\u003e Panel {\n    // create Panel with default configuration\n    let configuration = Panel.Configuration.default\n    let panelController = Panel(configuration: configuration)\n\n    // specify, which ViewController is displayed in the panel\n    panelController.contentViewController = contentViewController\n\n    // setup delegates that handle size configuration and animation callbacks\n    panelController.sizeDelegate = self\n    panelController.animationDelegate = self\n\n    // change the configuration to fit you needs\n    panelController.configuration.position = self.panelPosition(for: self.traitCollection)\n    panelController.configuration.margins = self.panelMargins(for: self.traitCollection)\n    panelController.configuration.appearance.separatorColor = .white\n\n    // we want a different look/behaviour on iPhone compared to iPad\n    if self.traitCollection.userInterfaceIdiom == .pad {\n        panelController.configuration.appearance.maskedCorners = [.layerMinXMinYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMaxXMaxYCorner]\n    } else {\n        panelController.configuration.supportedModes = [.minimal, .compact, .expanded, .fullHeight]\n        panelController.configuration.appearance.maskedCorners = [.layerMinXMinYCorner, .layerMaxXMinYCorner]\n    }\n\n    return panelController\n}\n```\n\n### Configuring the size\n\n```swift\nextension ViewController: PanelSizeDelegate {\n\n    func panel(_ panel: Panel, sizeForMode mode: Panel.Configuration.Mode) -\u003e CGSize {\n        let width = self.panelWidth(for: self.traitCollection, position: panel.configuration.position)\n        switch mode {\n        case .minimal:\n            return CGSize(width: width, height: 0.0)\n        case .compact:\n            return CGSize(width: width, height: 64.0)\n        case .expanded:\n            let height: CGFloat = self.traitCollection.userInterfaceIdiom == .phone ? 270.0 : 320.0\n            return CGSize(width: width, height: height)\n        case .fullHeight:\n            return CGSize(width: width, height: 0.0)\n        }\n    }\n}\n```\n\n### Reacting to Panel animations\n\n```swift\nextension ViewController: PanelAnimationDelegate {\n\n    func panel(_ panel: Panel, willTransitionTo size: CGSize) {\n        print(\"Panel will transition to size \\(size)\")\n    }\n\n    func panel(_ panel: Panel, willTransitionFrom oldMode: Panel.Configuration.Mode?, to newMode: Panel.Configuration.Mode, with coordinator: PanelTransitionCoordinator) {\n        print(\"Panel will transition from \\(oldMode) to \\(newMode)\")\n        // we can animate things along the way\n        coordinator.animateAlongsideTransition({\n            print(\"Animating alongside of panel transition\")\n        }, completion: { animationPosition in\n            print(\"Completed panel transition to \\(newMode)\")\n        })\n    }\n}\n```\n\n## Credits\n\nAiolos is brought to you by [IdeasOnCanvas GmbH](https://ideasoncanvas.com), the creator of [MindNode for iOS, macOS \u0026 watchOS](https://mindnode.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIdeasOnCanvas%2FAiolos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIdeasOnCanvas%2FAiolos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIdeasOnCanvas%2FAiolos/lists"}