- [iOS] Fix iOS 11 photo library crash (#493)
- [iOS] Updated Device.simulator? to work in iOS 13+ (#499)
- [iOS] Add MobileCoreServices to list of required frameworks. Fixes issue with missing KUTTypeMovie constant.
- Fixed 'simulator?' so it returns the correct value, when running ios 8 or below on device. (#481)
- Fixed
Device.simulator?
for iOS 9. (#473)
- Added
DependentDeferrable
. (#469)
- Fix issue in loading iOS 8 constants for CoreLocation
- Add support for
keyboardType
on first input field ofBW::UIAlertView
(#406) - Implement #+ and #- for NSIndexPath to incr/decr row (#420)
- Extract CoreMotion classes to make it easier to use and more maintainable (#454)
- Motion extract classes (#454)
- Added RSS fields: creator, category, encoded (#461)
- KVO
observe!
and ability to pass multiple key paths toobserve
(#460) App.short_version
(#466)- Bump the required version of iOS to >= 7 (#424)
- Bump the required version of iOS to >= 7 (#424)
- Fixes to CoreLocation (#422) & (#432)
- Adds default text option to BW::UIAlertView (#467)
- Bump the minimum required RubyMotion version to
3.12
.
- Added
BW::Mail
for sending emails (#247) - Added
BW::SMS
for sending SMS/iMessages (#287) - Added
App::Persistence.delete
(#286) - Added
BW::HTTP::Response#error
, which is anNSError
instance (#284) - Added
BW::HTTP::Query#cancel
to chancel URL requests (#278) - Added
App.info_plist
(#273) - Added
BW::Device.interface_orientation
(#265) - Added
OPTIONS
request method toBW::HTTP
(#260) - Added
Time.iso8601_with_timezone
(#255) - Added
:encoding
option toBW::HTTP
(#251) - Moved
BW::Reactor::Timer
andBW::Reactor::PeriodicTimer
fromNSTimer
to GCDDispatch::Source.timer
(#242)- Option
:common_modes
for BW::Reactor::PeriodicTimer has been deprecated, it's not needed anymore.
- Option
- Fixed App#window (and thus
BW::Camera
) to work with iOS7 modals (#305) - Fixed patches on
String
to be onNSString
(#292) - Fixed
BW::HTTP
success heuristic to match RFC 2616 (#282) - Fixed
BW::HTTP
to correctly identifyfalse
parameters (#261 #262) - Fixed
BW::Reactor
to correctly handle unregistered procs (#253) - Fixed
BW::localized_string
to mirror Cocoa API by returning thekey
if no localization exists (#181) - Addressed a few memory related problems (#270 #275 #276)
- Added OS X support for RubyMotion 2.0 (#233). BubbleWrap drops support for RubyMotion 1.x.
- Changed
BW::UIBarButtonItem
internals;.build
is now deprecated and forwards to.new
(#226) - Changed
HTTP
to present credentials with anAuthorization
header before any requests are made, unless the:present_credentials
option== false
(#199) - Fixed
HTTP
to not append a question-mark (?
) at the end of URL requests with empty:payload
s (#221) - Fixed
HTTP
to correctly parameterize an array of hashes, Rails-style (#219)
- Added
BW::UIBarButtonItem
, a factory-esque wrapper forUIBarButtonItem
(#202) - Added
BW::Font
, a wrapper for creatingUIFont
objects (#206) - Added
BW::Reactor::Eventable#off
, to removeBW::Reactor
callbacks (#205) - Added
BW::Constants.get
, which is a class to help wrapper creation (#203) - Added
BW::Location.get_once
to grab only one location (#197) - Added
App#environment
, to detect the current RubyMotion environment (#191) - Added
:follow_urls
option toBW::HTTP
(#192) - Added
:common_modes
option toBW::Reactor
to change the runloop mode (#190) - Added
:no_redirect
option toBW::HTTP
(#187) - Added
:cookies
option toBW::HTTP
(#204)
- Fix
BW::Camera
view-controller selection process to pickup a window'spresentedViewController
(#183) - Fix strings parsed in
BW::JSON
to be mutable (#175) - Add option for
:credential_persistence
/NSURLCredentialPersistence
inBW::HTTP
(#166) - Change
Device.wide_screen?
toDevice.long_screen?
(#159) - String escaping fixes to
BW::HTTP
(#160 #161 #162) - Add
Device.sdk_version
- Support RubyMotion 1.24 or above (#143)
- Fixed a problem with
when
events not properly handling multiple targets per event. Now defaults to one target per event with an option to append multiple targets.
- Fixed a problem with the load path.
- Added
format:
to the HTTP wrapper with 5 supported formats supported that sets the content type accordingly. - Default HTTP Content-Type for
POST
like requests is back to being form url encoded.
- Added support for symbols as selectors to the KVO module.
- Improved the RSSParser by providing a delegate to handle errors.
- Fixed a bug with the way JSON payloads were handled in the HTTP wrapper.
- Fixed a bug with the way the headers and content types were handled in the HTTP wrapper.
- Added
BubbleWrap::Reactor
, a simplified implementation of the Event Machine API on top of GCD. - Added upload support to the HTTP wrapper.
- Added
BubbleWrap.create_uuid
to generate a uuid string. - Added a program progress proc option to the HTTP wrapper.
- Added a RSS parser.
- Added a camera wrapper.
- Split the various wrappers in self contained and requirable libraries.
- Added a wrapper around the location/gps APIs.
- Added a merge method to the persistence layer so multiple values can be saved at once.
- Added a way to create
UIColor
instances using a hex string:'#FF8A19'.to_color
or color keyword:'blue'.to_color
,'dark_gray'.to_color
.
- Improved the integration with RubyMotion build system.
- Improved test suite.
- Added better documentation, including on how to work on the internals.
- Added a KVO DSL to observe objects.
- Renamed
Device.screen.widthForOrientation
to Device.screen.width_for_orientationand
Device.screen.heightForOrientationto
Device.screen.height_for_orientation`. - The
HTTP
wrapper now encodes arrays in params in a way that's compatible with Rails.
- Refactored the code and test suite to be more modular and to handle
dependencies. One can now require only a subset of BW such as
require 'bubble-wrap/core'
or 'bubble-wrap/http'
- Added App.run_after(delay){ }
- HTTP responses return true to ok? when the status code is 20x.
- Major refactoring preparing for 1.0
- Minor fix in the way the dependencies are set (had to monkey patch RubyMotion)
- Added network activity notification to the HTTP wrapper.
- fixed a bug in the
NSNotificationCenter
wrapper.
Start packaging this lib as a gem.