![ios pod class namespace ios pod class namespace](https://www.manageengine.com/products/applications_manager/images/amazon-eks-service-map.png)
![ios pod class namespace ios pod class namespace](https://docs.unity3d.com/uploads/Main/class-PlayerSettingsiOS.png)
Drag the delete Button to the DemoTableViewCell.h as follow to be used later.Set the constraint of y axis of the UIButton by dragging the element to top of space and click Top Space to the container.Set the constraint of x axis of the UIButton by dragging the element to right of space and choose Trailing Space to container.Then Drag in a UIButton and named it "Delete".Open the DemoTableViewCell.xib file and drag a UIButton to the xib file like below (We don't need to drag a UILabel because we'll use textLabel built-in from the UITableViewCell).Give the name and don't forget to check the Also create XIB file.UITableViewCell is the cell representing each row in a tableview. The name property will represent name of each task. #import Task : NSString NSString taskId property will represent id of each task. In this case, we give the name the model class TaskĪfter the above steps done, create these 2 properties in the Task.h file by write the following code. Point your cursor to the model folder and choose New File.For neat folder structure i recommend create a model group folder first by clicking AlertDemoApp folder first and Choose New group option.
![ios pod class namespace ios pod class namespace](https://insanelab.com/wp-content/uploads/2019/02/2installpod.png)
We'll make our class named Task to manipulate data with our tasks later. Before we go further, we need to make our model first. Model is just like a table representative in a database. Once finished, open the xcworkspace to get started with the Realm.
Ios pod class namespace install#
Open up your terminal, change the directory to the project and install it using pod install command.Open up the Podfile and add pod 'Realm' to the app target and pod 'Realm/Headers' to the test target.