Skip to content

danielgindi/DGSpreadSheetExport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DGSpreadSheetExport

CSV or XMLSS (XML Spreadsheet) generation library for iOS / ObjC

General usage flow is as follows:

  1. send beginFile to start
  2. for each worksheet, send newWorksheetNamed: 1. for each expected column, send addColumn or addColumnWithWidthOf:. This is a must for XML as we need to know the number of columns when writing the header of the file. 2. for each row, send beginRow:...
    1. for each cell, send setCell...Value...
  3. send endFile

Optionally you can style you spreadsheet, but only in XML of course:

  • send addStyle... to generate styles that you can use later on rows and cells. for each style you have to save the returned index to use later.
  • you have to call all addStyle...s before beginFile

This was originally in my other repository https://github.com/danielgindi/drunken-danger-zone/

Me

  • Hi! I am Daniel Cohen Gindi. Or in short- Daniel.
  • danielgindi@gmail.com is my email address.
  • That's all you need to know.

Help

If you like what you see here, and want to support the work being done in this repository, you could:

  • Actually code, and issue pull requests
  • Spread the word

Donate

License

All the code here is under MIT license. Which means you could do virtually anything with the code. I will appreciate it very much if you keep an attribution where appropriate.

The MIT License (MIT)

Copyright (c) 2013 Daniel Cohen Gindi (danielgindi@gmail.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

About

CSV or XMLSS (XML Spreadsheet) generation library for iOS / ObjC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published