diff --git a/src/content/projects/ios-base.md b/src/content/projects/ios-base.md
index c114f77..4d2210a 100644
--- a/src/content/projects/ios-base.md
+++ b/src/content/projects/ios-base.md
@@ -10,14 +10,13 @@ tags:
- template
- swift
- swiftui
-description:
- iOS-base aims to provide developers with an easy-to-use, and easy-to-understand template that can be molded into your needs or used as a guide for building your application.
+description: iOS-base aims to provide developers with an easy-to-use, and easy-to-understand template that can be molded into your needs or used as a guide for building your application.
---
-
+
Let's face it, when you are going to start a new iOS project it would be nice if you could have some boilerplate code ready for you to work with. Something that is tested, has necessary features, and is organized in a readable, and concise manner. iOS-base specifically aims to provide developers with an easy-to-use, and easy-to-understand template that can be molded into your needs or used as a guide for building your application.
This template offers navigation, file storage, notifications, local persistence, and data handling including mock and network objects, and even includes tests and test examples. From here, the world is your oyster, and you can move forward to build out a fantastic, testable iOS application.
-### [Visit the Github Repo](https://github.com/0xOpenBytes/ios-base)
\ No newline at end of file
+### [Visit the Github Repo](https://github.com/0xOpenBytes/ios-base)
diff --git a/src/content/projects/t.md b/src/content/projects/t.md
index 8c66f44..e054923 100644
--- a/src/content/projects/t.md
+++ b/src/content/projects/t.md
@@ -10,12 +10,10 @@ tags:
- testing
- swift
- swiftui
-description:
- t is a simple testing framework using closures and errors. You have the ability to create a suite that has multiple steps, expectations, and asserts. Expectations can be used to expect one or multiple assertions.
+description: t is a simple testing framework using closures and errors. You have the ability to create a suite that has multiple steps, expectations, and asserts. Expectations can be used to expect one or multiple assertions.
---
-
-
+
## What is `t`?
@@ -28,6 +26,7 @@ description:
## Examples
### t.suite
+
```swift
t.suite {
// Add an expectation that asserting true is true and that 2 is equal to 2
@@ -35,27 +34,27 @@ t.suite {
try t.assert(true)
try t.assert(2, isEqualTo: 2)
}
-
+
// Add an assertion that asserting false is not true
try t.assert(notTrue: false)
-
+
// Add an assertion that "Hello" is not equal to "World"
try t.assert("Hello", isNotEqualTo: "World")
-
+
// Log a message
t.log("📣 Test Log Message")
-
+
// Log a t.error
t.log(error: t.error(description: "Mock Error"))
-
+
// Log any error
struct SomeError: Error { }
t.log(error: SomeError())
-
+
// Add an assertion to check if a value is nil
let someValue: String? = nil
try t.assert(isNil: someValue)
-
+
// Add an assertion to check if a value is not nil
let someOtherValue: String? = "💠"
try t.assert(isNotNil: someOtherValue)
@@ -63,6 +62,7 @@ t.suite {
```
### t.expect
+
```swift
try t.expect {
let someValue: String? = "Hello"
@@ -71,11 +71,13 @@ try t.expect {
```
### t.assert
+
```swift
try t.assert("Hello", isEqualTo: "World")
```
### t.log
+
```swift
t.log("📣 Test Log Message")
```
@@ -83,6 +85,7 @@ t.log("📣 Test Log Message")
### XCTest
#### Assert suite is true
+
```swift
XCTAssert(
t.suite {
@@ -92,6 +95,7 @@ XCTAssert(
```
#### Assert expectation is true
+
```swift
XCTAssertNoThrow(
try t.expect("true is true and that 2 is equal to 2") {
@@ -102,10 +106,11 @@ XCTAssertNoThrow(
```
#### Assert is false
+
```swift
XCTAssertThrowsError(
try t.assert(false)
)
```
-### [Visit the Github Repo](https://github.com/0xOpenBytes/ios-base)
\ No newline at end of file
+### [Visit the Github Repo](https://github.com/0xOpenBytes/ios-base)