{"id":18141544,"url":"https://github.com/skjolber/xswi","last_synced_at":"2025-04-22T13:17:20.099Z","repository":{"id":28729220,"uuid":"32250419","full_name":"skjolber/xswi","owner":"skjolber","description":"The simple, standalone XML Stream Writer for iOS","archived":false,"fork":false,"pushed_at":"2016-09-07T06:13:22.000Z","size":72,"stargazers_count":31,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T15:24:06.411Z","etag":null,"topics":["ios","xml","xmlwriter"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skjolber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-15T07:59:16.000Z","updated_at":"2025-03-19T11:50:20.000Z","dependencies_parsed_at":"2022-09-05T00:11:08.085Z","dependency_job_id":null,"html_url":"https://github.com/skjolber/xswi","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skjolber%2Fxswi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skjolber%2Fxswi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skjolber%2Fxswi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skjolber%2Fxswi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skjolber","download_url":"https://codeload.github.com/skjolber/xswi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246406782,"owners_count":20772006,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ios","xml","xmlwriter"],"created_at":"2024-11-01T17:07:34.156Z","updated_at":"2025-03-31T02:31:47.049Z","avatar_url":"https://github.com/skjolber.png","language":"Objective-C","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=G45FR5K42QGUS'","https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif'"],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/skjolber/xswi.svg)](https://travis-ci.org/skjolber/xswi)\n\n# Overview #\nThe XSWI project hosts a **simple, standalone XML stream writer for iOS** implemented in Objective-C. \u003cbr /\u003e\nAs such, it can be used for iPhone, iPad and iPod apps.\n\n## Background ##\nThe project is inspired by the [kXML](http://kxml.sourceforge.net/) and [StAX](http://en.wikipedia.org/wiki/StAX) serializers from the Java world.\n\n## Features ##\nThe most important features are\n  * Well-formed XML output\n  * Simple setup and usage\n  * Namespace support\n  * Low memory footprint\n\n## Usage ##\nUsage is straightforward:\n```\n// allocate serializer\nXMLWriter* xmlWriter = [[XMLWriter alloc]init];\n\n// start writing XML elements\n[xmlWriter writeStartElement:@\"Root\"];\n[xmlWriter writeCharacters:@\"Text content for root element\"];\n[xmlWriter writeEndElement];\n\n// get the resulting XML string\nNSString* xml = [xmlWriter toString];\n```\n\nThis produces the following XML string:\n\n```\n\u003cRoot\u003eText content for root element\u003c/Root\u003e\n```\n\nHead over to the [wiki](https://github.com/skjolber/xswi/tree/wiki) for a better [introduction](https://github.com/skjolber/xswi/blob/wiki/Introduction.md) and [examples](https://github.com/skjolber/xswi/blob/wiki/Examples.md).\n\nXML beginners are encouraged to see if this project is  [something for them](https://github.com/skjolber/xswi/blob/wiki/Relevance.md).\n\n## Source code ##\nDownload ([XMLWriter.h](https://github.com/skjolber/xswi/blob/master/xswi/XMLWriter.h) and  [XMLWriter.m](https://github.com/skjolber/xswi/blob/master/xswi/XMLWriter.m)), or run\n\n```\ngit clone https://github.com/skjolber/xswi.git\n```\n\nNo frameworks beyond the Foundation framework are necessary.\n## License ##\nThe project is available under the [MIT](http://www.opensource.org/licenses/mit-license.php) open source license. In a nuthsell, this means this project is \u003cb\u003efree to use in proprietary (also commercial) software \u003c/b\u003e without opening up any of your own code or contributing derivate works.\nMore details in the [wiki](https://github.com/skjolber/xswi/blob/wiki/License.md).\n\n## News ##\n18th May 2016: Null check patch by Martin Vignali.\u003cbr\u003e\n30th December 2015: Emoji support, Travis build and project update by \u003ca href=\"https://github.com/tsparber\"\u003etsparber\u003c/a\u003e\u003cbr\u003e\n15th March 2015: Project migrated from Google Code. Final stats: Approximately 3500 downloads.\u003cbr\u003e\n30th September 2014: ARC is now supported. \u003cbr\u003e\n\n\u003ch2\u003eHistory\u003c/h2\u003e\n\u003cb\u003eMay 18th 2016:\u003c/b\u003e Version 1.06 released.\u003cbr\u003e\n\u003cb\u003eSept 30th 2014:\u003c/b\u003e Version 1.05 released with fix for \u003ca href='https://github.com/skjolber/xswi/issues/7'\u003eissue 7\u003c/a\u003e (ARC).\u003cbr\u003e\n\u003cb\u003eAug 29th 2011:\u003c/b\u003e Version 1.04 released with fix for \u003ca href='https://github.com/skjolber/xswi/issues/5'\u003eissue 5\u003c/a\u003e.\u003cbr\u003e\n\u003cb\u003eMay 12th 2011:\u003c/b\u003e Version 1.03.1 released with code cleanup - no functional changes.\u003cbr\u003e\n\u003cb\u003eMarch 20th 2011:\u003c/b\u003e Version 1.03 released with fix for \u003ca href='https://github.com/skjolber/xswi/issues/2'\u003eissue 2\u003c/a\u003e.\u003cbr\u003e\n\u003cb\u003eDecember 25th 2010:\u003c/b\u003e Version 1.02 released with fix for \u003ca href='https://github.com/skjolber/xswi/issues/1'\u003eissue 1\u003c/a\u003e.\u003cbr\u003e\n\u003cb\u003eNovember 19th 2010:\u003c/b\u003e Version 1.01 released.\u003cbr\u003e\n\u003cb\u003eOctober 19th 2010:\u003c/b\u003e First version released!\u003cbr\u003e\n\u003cbr\u003e\n\u003ch1\u003eNeed help?\u003c/h1\u003e\nIf you need professional help with a project, get in touch.\u003cbr\u003e\n\u003cbr\u003e\n\u003ch1\u003eDonate\u003c/h1\u003e\nChip in to add new features or test cases - divert time from paid work.\u003cbr\u003e\n\u003cbr\u003e\n\u003ca href='https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=G45FR5K42QGUS'\u003e\u003cimg src='https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif' /\u003e\u003c/a\u003e\n\n\u003cblockquote\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskjolber%2Fxswi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskjolber%2Fxswi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskjolber%2Fxswi/lists"}