NotesWhat is

Notes brand slogan

Notes -

// ViewController.m
// _UITableViewDeleting
// Created by STU 26 on 3/6/17.
// Copyright (c) 2017 STU 26. All rights reserved.

#import "ViewController.h"

static NSString *CellIdentifier=@"MyCells";

@interface ViewController ()<UITableViewDataSource,UITableViewDelegate>
@property (nonatomic,strong) UITableView *myTableView;

@property (nonatomic,strong) NSMutableArray *meyveler;


@implementation ViewController

- (void)viewDidLoad {
[super viewDidLoad];
self.myTableView=[[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];

self.meyveler=[[NSMutableArray alloc] initWithObjects:@"Elma",@"Armut",@"Portakal",@"Şeftali",@"Karpuz",@"Kayısı", nil ];

[self.myTableView registerClass:[UITableViewCell class] forCellReuseIdentifier:CellIdentifier];

[self.view addSubview:self.myTableView];

-(NSInteger) numberOfSectionsInTableView:(UITableView *)tableView{
return 1;

-(NSInteger) tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
return [self.meyveler count];

-(UITableViewCell *) tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
UITableViewCell *cell=[tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];

cell.textLabel.text=[NSString stringWithFormat:@"%@",self.meyveler[(long)indexPath.row]];

return cell;

-(UITableViewCellEditingStyle) tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath{
return UITableViewCellEditingStyleDelete;

-(void) setEditing:(BOOL)editing animated:(BOOL)animated{
[super setEditing:editing animated:animated];
[self.myTableView setEditing:editing animated:animated];

-(void) tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath{
if (editingStyle==UITableViewCellEditingStyleDelete) {

[self.meyveler removeObjectAtIndex:indexPath.row];

[tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationLeft];

-(UILabel *) newLabelWithTitle:(NSString *) paramTitle{
UILabel *label=[[UILabel alloc] initWithFrame:CGRectZero];
label.backgroundColor=[UIColor clearColor];
[label sizeToFit];
return label;

- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.

what is is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, is designed for you. To date, over 8,000,000,000 notes created and continuing...


  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: doesn’t require installation. Just write and share note!

Short:’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: )

Free: works for 12 years and has been free since the day it was started.

You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;

Email: [email protected]




Regards; Team

Shortened Note Link
Looding Image
Long File

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.