Skip to main content

Posts

Dump the Auto layout & Constraints!

Developing a unique framework which avoids usage of Auto layout & Constraints. Would be releasing it soon. Happy Coding :)
Recent posts

Simple & Custom Calendar View For iOS Apps

Hi All, How about a custom Calendar Month view, where we can customise every thing as per app requirement. Keeping in mind about the complete customisation, the calendar has been designed for a month of the expected date. That is we can get the Calendar month view for the respective date, using this we can design the calendar for years, It supports the Locale,   Using which we can create our own calendar for a year with customised animations & lot more!!! Have a look at the few lines of code making use of  'CalendarView' . VSCalenderView *calendarView = [[ VSCalenderView alloc ] initCalendarViewForMonthOfDate :[ NSDate date ] withFrame : CGRectMake ( 50 , 50 , 250 , 200 )]; calendarView. calendarLocale  = [ NSLocale   localeWithLocaleIdentifier : @"en_US" ]; [ self . view addSubview :calendarView];     NSMutableArray *array = [ NSMutableArray array ]; for ( int i = 1 ; i < 10 ; i++) {         if (i% ...

XML to NSDictionary

Hi here is the code for all the NSDictionary lovers Use the following code to make XML_Dictionary. Just make the classes from given code & use few steps of code like :  NSDictionary *_dictData= [ XML_Dictionary dictionaryForXMLString :xmlString error :&error]; here we go with, Please give ur Value Feedback // //  XML_Dictionary.h //  XML_Dictionary // //  Created by Vensan on 05/05/12. //  Copyright (c) 2012 __MyCompanyName__. All rights reserved. // #import <Foundation/Foundation.h> @interface XML_Dictionary : NSObject < NSXMLParserDelegate > {     NSMutableDictionary *MainDictionary;     NSMutableArray *dictArray;     BOOL foundString; } @property ( strong ) NSString *stringValue; - ( NSDictionary *)objectWithData:( NSData *)data; + ( NSDictionary *)dictionaryForXMLData:( NSData *)data error:( NSError **)errorPointer; + ( NSDictionary *)dictiona...