Groups | Search | Server Info | Login | Register


Groups > comp.lang.objective-c > #290

Add a method for "double space for period" shortcut

Newsgroups comp.lang.objective-c
Date 2018-07-30 12:49 -0700
Message-ID <7e45733b-9eb4-4d94-bb92-129424944546@googlegroups.com> (permalink)
Subject Add a method for "double space for period" shortcut
From mrinmay235@gmail.com

Show all headers | View raw


Hello;

how do I add a method for "double space for period" shortcut i.e. https://www.wikihow.com/Enable-the-Double-Tap-Period-Shortcut-on-an-iPhone

It is already enabled and shows on typing in the entry bar but does not reach the recipient in my texting app.

Sample method-

- (void) sendBackSpaceCommand:(NSString *)userID tag:(NSString *)tag backspaceCount:(NSInteger)backspaceCount{

    Commands * command = [[Commands alloc] init];

    command.action = @"backspace";

    command.value = [NSString stringWithFormat:@"%ld", (long)backspaceCount];

    command.tag = [tag integerValue];

    command.senderID = self.myUserID;

    [self sendCommand:command];

}

Where do I add it; models, controllers or the library - any suggestions?

Back to comp.lang.objective-c | Previous | Next | Find similar


Thread

Add a method for "double space for period" shortcut mrinmay235@gmail.com - 2018-07-30 12:49 -0700

csiph-web