Skip to content

Commit ffc2ac8

Browse files
Fix linter errors, update readme
1 parent 77c749d commit ffc2ac8

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

KissXML.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
2323
ss.dependency 'KissXML/Core'
2424
end
2525

26-
s.ios.deployment_target = '7.0'
26+
s.ios.deployment_target = '8.0'
2727
s.osx.deployment_target = '10.8'
2828
s.tvos.deployment_target = '9.0'
2929
s.watchos.deployment_target = '2.0'

KissXML/DDXMLElement.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN
2727
- (instancetype)initWithName:(NSString *)name;
2828
- (instancetype)initWithName:(NSString *)name URI:(nullable NSString *)URI;
2929
- (instancetype)initWithName:(NSString *)name stringValue:(nullable NSString *)string;
30-
- (nullable instancetype)initWithXMLString:(NSString *)string error:(NSError **)error NS_DESIGNATED_INITIALIZER;
30+
- (nullable instancetype)initWithXMLString:(NSString *)string error:(NSError **)error;
3131

3232
#pragma mark --- Elements by name ---
3333

README.markdown

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,26 @@ KissXML is a mature library used in thousands of products. It's also used in oth
1919

2020
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.
2121

22+
### Getting Started
23+
24+
The minimum deployment target is now iOS 8.0 / macOS 10.8 / tvOS 9.0 / watchOS 2.0.
25+
26+
The easiest way to install `KissXML` is using CocoaPods.
27+
28+
```ruby
29+
use_frameworks!
30+
pod 'KissXML'
31+
```
32+
33+
After `pod install` open your `.xcworkspace` and import:
34+
35+
```
36+
import KissXML // swift
37+
@import KissXML; //objective-c
38+
```
39+
40+
### Learn More
41+
2242
**[Get started using KissXML](https://github.com/robbiehanson/KissXML/wiki/GettingStarted)**<br/>
2343
**[Learn more about KissXML](https://github.com/robbiehanson/KissXML/wiki)**<br/>
2444

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

3151
## Changelog
3252

53+
* 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.
3354
* 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.
3455
* 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.
3556
* 5.0.1 - Jan 21 2016 - Run tests on iOS and Mac targets.

0 commit comments

Comments
 (0)