Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken headings in Markdown files #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SQL and SQLite database manage on iOS made easy. Create, open, rename and delete

![alt text](https://raw.github.com/AlvaroFranco/AFSQLManager/master/preview.gif "Preview")

##Installation
## Installation

AFSQLManager is available on CocoaPods so you can get it by adding this line to your Podfile:

Expand All @@ -23,15 +23,15 @@ If you don't use CocoaPods, you will have to import these files into your projec

Also, make sure to import ```libsqlite3.dylib``` library on the Frameworks section!

##Usage
## Usage

First of all, make sure that you have imported the main class into the class where you are going to play audio.

#import "AFSQLManager.h"

###Managing the databases files
### Managing the databases files

#####Create a brand new database
##### Create a brand new database

To create a new file, use the method ```-createDatabaseWithName:openImmediately:withStatusBlock:```. Let's say you need to create a database called nyancat.sqlite:

Expand All @@ -46,7 +46,7 @@ To create a new file, use the method ```-createDatabaseWithName:openImmediately:

You can also choose if the database should be opened once it's created.

#####Open and closing an existing database
##### Open and closing an existing database

If you already have your database imported into your project, start using that database is as simple as use ```-openLocalDatabaseWithName:andStatusBlock:```

Expand All @@ -57,14 +57,14 @@ If you already have your database imported into your project, start using that d

To close it, call ```-closeLocalDatabaseWithName:andStatusBlock:```

#####Renaming and deleting
##### Renaming and deleting

To rename and delete your database, we have these two methods:

-renameDatabaseWithName:toName:andStatus:
-deleteDatabaseWithName:andStatus:

###Performing queries
### Performing queries

Queries are performed with the method ```-performQuery:withBlock:```, which is also block-based.

Expand All @@ -77,8 +77,8 @@ For example, if you want to look for all the items inside a table (which query i

The block will be executed on every row, and it will contain an array (```row```) with each column in that row.

##License
## License
AFSQLManager is under MIT license so feel free to use it!

##Author
## Author
Made by Alvaro Franco. If you have any question, feel free to drop me a line at [[email protected]](mailto:[email protected])