Skip to content

Commit

Permalink
Fix linter errors, update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisballinger committed Jul 6, 2016
1 parent 77c749d commit ffc2ac8
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
2 changes: 1 addition & 1 deletion KissXML.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Pod::Spec.new do |s|
ss.dependency 'KissXML/Core'
end

s.ios.deployment_target = '7.0'
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.8'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
Expand Down
2 changes: 1 addition & 1 deletion KissXML/DDXMLElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN
- (instancetype)initWithName:(NSString *)name;
- (instancetype)initWithName:(NSString *)name URI:(nullable NSString *)URI;
- (instancetype)initWithName:(NSString *)name stringValue:(nullable NSString *)string;
- (nullable instancetype)initWithXMLString:(NSString *)string error:(NSError **)error NS_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithXMLString:(NSString *)string error:(NSError **)error;

#pragma mark --- Elements by name ---

Expand Down
21 changes: 21 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,26 @@ KissXML is a mature library used in thousands of products. It's also used in oth

KissXML was inspired by the TouchXML project, but was created to add full support for generating XML as well as supporting the entire NSXML API.

### Getting Started

The minimum deployment target is now iOS 8.0 / macOS 10.8 / tvOS 9.0 / watchOS 2.0.

The easiest way to install `KissXML` is using CocoaPods.

```ruby
use_frameworks!
pod 'KissXML'
```

After `pod install` open your `.xcworkspace` and import:

```
import KissXML // swift
@import KissXML; //objective-c
```

### Learn More

**[Get started using KissXML](https://github.com/robbiehanson/KissXML/wiki/GettingStarted)**<br/>
**[Learn more about KissXML](https://github.com/robbiehanson/KissXML/wiki)**<br/>

Expand All @@ -30,6 +50,7 @@ Love the project? Wanna buy me a coffee? (or a beer :D) [![donation](http://www.

## Changelog

* 5.1.0 - Jul 6 2016 - Removed need for `libxml_module` subspec by removing references to libxml in public headers. Added Obj-C generics and nullability support to match NSXML API. Added watchOS support. Minimum iOS version is now 8.0.
* 5.0.3 - Feb 1 2016 - Removed `DDXML_NS_DECLARATIONS_ENABLED` to allow for better Swift compatibility. Added `DDXML.swift` with mappings between NSXML classes and constants and DDXML.
* 5.0.2 - Jan 26 2016 - Enable Swift support via `libxml/module.modulemap` and `DDXML_LIBXML_MODULE_ENABLED` macro. You can use the `KissXML/libxml_module` CocoaPods subspec to enable this feature.
* 5.0.1 - Jan 21 2016 - Run tests on iOS and Mac targets.

0 comments on commit ffc2ac8

Please sign in to comment.