flutter_flutter/sky/shell/ios/document_watcher.h
Ian Fischer 057798813d Allow iOS apps to restart by copying the app.skyx to the Documents
directory on the device.

This work is to support a workflow where developers testing on an iOS
device will automatically see their app updates as they change their Sky
code. Currently this works by using the ios-deploy tool:
$ ios-deploy --bundle_id 'org.domokit.sky.game' --upload out/ios_Debug/game_app.app/app.skyx --to Documents/app.skyx
Upcoming commits will incorporate this into skytool.
2015-08-03 11:33:28 -07:00

13 lines
391 B
Objective-C
Executable File

// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NDEBUG
#import <Foundation/Foundation.h>
@interface DocumentWatcher : NSThread
- (instancetype)initWithDocumentPath:(NSString*)path callbackBlock:(void (^)(void))callbackBlock;
- (void)cancel;
@end
#endif // !NDEBUG