Uploaded September 2012 | Updated September 2026, 2 weeks ago
For more videos on technology, visit Techytube.com
By Sandeep@Techytube
This video introduces the principle of Network ports in SonicWall and how to configure sonicwall's network interfaces. These network interfaces can be configured for LAN, WAN, DMZ, and WLAN etc. depending on your requirement. You can also configure the interfaces for different modes in SonicWall like Layer2 bridge mode, wire mode and tap mode etc. This video will demonstrate you how to configure interfaces to manage, secure and control your LAN traffic as well as WAN traffic using this smart UTM device.
This simple video help you get started in configuring SonicWall network interfaces. We will cover many more advances security policies such as filtering based on network location, interface etc. in future videos.
For more videos on technology, visit Techytube.com
By Sandeep@Techytube
This video introduces the principle of Network ports in SonicWall and how to configure sonicwall's network interfaces. These network interfaces can be configured for LAN, WAN, DMZ, and WLAN etc. depending on your requirement. You can also configure the interfaces for different modes in SonicWall like Layer2 bridge mode, wire mode and tap mode etc. This video will demonstrate you how to configure interfaces to manage, secure and control your LAN traffic as well as WAN traffic using this smart UTM device.
This simple video help you get started in configuring SonicWall network interfaces. We will cover many more advances security policies such as filtering based on network location, interface etc. in future videos.








![Reading and writing to files in Objective-C
Subscribe to our channel here for notifications on new video trainings. For more videos on technology, visit our website at http://www.techytube.com.
By pavel@techytube, for more from this author visit:
http://www.techytube.com/author/pavel
In Objective-C we can easily read and write text files by using the NSString class methods, and the way we do that is as follows:
NSString *fileContent = [NSString stringWithContentsOfURL:url encoding:NSUTF8StringEncoding error:nil];
where url is the location of our actual file.
NSUTF8StringEncoding parameter is an Enum values specified by the system and it is widely used for .txt files.
To write strings/text to files we use the following syntax:
[newFileContent writeToURL:
url atomically:YES encoding:NSUTF8StringEncoding error:nil];
where newFileContent is an object of NSString class, atomically:YES means that the system will first create a temporary file, and if everything executes successfully, it will rename that to the file in our url. Reading and writing to files in Objective-C](https://i.ytimg.com/vi/XUHDYwdwX08/mqdefault.jpg)

![Arrays in Objective-C
Subscribe to our channel here for notifications on new video trainings. For more videos on technology, visit our website at http://www.techytube.com.
By pavel@techytube, for more from this author visit:
http://www.techytube.com/author/pavel
As Objective-C is a super-set of C, we can use the C-style of declaring and using arrays.
The syntax for declaring an using an array in this way is:
int firstArray[5] = { 1, 2, 3, 4, 5 };
NSLog(@The first element is: %d, firstArray[0]);
The Objective-C of declaring, initializing and using arrays is as follows:
NSArray *secondArray = [NSArray arrayWithObjects:
[NSNumber numberWithInt:1],
[NSNumber numberWithInt:2],
[NSNumber numberWithInt:3],
[NSNumber numberWithInt:4],
[NSNumber numberWithInt:5],
nil];
NSLog(@The first element is: %d, [secondArray[0] intValue]);
Arrays in Objective-C are zero-index based, that means the first element will have the index zero, but not one.
The last element in an array should always be nil.
In the example above weve made an immutable array. There is also the mutable version, which is represented by the NSMutableArray class.
Arrays in Objective-C may contain elements of different types, that means we can store a NSNumber object, and a NSString object in the same array, for example. Arrays in Objective-C](https://i.ytimg.com/vi/YoXmVg30A-U/mqdefault.jpg)