---
title: "Andrés Portillo (@andresportillo) | Hashnode"
description: "Software Engineer building on Apple platforms. Read the latest articles by Andrés Portillo on Hashnode."
url: "https://hashnode.com/@andresportillo"
---

@andresportillo

# Andrés Portillo

@andresportillo · Joined December 2023

Software Engineer building on Apple platforms

### [Replacing attributed text in UITextView with UndoManager support](https://andresandswift.com/replacing-attributed-text-in-uitextview-with-undomanager-support?utm_source=hashnode&utm_medium=feed)

When working on apps with text editing capabilities, a must have feature is to allow users to undo their changes, UITextViews makes this easier via the undoManager property. Text changes performed with the replaceRange:withText: are automatically reg...

1 min read · [andresandswift.com](https://andresandswift.com/replacing-attributed-text-in-uitextview-with-undomanager-support?utm_source=hashnode&utm_medium=feed)

[Jan 1, 2024](https://hashnode.com/posts/replacing-attributed-text-in-uitextview-with-undomanager-support/65935196e7bbf21a817d267c)

### [Observing CoreData fetch request results from view models in SwiftUI](https://andresandswift.com/observing-coredata-fetch-request-results-from-view-models-in-swiftui?utm_source=hashnode&utm_medium=feed)

CoreData and SwiftData provide property wrappers that allow us to react to data changes (@FetchRequest and @Query respectively) unfortunately, if you want to move away the data handling from the view as it's the case with MVVM, you won't be able to u...

2 min read · [andresandswift.com](https://andresandswift.com/observing-coredata-fetch-request-results-from-view-models-in-swiftui?utm_source=hashnode&utm_medium=feed)

[Dec 29, 2023](https://hashnode.com/posts/observing-coredata-fetch-request-results-from-view-models-in-swiftui/658e9a71f24dafc43d321078)

### [NavigationSplitView and MVVM in SwiftUI](https://andresandswift.com/navigationsplitview-and-mvvm-in-swiftui?utm_source=hashnode&utm_medium=feed)

SwiftUI NavigationSplitView + MVVM

3 min read · [andresandswift.com](https://andresandswift.com/navigationsplitview-and-mvvm-in-swiftui?utm_source=hashnode&utm_medium=feed)

[Dec 28, 2023](https://hashnode.com/posts/navigationsplitview-and-mvvm-in-swiftui/658d509c8e8900bf268d187a)
