Sample Text Data
MockData.h
Header File
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface MockData : NSObject
+(NSString*)poohStory;
+(NSString*)article1;
+(NSString*)article2;
@end
NS_ASSUME_NONNULL_END
MockData.m
Implementation File
#import "MockData.h"
@implementation MockData
+(NSString*)poohStory{
return @"You can imagine Piglet's joy when at last the ship came in sight of him.] In after-years he liked to think that he had been in Very Great Danger during the Terrible Flood, but the only danger he had really been in was the last half-hour of his imprisonment, when Owl, who had just flown up, sat on a branch of his tree to comfort him, and told him a very long story about an aunt who had once laid a seagull's egg by mistake, and the story went on and on, rather like this sentence, until Piglet who was listening out of his window without much hope, went to sleep quietly and naturally, slipping slowly out of the window towards the water until he was only hanging on by his toes, at which moment, luckily, a sudden loud squawk from Owl, which was really part of the story, being what his aunt said, woke the Piglet up and just gave him time to jerk himself back into safety and say, \"How interesting, and did she?\" when — well, you can imagine his joy when at last he saw the good ship, Brain of Pooh (Captain, C. Robin; 1st Mate, P. Bear) coming over the sea to rescue him..";
}
+(NSString*)article1{
return @"As Dorian makes its last gasps while it moves up the North American coast, the National Hurricane Center has its eye on two other storms brewing on either side of the United States.\n \n Neither storm is predicted at this time to reach land, but the hurricane center is monitoring them as they move and develop. Tropical Storm Gabrielle is in the middle of the Atlantic Ocean. \n At 1,125 miles away from the nearest land the Azores -- an archipelago in the mid-Atlantic -- current forecasts from the National Hurricane Center have it moving west toward the United States before making a turn to the northeast, strengthening over open water, then fizzling out.\n No watches or warnings have been extended \n\nFor now, Gabrielle is struggling to develop over the open central Atlantic, with sustained winds midday Saturday at 50 mph, the hurricane center said. \n\n On the Pacific side of the continent sits Tropical Storm Juliette.Juliette is about 1,175 miles midday Saturday from the southern tip of Baja California, the hurricane center said.\n\n No warnings or watches have been issued for Juliette.\n\n The storm has maximum sustained winds of 45 mph, and it is expected to weaken steadily. \n\n \"Juliette is expected to become a post-tropical remnant low Saturday,\" the hurricane center said. You should read this article again. You must read this article again. If I were you, I would read this article again.";
}
+(NSString*)article2{
return @"Before everyone goes all \"Die Hard 2\" and envisions airplanes being directed toward disaster by terrorist master minds, let's please pause to understand reality.\n\nI am referring to the July 17 event at Miami International Airport where it is alleged that an American Airlines 737 was sabotaged by an apparently disgruntled mechanic. The pilots determined there was a problem, discontinued the takeoff and safely returned the airplane to the gate, where it was then taken out of service for repair.\n\nIt appears that the mechanic tampered with an ADM (Air Data Module), which transmits important information, like airspeed, pressure, temperature and more to the cockpit instrument panel. Airliners are designed with redundant systems to act as back-up for failures, so this airplane had more than one ADM. More than likely, the crew either noticed a difference between their airspeed indications immediately or they received a display warning about the failure on their center cockpit display, or both.\n\nKudos to the pilots.\n\nEven if the airplane had become airborne, the pilots would have been able to safely return to the airport because they receive training for just such circumstances. In fact, as part of standard procedure, after accelerating to a speed of 80 knots (92 mph) pilots crosscheck their instrumentation for discrepancies during the takeoff roll.\n\nSo how did this happen? Airplane mechanics are licensed by the Federal Aviation Administration. To maintain their certification, they must undergo a rigorous training-- and recurrent training, as well. Airlines train mechanics for specific airplanes and for specific maintenance specialties. Whenever a mechanic repairs, replaces, or troubleshoots a problem, their signature and license number is recorded in a logbook. That signature is testimony to the airplane's airworthiness. It's a big deal.\n\nFor all my four-plus decades of flying airplanes, professionally and recreationally, I never doubted a mechanic's integrity. No mechanic would knowingly release an airplane for flight if they didn't believe that they could put their own family on board, or so I thought—and still, mostly, believe.Court documents say the mechanic in question here (who was identified using surveillance video ) told investigators that he was upset over a contract dispute between union workers and the airlines, and the dispute had cost him money, according to CNN reporting. He said he tampered with the aircraft so he could get overtime working on the plane.\n\nThis is of course ludicrous. Why a mechanic would deliberately sabotage an airplane and jeopardize not only the people on board, but his own livelihood is beyond my comprehension. Perhaps he believed that the warning systems would indicate a problem before the airplane left the gate.\n\nListen: Do mechanics, like other union employees, get frustrated at airline management because of stalled progress at the negotiation table? Of course. But normally the reaction is to nitpick, or to find mechanical discrepancies that don't affect the airworthiness of the plane, but enable the mechanic to keep the plane on the ground for a time. Repairing an item just prior to departure time creates delays, a circumstance that gets the attention of airline management.\n\nBut the flying public should be aware that mechanics are screened and scrutinized the same as any airline employee. Most folks that reach the airline level of employment have a resume and a proven track record of repairing airplanes. Security issues are rarely a problem. Mechanics are a tight-knit group, working the same shifts together. Unusual behavior doesn't go unnoticed.\n\nThis unfortunate situation is an anomaly. There is no epidemic of terrorist mechanics infiltrating the airlines. For this circumstance, the safeguards worked. The pilots followed their procedures. Airplane warning systems were activated as designed. The culprit was discovered. Bruce Willis did not have to intervene. You can now board your flight.";
}
@end