Skip to content

Instantly share code, notes, and snippets.

View JonasNielsen's full-sized avatar

Jonas Bylov JonasNielsen

View GitHub Profile
# setup inputs
file_output = AVCaptureMovieFileOutput.alloc.init
# [Add recording session input to file_output]
file_output.startRecordingToOutputFileURL(@file_url, recordingDelegate: self)
# Stream data from file while recording to it
input_stream = NSInputStream.inputStreamWithFileAtPath(@file_url)
input_stream.setDelegate(self)
input_stream.scheduleInRunLoop(NSRunLoop.currentRunLoop, forMode:NSDefaultRunLoopMode)
$ rake clean:all
bubble-wrap/network-indicator requires iOS to use.
WARNING! BubbleWrap::HTTP is deprecated and will be removed, see https://github.com/rubymotion/BubbleWrap/issues/308
WARNING! Switch to a different networking library soon - consider AFNetworking: http://afnetworking.com/
WARNING! You can use the 'bubble-wrap-http' gem if you need compatibility: https://github.com/rubymotion/BubbleWrap-HTTP
Delete ./build
Delete vendor/Pods/Resources/GTMOAuth2Window.nib
Clean ./Pods.xcodeproj for platform `MacOSX'
Clean ./Pods.xcodeproj [AFNetworking - Release]
Clean ./Pods.xcodeproj [GTMHTTPFetcher - Release]
$ rake clean:all
bubble-wrap/network-indicator requires iOS to use.
WARNING! BubbleWrap::HTTP is deprecated and will be removed, see https://github.com/rubymotion/BubbleWrap/issues/308
WARNING! Switch to a different networking library soon - consider AFNetworking: http://afnetworking.com/
WARNING! You can use the 'bubble-wrap-http' gem if you need compatibility: https://github.com/rubymotion/BubbleWrap-HTTP
Delete ./build
Clean ./Pods.xcodeproj for platform `MacOSX'
Clean ./Pods.xcodeproj [AFNetworking - Release]
Clean ./Pods.xcodeproj [GTMHTTPFetcher - Release]
Clean ./Pods.xcodeproj [Reachability - Release]