Permalink
Browse files

Add message store

Let's only write enough code to fix that compiler error. First, we create a MessageStore type.

Red: Value of type 'MessageStore' has no member 'count'
  • Loading branch information...
CodingItWrong committed Jan 2, 2018
1 parent d3112a5 commit 07ff21d5beb70cb470171405b81639311b9b274d
Showing with 9 additions and 0 deletions.
  1. +4 −0 LearnTDDInCocoaTouch.xcodeproj/project.pbxproj
  2. +5 −0 LearnTDDInCocoaTouch/MessageStore.swift
@@ -13,6 +13,7 @@
031D419A1FFB0D8B00738CDE /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 031D41981FFB0D8B00738CDE /* LaunchScreen.storyboard */; };
031D41B11FFB0F3000738CDE /* CreatingAMessageTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 031D41B01FFB0F3000738CDE /* CreatingAMessageTest.swift */; };
031D41B51FFB0FDC00738CDE /* MessagesViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 031D41B41FFB0FDC00738CDE /* MessagesViewController.swift */; };
031D41B71FFB11F900738CDE /* MessageStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 031D41B61FFB11F900738CDE /* MessageStore.swift */; };
4B32BCF2F40577F8ED96D981 /* EarlGrey.framework in EarlGrey Copy Files */ = {isa = PBXBuildFile; fileRef = ABE0AD732ED68DBB126181AB /* EarlGrey.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
579FB8715C3FAB22FE945D98 /* EarlGrey.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ABE0AD732ED68DBB126181AB /* EarlGrey.framework */; };
7558B69A86CACB1E4542B5A1 /* Pods_LearnTDDInCocoaTouch.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B72CFF61DC9E26B62D5D706C /* Pods_LearnTDDInCocoaTouch.framework */; };
@@ -56,6 +57,7 @@
031D41A61FFB0D8B00738CDE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
031D41B01FFB0F3000738CDE /* CreatingAMessageTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CreatingAMessageTest.swift; sourceTree = "<group>"; };
031D41B41FFB0FDC00738CDE /* MessagesViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessagesViewController.swift; sourceTree = "<group>"; };
031D41B61FFB11F900738CDE /* MessageStore.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessageStore.swift; sourceTree = "<group>"; };
1F125ED073084CD5A75837DD /* Pods-LearnTDDInCocoaTouch.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LearnTDDInCocoaTouch.release.xcconfig"; path = "Pods/Target Support Files/Pods-LearnTDDInCocoaTouch/Pods-LearnTDDInCocoaTouch.release.xcconfig"; sourceTree = "<group>"; };
5BA5D5DB522BFD732C81EB16 /* EarlGrey.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = EarlGrey.swift; sourceTree = "<group>"; };
85A9AE3C4EEE4CA0BB3F364C /* Pods_LearnTDDInCocoaTouchTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LearnTDDInCocoaTouchTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -115,6 +117,7 @@
031D41981FFB0D8B00738CDE /* LaunchScreen.storyboard */,
031D419B1FFB0D8B00738CDE /* Info.plist */,
031D41B41FFB0FDC00738CDE /* MessagesViewController.swift */,
031D41B61FFB11F900738CDE /* MessageStore.swift */,
);
path = LearnTDDInCocoaTouch;
sourceTree = "<group>";
@@ -370,6 +373,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
031D41B71FFB11F900738CDE /* MessageStore.swift in Sources */,
031D41B51FFB0FDC00738CDE /* MessagesViewController.swift in Sources */,
031D41901FFB0D8B00738CDE /* AppDelegate.swift in Sources */,
);
@@ -0,0 +1,5 @@
import Foundation
class MessageStore {
}

0 comments on commit 07ff21d

Please sign in to comment.