Fresh Beginning
  • Home
  • Portfolio
  • My Clothing Shop
  • Etsy Clothing Store
  • Buy Me A Coffee
  • Patreon
  • Speaking
  • Reading
  • About Me
  • Contact Me
Subscribe

Reactive Cocoa

A collection of 4 posts
iOS

Testing RACCommand in MVVM architecture

So other day I wrote a demo for MVVM with ReactiveCocoa. Creating MVVM project inherently implies writing unit tests, so I was writing few. While doing so I ran into small problem trying to execute RACCommand manually. To give you an idea, look at the following code. I am attaching
Oct 30, 2016 2 min read
Swift

Using Dynamic keyword with Swift and ReactiveCocoa 2.0

We all know the importance of using work dynamic in Objective-C. I am sure all of you must have used this keyword while working with Core Data. Stack Overflow answer summarizes it well that you will provide the implementation or getter/setter for property at runtime. If you are a
Oct 16, 2016 1 min read
Thinking MVVM way with Objective-C
Objective-C

Thinking MVVM way with Objective-C

Today I am going to write about one of my most favorite iOS patterns lately. MVVM (Model-View-ViewModel). They say MVC has been in iOS realm for quite a bit. However, if you ask me, MVVM is going to be a big. Advantage being, you can create viewModel once and then
Jul 10, 2016 4 min read
POSTing parameters to PHP from an iOS app
iOS

POSTing parameters to PHP from an iOS app

Recently I ran into an interesting problem on how to POST parameters from an iOS app (I was using AFNetworking for communications) to PHP. Looks like it's quite straightforward for GET requests such that you can easily retrieve parameters with $_GET['parameter_name']. But for POST it's little complicated. Here's
Oct 10, 2015 1 min read
Fresh Beginning © 2025
Powered by Ghost